Projects
Mega:24.03:SP1:Everything
mchange-commons
_service:tar_scm:mchange-commons.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:mchange-commons.spec of Package mchange-commons
Name: mchange-commons Version: 0.2.11 Release: 11 Summary: A collection of general purpose utilities for c3p0 License: LGPLv2 or EPL-1.0 URL: https://github.com/swaldman/mchange-commons-java Source0: https://github.com/swaldman/mchange-commons-java/archive/mchange-commons-java-0.2.11/mchange-commons-0.2.11.tar.gz #Remove test about mchange Patch0: mchange-no-tests.patch BuildRequires: sbt ivy-local maven-local log4j12 slf4j typesafe-config BuildArch: noarch %description General tool, part of c3p0. %package help Summary: API documentation for mchange-commons Provides: %{name}-javadoc = %{version}-%{release} Obsoletes: %{name}-javadoc < %{version}-%{release} %description help The help for mchange-commons to use. %prep %autosetup -n mchange-commons-java-mchange-commons-java-0.2.11 -p1 find -name '*.class' -delete find -name '*.jar' -delete sed -i -e 's/0.13.6/0.13.1/' project/build.properties cp -pr /usr/share/sbt/ivy-local . mkdir -p ./ivy-local/com.typesafe/config/1.2.1/ mkdir -p ./ivy-local/log4j/log4j/1.2.14/ mkdir -p ./ivy-local/org.slf4j/slf4j-api/1.7.5/ pushd ./ivy-local/com.typesafe/config/1.2.1/ touch ivy.xml ln -s /usr/share/java/typesafe-config.jar config-1.2.1.jar echo "<ivy-module version=\"1.0\" xmlns:e=\"http://ant.apache.org/ivy/extra\"><info module=\"config\" organisation=\"com.typesafe\" revision=\"1.2.1\" status=\"release\"> </info><configurations><conf name=\"default\" /><conf name=\"provided\" /><conf name=\"test\" /></configurations><publications><artifact name=\"config\" type=\"jar\" /></publications></ivy-module>" > ivy.xml popd pushd ./ivy-local/log4j/log4j/1.2.14/ touch ivy.xml ln -s /usr/share/java/log4j-1.2.17.jar log4j-1.2.14.jar echo "<ivy-module version=\"1.0\" xmlns:e=\"http://ant.apache.org/ivy/extra\"><info module=\"log4j\" organisation=\"log4j\" revision=\"1.2.14\" status=\"release\"> </info><configurations><conf name=\"default\" /><conf name=\"provided\" /><conf name=\"test\" /></configurations><publications><artifact name=\"log4j\" type=\"jar\" /></publications></ivy-module>" > ivy.xml popd pushd ./ivy-local/org.slf4j/slf4j-api/1.7.5/ touch ivy.xml ln -s /usr/share/java/slf4j/slf4j-api.jar slf4j-api-1.7.5.jar echo "<ivy-module version=\"1.0\" xmlns:e=\"http://ant.apache.org/ivy/extra\"><info module=\"slf4j-api\" organisation=\"org.slf4j\" revision=\"1.7.5\" status=\"release\"> </info><configurations><conf name=\"default\" /><conf name=\"provided\" /><conf name=\"test\" /></configurations><publications><artifact name=\"slf4j-api\" type=\"jar\" /></publications></ivy-module>" > ivy.xml popd %build export SBT_BOOT_DIR=$PWD/boot export SBT_IVY_DIR=$PWD/ivy-local sbt package make-pom doc %mvn_artifact target/mchange-commons-java-%{version}.pom target/mchange-commons-java-%{version}.jar %install %mvn_install -J target/api %files -f .mfiles %license LICENSE* %files help -f .mfiles-javadoc %changelog * Mon May 9 2022 baizhonggui <baizhonggui@h-partners.com> - 0.2.11-11 - modify license identifier * Wed Oct 28 2020 Ge Wang <wangge20@huawei.com> - 0.2.11-10 - remove dependency of python2 * Thu Apr 9 2020 likexin <likexin4@huawei.com> - 0.2.11-9 - delete the stupid copy command * Thu Nov 14 2019 wangye <wangye54@huawei.com> - 0.2.11-8 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2