diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8979f2f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/aopalliance-src.tar.gz diff --git a/.rh-java-common-aopalliance.metadata b/.rh-java-common-aopalliance.metadata new file mode 100644 index 0000000..69dc81b --- /dev/null +++ b/.rh-java-common-aopalliance.metadata @@ -0,0 +1 @@ +afa48c838c5276aab8db628e4e2f4ea161d18a8d SOURCES/aopalliance-src.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/aopalliance-1.0.pom b/SOURCES/aopalliance-1.0.pom new file mode 100644 index 0000000..af3323f --- /dev/null +++ b/SOURCES/aopalliance-1.0.pom @@ -0,0 +1,15 @@ + + 4.0.0 + aopalliance + aopalliance + AOP alliance + 1.0 + AOP Alliance + http://aopalliance.sourceforge.net + + + + Public Domain + + + \ No newline at end of file diff --git a/SOURCES/aopalliance-MANIFEST.MF b/SOURCES/aopalliance-MANIFEST.MF new file mode 100644 index 0000000..33889f9 --- /dev/null +++ b/SOURCES/aopalliance-MANIFEST.MF @@ -0,0 +1,14 @@ +Manifest-Version: 1.0 +Ant-Version: Apache Ant 1.8.4 +Created-By: 1.7.0_05-icedtea-mockbuild_2012_07_09_18_45-b00 (Oracle Co + rporation) +Bundle-ManifestVersion: 2 +Bundle-Name: AOP Alliance +Bundle-SymbolicName: aopalliance +Bundle-Version: 1.0 +Bundle-Vendor: AOP Alliance +Export-Package: org.aopalliance.aop, + org.aopalliance.intercept, + org.aopalliance.reflect, + org.aopalliance.instrument +Eclipse-BuddyPolicy: registered diff --git a/SPECS/aopalliance.spec b/SPECS/aopalliance.spec new file mode 100644 index 0000000..fb549d7 --- /dev/null +++ b/SPECS/aopalliance.spec @@ -0,0 +1,129 @@ +%global pkg_name aopalliance +%{?scl:%scl_package %{pkg_name}} +%{?java_common_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.0 +Release: 8.10%{?dist} +Epoch: 0 +Summary: Java/J2EE AOP standards +License: Public Domain +URL: http://aopalliance.sourceforge.net/ +BuildArch: noarch +# cvs -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance login +# password empty +# cvs -z3 -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance export -r HEAD aopalliance +Source0: aopalliance-src.tar.gz +Source1: http://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom +Source2: %{pkg_name}-MANIFEST.MF + +BuildRequires: %{?scl_prefix}ant + +%description +Aspect-Oriented Programming (AOP) offers a better solution to many +problems than do existing technologies, such as EJB. AOP Alliance +intends to facilitate and standardize the use of AOP to enhance +existing middleware environments (such as J2EE), or development +environements (e.g. Eclipse). The AOP Alliance also aims to ensure +interoperability between Java/J2EE AOP implementations to build a +larger AOP community. + +%package javadoc +Summary: API documentation for %{summary} + +%description javadoc +%{summary}. + +%prep +%setup -q -n %{pkg_name} + +%build +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +export CLASSPATH= +export OPT_JAR_LIST=: +%{ant} -Dbuild.sysclasspath=only jar javadoc + +# Inject OSGi manifest required by Eclipse. +jar umf %{SOURCE2} build/%{pkg_name}.jar +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +install -d -m 755 %{buildroot}%{_javadir} +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -p -m 644 build/%{pkg_name}.jar %{buildroot}%{_javadir}/ +install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{pkg_name}.pom +%add_maven_depmap + +# javadoc +install -dm 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr build/javadoc/* %{buildroot}%{_javadocdir}/%{name} +%{?scl:EOF} + +%files -f .mfiles + +%files javadoc +%{_javadocdir}/%{name} + +%changelog +* Thu Feb 04 2016 Michal Srb - 0:1.0-8.10 +- Changes related to rh-java-common migration + +* Mon Jan 11 2016 Michal Srb - 0:1.0-8.9 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 0:1.0-8.8 +- maven33 rebuild + +* Tue Jan 13 2015 Michael Simacek - 0:1.0-8.7 +- Mass rebuild 2015-01-13 + +* Tue Jan 06 2015 Michael Simacek - 0:1.0-8.6 +- Mass rebuild 2015-01-06 + +* Mon May 26 2014 Mikolaj Izdebski - 0:1.0-8.5 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 0:1.0-8.4 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 0:1.0-8.3 +- Mass rebuild 2014-02-18 + +* Thu Feb 13 2014 Mikolaj Izdebski - 0:1.0-8.2 +- Rebuild to regenerate auto-requires + +* Thu Feb 13 2014 Mikolaj Izdebski - 0:1.0-8.1 +- BuildRequire SCL-ized ant + +* Tue Feb 11 2014 Mikolaj Izdebski - 0:1.0-8.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 01.0-8 +- Mass rebuild 2013-12-27 + +* Fri Jun 28 2013 Mikolaj Izdebski - 0:1.0-7 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Fri Jun 14 2013 Mikolaj Izdebski - 0:1.0-6 +- Drop BR on zip, use jar instead +- Add more verbose description +- Update to current packaging guidelines + +* Mon Feb 25 2013 Gerard Ryan 0:1.0-5 +- Add OSGI manifest + +* Wed Feb 13 2013 Fedora Release Engineering - 0:1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Nov 20 2012 Tomas Radej - 0:1.0-3 +- Fixed tarball generation guide + +* Wed Jul 18 2012 Fedora Release Engineering - 0:1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Feb 6 2012 Andy Grimm 0:1.0-1 +- build for Fedora