From 798de05fc7b756f6a8d0ba8b5f33d94a6bc375fc Mon Sep 17 00:00:00 2001 From: Weinan Li Date: May 19 2010 03:38:38 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..ca34f31 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +forge-parent-5.tgz diff --git a/forge-parent.spec b/forge-parent.spec new file mode 100644 index 0000000..0738108 --- /dev/null +++ b/forge-parent.spec @@ -0,0 +1,74 @@ +Name: forge-parent +Version: 5 +Release: 3%{?dist} +Summary: Sonatype Forge Parent Pom + +Group: Development/Libraries +#Note: The license is confirmed at: +#http://nexus.sonatype.org/mailing-list-dev-archives.html#nabble-ts28522017 +License: ASL 2.0 +#svn export http://svn.sonatype.org/forge/tags/forge-parent-5 forge-parent +URL: http://svn.sonatype.org/forge/tags/forge-parent-5 + +# tar czf forge-parent-5.tgz forge-parent +Source0: forge-parent-5.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +BuildRequires: jpackage-utils +BuildRequires: java +BuildRequires: java-devel + +Requires: jpackage-utils + +%description +Sonatype Forge is an open-source community dedicated to the creation of the +next-generation of development tools and technologies. + +%prep +%setup -q -n %{name} + +%build +#nothing to do for the pom + +%install +rm -rf %{buildroot}/ + +%add_to_maven_depmap org.sonatype.forge forge-parent %{version} JPP forge-parent + +# poms +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml \ + %{buildroot}%{_mavenpomdir}/JPP.%{name}.pom + +%post +%update_maven_depmap + +%postun +%update_maven_depmap + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) + +%{_mavenpomdir}/* +%{_mavendepmapfragdir}/* + +%changelog +* Fri May 14 2010 Weinan Li - 5-3 +- Each package must consistently use macros, use rm instead of all %{_rm} +- Add Requires: jpackage-utils + +* Thu May 13 2010 Weinan Li - 5-2 +- Add the license source note +- Cleanup the svn metadata in source +- Add the full instructions for creating the tar in the comment + +* Wed May 12 2010 Weinan Li - 5-1 +- Initial version + + + diff --git a/import.log b/import.log new file mode 100644 index 0000000..f08f609 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +forge-parent-5-3:HEAD:forge-parent-5-3.src.rpm:1274240164 diff --git a/sources b/sources index e69de29..0512953 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b638dbac217f133bddbf80e836829cc8 forge-parent-5.tgz