From ecb26a2b767dbc7bb8a6ecb1ad7f9cda561b6996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Wed, 24 Feb 2010 20:08:56 +0000 Subject: [PATCH 1/8] Initialize branch F-13 for aduna-commons-text --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From 92b14c4efb3fac98646096604a9738b89d5375a1 Mon Sep 17 00:00:00 2001 From: mef Date: Mon, 1 Mar 2010 14:43:47 +0000 Subject: [PATCH 2/8] Initial import --- .cvsignore | 1 + aduna-commons-text-2.6.0.pom | 61 +++++++++++++++ aduna-commons-text.spec | 143 +++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 5 files changed, 207 insertions(+) create mode 100644 aduna-commons-text-2.6.0.pom create mode 100644 aduna-commons-text.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..f83eabf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +aduna-commons-text-2.6.0-sources.jar diff --git a/aduna-commons-text-2.6.0.pom b/aduna-commons-text-2.6.0.pom new file mode 100644 index 0000000..ed52377 --- /dev/null +++ b/aduna-commons-text-2.6.0.pom @@ -0,0 +1,61 @@ + + + 4.0.0 + + + info.aduna.commons + aduna-commons + 16 + ../../pom.xml + + + aduna-commons-text + 2.6.0 + + Aduna Commons: Text + Manipulate/transform/parse text in various ways. + + + Aduna + http://www.aduna-software.com/ + + + + + Aduna BSD license + http://repo.aduna-software.org/legal/aduna-bsd.txt + repo + A BSD-style OSS license + + + + + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + org.apache.felix + maven-bundle-plugin + true + + + info.aduna.text + + + + + + + + scm:svn:http://repo.aduna-software.org/svn/info.aduna/commons/text/tags/2.6.0 + scm:svn:https://repo.aduna-software.org/svn/info.aduna/commons/text/tags/2.6.0 + http://repo.aduna-software.org/websvn/listing.php?repname=aduna&path=/info.aduna/commons/text/branches/2.6?repname=aduna&path=/info.aduna/commons/text/tags/2.6.0?repname=aduna&path=/info.aduna/commons/text/branches/2.6?repname=aduna&path=/info.aduna/commons/text/trunk/ + + + diff --git a/aduna-commons-text.spec b/aduna-commons-text.spec new file mode 100644 index 0000000..9202c33 --- /dev/null +++ b/aduna-commons-text.spec @@ -0,0 +1,143 @@ +%global with_gcj %{!?_without_gcj:1}%{?_without_gcj:0} + +Name: aduna-commons-text +Version: 2.6.0 +Release: 3%{?dist} +Summary: Manipulate/transform/parse text in various ways + +Group: Development/Libraries +License: BSD +URL: http://www.aduna-software.com/ +Source0: http://repo.aduna-software.org/maven2/releases/info/aduna/commons/%{name}/%{version}/%{name}-%{version}-sources.jar +Source1: http://repo.aduna-software.org/maven2/releases/info/aduna/commons/%{name}/%{version}/%{name}-%{version}.pom + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: jpackage-utils >= 0:1.7.5 +BuildRequires: aduna-commons-pom +BuildRequires: maven2-plugin-install +BuildRequires: maven2-plugin-jar +BuildRequires: maven2-plugin-resources +BuildRequires: maven-doxia-sitetools +BuildRequires: maven-surefire-maven-plugin + +Requires: aduna-commons-pom + +Requires: jpackage-utils >= 0:1.7.5 +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 + +%if %{with_gcj} +BuildRequires: java-gcj-compat-devel >= 1.0.31 +Requires(post): java-gcj-compat >= 1.0.31 +Requires(postun): java-gcj-compat >= 1.0.31 +%else +BuildArch: noarch +%endif + + +%description +%{summary}. + + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation +Requires: jpackage-utils >= 0:1.7.5 +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description javadoc +%{summary}. + + +%prep +%setup -c -q +cp %SOURCE1 ./pom.xml +mkdir -p src/main/java +mv info src/main/java + +find -name '*.class' -exec rm -f '{}' \; +find -name '*.jar' -exec rm -f '{}' \; + +%build +export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository +mkdir -p $MAVEN_REPO_LOCAL + +mvn-jpp \ + -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ + install javadoc:javadoc + + +%install +rm -rf $RPM_BUILD_ROOT + +mkdir -p $RPM_BUILD_ROOT%{_javadir} + +install -m 644 target/%{name}-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar +(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) + +mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +(cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name}) + +install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} +install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom + +%if %{with_gcj} +%{_bindir}/aot-compile-rpm +%endif + +%add_to_maven_depmap info.aduna.commons %{name} %{version} JPP %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_maven_depmap +%if %{with_gcj} + if [ -x %{_bindir}/rebuild-gcj-db ] + then + %{_bindir}/rebuild-gcj-db + fi +%endif + +%postun +%update_maven_depmap +%if %{with_gcj} + if [ -x %{_bindir}/rebuild-gcj-db ] + then + %{_bindir}/rebuild-gcj-db + fi +%endif + +%files +%defattr(-,root,root,-) +%{_javadir}/*.jar +%{_mavendepmapfragdir}/* +%{_mavenpomdir}/*.pom +%if %{with_gcj} +%attr(-,root,root) %{_libdir}/gcj/%{name} +%endif + +%files javadoc +%defattr(-,root,root,-) +%{_javadocdir}/%{name}-%{version} +%{_javadocdir}/%{name} + + +%changelog +* Tue Feb 23 2010 Mary Ellen Foster 2.6.0-3 +- Remove BuildRequirements that are pulled in by aduna-commons POM +- Require the main package in the javadoc + +* Thu Feb 11 2010 Mary Ellen Foster 2.6.0-2 +- Add BR maven-doxia-sitetools +- Fix changelog dates + +* Wed Feb 10 2010 Mary Ellen Foster 2.6.0-1 +- Update to 2.6.0 in preparation for review + +* Tue Nov 17 2009 Mary Ellen Foster 2.4.0-1 +- Initial package diff --git a/import.log b/import.log new file mode 100644 index 0000000..acdb360 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +aduna-commons-text-2_6_0-3_fc12:HEAD:aduna-commons-text-2.6.0-3.fc12.src.rpm:1267454585 diff --git a/sources b/sources index e69de29..5ab03f5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cdd124d4ee61875767d57df937b37d4b aduna-commons-text-2.6.0-sources.jar From 077c949d16c72b7c9ef38b9f8cfeab4c83c4147e Mon Sep 17 00:00:00 2001 From: mef Date: Mon, 1 Mar 2010 15:44:52 +0000 Subject: [PATCH 3/8] Import to F13 --- sources | 1 + 1 file changed, 1 insertion(+) diff --git a/sources b/sources index e69de29..5ab03f5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cdd124d4ee61875767d57df937b37d4b aduna-commons-text-2.6.0-sources.jar From 58d14e44281604f419e87fafdb8281bac2fd7ed3 Mon Sep 17 00:00:00 2001 From: mef Date: Mon, 1 Mar 2010 15:46:15 +0000 Subject: [PATCH 4/8] Add the files too :) --- aduna-commons-text-2.6.0.pom | 61 +++++++++++++++ aduna-commons-text.spec | 143 +++++++++++++++++++++++++++++++++++ 2 files changed, 204 insertions(+) create mode 100644 aduna-commons-text-2.6.0.pom create mode 100644 aduna-commons-text.spec diff --git a/aduna-commons-text-2.6.0.pom b/aduna-commons-text-2.6.0.pom new file mode 100644 index 0000000..ed52377 --- /dev/null +++ b/aduna-commons-text-2.6.0.pom @@ -0,0 +1,61 @@ + + + 4.0.0 + + + info.aduna.commons + aduna-commons + 16 + ../../pom.xml + + + aduna-commons-text + 2.6.0 + + Aduna Commons: Text + Manipulate/transform/parse text in various ways. + + + Aduna + http://www.aduna-software.com/ + + + + + Aduna BSD license + http://repo.aduna-software.org/legal/aduna-bsd.txt + repo + A BSD-style OSS license + + + + + + + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + org.apache.felix + maven-bundle-plugin + true + + + info.aduna.text + + + + + + + + scm:svn:http://repo.aduna-software.org/svn/info.aduna/commons/text/tags/2.6.0 + scm:svn:https://repo.aduna-software.org/svn/info.aduna/commons/text/tags/2.6.0 + http://repo.aduna-software.org/websvn/listing.php?repname=aduna&path=/info.aduna/commons/text/branches/2.6?repname=aduna&path=/info.aduna/commons/text/tags/2.6.0?repname=aduna&path=/info.aduna/commons/text/branches/2.6?repname=aduna&path=/info.aduna/commons/text/trunk/ + + + diff --git a/aduna-commons-text.spec b/aduna-commons-text.spec new file mode 100644 index 0000000..9202c33 --- /dev/null +++ b/aduna-commons-text.spec @@ -0,0 +1,143 @@ +%global with_gcj %{!?_without_gcj:1}%{?_without_gcj:0} + +Name: aduna-commons-text +Version: 2.6.0 +Release: 3%{?dist} +Summary: Manipulate/transform/parse text in various ways + +Group: Development/Libraries +License: BSD +URL: http://www.aduna-software.com/ +Source0: http://repo.aduna-software.org/maven2/releases/info/aduna/commons/%{name}/%{version}/%{name}-%{version}-sources.jar +Source1: http://repo.aduna-software.org/maven2/releases/info/aduna/commons/%{name}/%{version}/%{name}-%{version}.pom + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: jpackage-utils >= 0:1.7.5 +BuildRequires: aduna-commons-pom +BuildRequires: maven2-plugin-install +BuildRequires: maven2-plugin-jar +BuildRequires: maven2-plugin-resources +BuildRequires: maven-doxia-sitetools +BuildRequires: maven-surefire-maven-plugin + +Requires: aduna-commons-pom + +Requires: jpackage-utils >= 0:1.7.5 +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 + +%if %{with_gcj} +BuildRequires: java-gcj-compat-devel >= 1.0.31 +Requires(post): java-gcj-compat >= 1.0.31 +Requires(postun): java-gcj-compat >= 1.0.31 +%else +BuildArch: noarch +%endif + + +%description +%{summary}. + + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation +Requires: jpackage-utils >= 0:1.7.5 +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description javadoc +%{summary}. + + +%prep +%setup -c -q +cp %SOURCE1 ./pom.xml +mkdir -p src/main/java +mv info src/main/java + +find -name '*.class' -exec rm -f '{}' \; +find -name '*.jar' -exec rm -f '{}' \; + +%build +export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository +mkdir -p $MAVEN_REPO_LOCAL + +mvn-jpp \ + -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ + install javadoc:javadoc + + +%install +rm -rf $RPM_BUILD_ROOT + +mkdir -p $RPM_BUILD_ROOT%{_javadir} + +install -m 644 target/%{name}-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar +(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) + +mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +(cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name}) + +install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} +install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom + +%if %{with_gcj} +%{_bindir}/aot-compile-rpm +%endif + +%add_to_maven_depmap info.aduna.commons %{name} %{version} JPP %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_maven_depmap +%if %{with_gcj} + if [ -x %{_bindir}/rebuild-gcj-db ] + then + %{_bindir}/rebuild-gcj-db + fi +%endif + +%postun +%update_maven_depmap +%if %{with_gcj} + if [ -x %{_bindir}/rebuild-gcj-db ] + then + %{_bindir}/rebuild-gcj-db + fi +%endif + +%files +%defattr(-,root,root,-) +%{_javadir}/*.jar +%{_mavendepmapfragdir}/* +%{_mavenpomdir}/*.pom +%if %{with_gcj} +%attr(-,root,root) %{_libdir}/gcj/%{name} +%endif + +%files javadoc +%defattr(-,root,root,-) +%{_javadocdir}/%{name}-%{version} +%{_javadocdir}/%{name} + + +%changelog +* Tue Feb 23 2010 Mary Ellen Foster 2.6.0-3 +- Remove BuildRequirements that are pulled in by aduna-commons POM +- Require the main package in the javadoc + +* Thu Feb 11 2010 Mary Ellen Foster 2.6.0-2 +- Add BR maven-doxia-sitetools +- Fix changelog dates + +* Wed Feb 10 2010 Mary Ellen Foster 2.6.0-1 +- Update to 2.6.0 in preparation for review + +* Tue Nov 17 2009 Mary Ellen Foster 2.4.0-1 +- Initial package From f09b1c2aef93645d222dec4249cc144d8bbfb54b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 09:36:52 +0000 Subject: [PATCH 5/8] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 18420b5..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: aduna-commons-text -# $Id$ -NAME := aduna-commons-text -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13 From a475733c323ed7dbf4db4ab16111e616c0b64dff Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 09:36:53 +0000 Subject: [PATCH 6/8] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 18420b5..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: aduna-commons-text -# $Id$ -NAME := aduna-commons-text -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index acdb360..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -aduna-commons-text-2_6_0-3_fc12:HEAD:aduna-commons-text-2.6.0-3.fc12.src.rpm:1267454585 From 0b070a6d974a7c29e8043e5fbce781b5cf080131 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 7 Feb 2011 18:30:13 -0600 Subject: [PATCH 7/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- aduna-commons-text.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aduna-commons-text.spec b/aduna-commons-text.spec index 9202c33..45b41b3 100644 --- a/aduna-commons-text.spec +++ b/aduna-commons-text.spec @@ -2,7 +2,7 @@ Name: aduna-commons-text Version: 2.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Manipulate/transform/parse text in various ways Group: Development/Libraries @@ -128,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 07 2011 Fedora Release Engineering - 2.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Tue Feb 23 2010 Mary Ellen Foster 2.6.0-3 - Remove BuildRequirements that are pulled in by aduna-commons POM - Require the main package in the javadoc From 197bc01081fb145dfbb74431244e8416ab25eaf3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 23 Feb 2011 15:28:56 -0500 Subject: [PATCH 8/8] Retire aduna-commons-text. --- aduna-commons-text-2.6.0.pom | 61 --------------- aduna-commons-text.spec | 146 ----------------------------------- dead.package | 1 + sources | 1 - 4 files changed, 1 insertion(+), 208 deletions(-) delete mode 100644 aduna-commons-text-2.6.0.pom delete mode 100644 aduna-commons-text.spec create mode 100644 dead.package delete mode 100644 sources diff --git a/aduna-commons-text-2.6.0.pom b/aduna-commons-text-2.6.0.pom deleted file mode 100644 index ed52377..0000000 --- a/aduna-commons-text-2.6.0.pom +++ /dev/null @@ -1,61 +0,0 @@ - - - 4.0.0 - - - info.aduna.commons - aduna-commons - 16 - ../../pom.xml - - - aduna-commons-text - 2.6.0 - - Aduna Commons: Text - Manipulate/transform/parse text in various ways. - - - Aduna - http://www.aduna-software.com/ - - - - - Aduna BSD license - http://repo.aduna-software.org/legal/aduna-bsd.txt - repo - A BSD-style OSS license - - - - - - - maven-jar-plugin - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - - - - org.apache.felix - maven-bundle-plugin - true - - - info.aduna.text - - - - - - - - scm:svn:http://repo.aduna-software.org/svn/info.aduna/commons/text/tags/2.6.0 - scm:svn:https://repo.aduna-software.org/svn/info.aduna/commons/text/tags/2.6.0 - http://repo.aduna-software.org/websvn/listing.php?repname=aduna&path=/info.aduna/commons/text/branches/2.6?repname=aduna&path=/info.aduna/commons/text/tags/2.6.0?repname=aduna&path=/info.aduna/commons/text/branches/2.6?repname=aduna&path=/info.aduna/commons/text/trunk/ - - - diff --git a/aduna-commons-text.spec b/aduna-commons-text.spec deleted file mode 100644 index 45b41b3..0000000 --- a/aduna-commons-text.spec +++ /dev/null @@ -1,146 +0,0 @@ -%global with_gcj %{!?_without_gcj:1}%{?_without_gcj:0} - -Name: aduna-commons-text -Version: 2.6.0 -Release: 4%{?dist} -Summary: Manipulate/transform/parse text in various ways - -Group: Development/Libraries -License: BSD -URL: http://www.aduna-software.com/ -Source0: http://repo.aduna-software.org/maven2/releases/info/aduna/commons/%{name}/%{version}/%{name}-%{version}-sources.jar -Source1: http://repo.aduna-software.org/maven2/releases/info/aduna/commons/%{name}/%{version}/%{name}-%{version}.pom - -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) - -BuildRequires: jpackage-utils >= 0:1.7.5 -BuildRequires: aduna-commons-pom -BuildRequires: maven2-plugin-install -BuildRequires: maven2-plugin-jar -BuildRequires: maven2-plugin-resources -BuildRequires: maven-doxia-sitetools -BuildRequires: maven-surefire-maven-plugin - -Requires: aduna-commons-pom - -Requires: jpackage-utils >= 0:1.7.5 -Requires(post): jpackage-utils >= 0:1.7.5 -Requires(postun): jpackage-utils >= 0:1.7.5 - -%if %{with_gcj} -BuildRequires: java-gcj-compat-devel >= 1.0.31 -Requires(post): java-gcj-compat >= 1.0.31 -Requires(postun): java-gcj-compat >= 1.0.31 -%else -BuildArch: noarch -%endif - - -%description -%{summary}. - - -%package javadoc -Summary: Javadoc for %{name} -Group: Documentation -Requires: jpackage-utils >= 0:1.7.5 -Requires: %{name} = %{version}-%{release} -BuildArch: noarch - -%description javadoc -%{summary}. - - -%prep -%setup -c -q -cp %SOURCE1 ./pom.xml -mkdir -p src/main/java -mv info src/main/java - -find -name '*.class' -exec rm -f '{}' \; -find -name '*.jar' -exec rm -f '{}' \; - -%build -export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository -mkdir -p $MAVEN_REPO_LOCAL - -mvn-jpp \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc - - -%install -rm -rf $RPM_BUILD_ROOT - -mkdir -p $RPM_BUILD_ROOT%{_javadir} - -install -m 644 target/%{name}-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar -(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) - -mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -(cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name}) - -install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} -install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom - -%if %{with_gcj} -%{_bindir}/aot-compile-rpm -%endif - -%add_to_maven_depmap info.aduna.commons %{name} %{version} JPP %{name} - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -%update_maven_depmap -%if %{with_gcj} - if [ -x %{_bindir}/rebuild-gcj-db ] - then - %{_bindir}/rebuild-gcj-db - fi -%endif - -%postun -%update_maven_depmap -%if %{with_gcj} - if [ -x %{_bindir}/rebuild-gcj-db ] - then - %{_bindir}/rebuild-gcj-db - fi -%endif - -%files -%defattr(-,root,root,-) -%{_javadir}/*.jar -%{_mavendepmapfragdir}/* -%{_mavenpomdir}/*.pom -%if %{with_gcj} -%attr(-,root,root) %{_libdir}/gcj/%{name} -%endif - -%files javadoc -%defattr(-,root,root,-) -%{_javadocdir}/%{name}-%{version} -%{_javadocdir}/%{name} - - -%changelog -* Mon Feb 07 2011 Fedora Release Engineering - 2.6.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Feb 23 2010 Mary Ellen Foster 2.6.0-3 -- Remove BuildRequirements that are pulled in by aduna-commons POM -- Require the main package in the javadoc - -* Thu Feb 11 2010 Mary Ellen Foster 2.6.0-2 -- Add BR maven-doxia-sitetools -- Fix changelog dates - -* Wed Feb 10 2010 Mary Ellen Foster 2.6.0-1 -- Update to 2.6.0 in preparation for review - -* Tue Nov 17 2009 Mary Ellen Foster 2.4.0-1 -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..de91ae3 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This package was retired due to no active owner on 2011-02-23 diff --git a/sources b/sources deleted file mode 100644 index 5ab03f5..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -cdd124d4ee61875767d57df937b37d4b aduna-commons-text-2.6.0-sources.jar