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 bdb9ff5..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: aduna-root-poms -# $Id$ -NAME := aduna-root-poms -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/aduna-root-pom-13.pom b/aduna-root-pom-13.pom new file mode 100644 index 0000000..0545951 --- /dev/null +++ b/aduna-root-pom-13.pom @@ -0,0 +1,99 @@ + + + 4.0.0 + + + org.aduna-software + aduna-opensource-root-pom + 4 + + + info.aduna + aduna-root-pom + 13 + pom + + Aduna + Aduna Open Source projects + http://www.aduna-software.org/ + + + Aduna + http://www.aduna-software.com/ + + + + + Aduna BSD license + http://repo.aduna-software.org/legal/aduna-bsd.txt + repo + A BSD-style OSS license + + + + + + + + org.slf4j + slf4j-api + 1.5.10 + + + org.slf4j + slf4j-simple + 1.5.10 + provided + + + org.slf4j + jcl-over-slf4j + 1.5.10 + runtime + + + + ch.qos.logback + logback-core + 0.9.18 + + + ch.qos.logback + logback-classic + 0.9.18 + + + + + junit + junit + 4.7 + test + + + + + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.0-beta-9 + + + + + + + scm:svn:http://repo.aduna-software.org/svn/info.aduna/ + scm:svn:https://repo.aduna-software.org/svn/info.aduna/ + http://repo.aduna-software.org/websvn/listing.php?repname=aduna&path=/info.aduna/ + + + diff --git a/aduna-root-poms.spec b/aduna-root-poms.spec new file mode 100644 index 0000000..62c3779 --- /dev/null +++ b/aduna-root-poms.spec @@ -0,0 +1,70 @@ +Name: aduna-root-poms +Version: 13 +Release: 1%{?dist} +Summary: Root POMs for Aduna projects + +Group: Development/Libraries +License: BSD +URL: http://www.aduna-software.org/ +Source0: http://repo.aduna-software.org/maven2/releases/info/aduna/aduna-root-pom/%{version}/aduna-root-pom-%{version}.pom +Source1: http://repo.aduna-software.org/svn/pom.xml +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: jpackage-utils >= 0:1.7.5 +Requires: jpackage-utils >= 0:1.7.5 +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 + +# Require everything that's in the POMs +Requires: slf4j +Requires: logback +Requires: junit + +BuildArch: noarch + +%description +%{summary}. + +%prep +%setup -c -T +cp %SOURCE0 . +cp %SOURCE1 . + +%build +# Nothing to do ... + +%install +rm -rf $RPM_BUILD_ROOT +install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms +install -pm 644 aduna-root-pom-%{version}.pom $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-aduna-root-pom.pom +install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-aduna-opensource-root-pom.pom + +%add_to_maven_depmap info.aduna aduna-root-pom %{version} JPP aduna-root-pom +%add_to_maven_depmap org.aduna-software aduna-opensource-root-pom 3 JPP aduna-opensource-root-pom + +%post +%update_maven_depmap + +%postun +%update_maven_depmap + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%config(noreplace) %{_mavendepmapfragdir}/* +%{_datadir}/maven2/poms/*.pom + +%changelog +* Mon Feb 1 2010 Mary Ellen Foster 13-1 +- Update to version 13 of the root POM which includes the license +- Update to version 4 of the parent POM (license added) + +* Mon Nov 30 2009 Mary Ellen Foster 11-2 +- Add all of the libraries referenced in the POMs to the package requirements +- Fix versioning and use version macro for source filename + +* Fri Nov 20 2009 Mary Ellen Foster 11-1 +- Initial package diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..b8ba197 --- /dev/null +++ b/pom.xml @@ -0,0 +1,81 @@ + + + 4.0.0 + + org.aduna-software + aduna-opensource-root-pom + 4 + pom + + Aduna Open Source root pom + Aduna Open Source root pom + http://www.aduna-software.org/ + + + Aduna + http://www.aduna-software.com/ + + + + + Aduna BSD license + http://repo.aduna-software.org/legal/aduna-bsd.txt + repo + A BSD-style OSS license + + + + + + + true + + + false + + aduna-opensource.releases + Aduna Open Source - Maven releases + http://repo.aduna-software.org/maven2/releases + + + + false + + + true + + aduna-opensource.snapshots + Aduna Open Source - Maven snapshots + http://repo.aduna-software.org/maven2/snapshots + + + + + + aduna-opensource.releases.deploy + Aduna Open Source - Maven releases + scp://repo.aduna-software.org:2222/var/local/hosts/repo.aduna-software.org/maven2/releases + false + + + aduna-opensource.snapshots.deploy + Aduna Open Source - Maven snapshots + scp://repo.aduna-software.org:2222/var/local/hosts/repo.aduna-software.org/maven2/snapshots + false + + + + + http://repo.aduna-software.org/legal/aduna-logo.png + + + + scm:svn:http://repo.aduna-software.org/svn/ + scm:svn:https://repo.aduna-software.org/svn/ + http://repo.aduna-software.org/websvn/ + + +