diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..126e1cc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/guava-13.0.tar.xz diff --git a/.rh-java-common-guava.metadata b/.rh-java-common-guava.metadata new file mode 100644 index 0000000..69e2632 --- /dev/null +++ b/.rh-java-common-guava.metadata @@ -0,0 +1 @@ +8278c1f927a67fec1d9fe115c30f77332268909f SOURCES/guava-13.0.tar.xz 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/SPECS/guava.spec b/SPECS/guava.spec new file mode 100644 index 0000000..d08d3a7 --- /dev/null +++ b/SPECS/guava.spec @@ -0,0 +1,163 @@ +%global pkg_name guava +%{?scl:%scl_package %{pkg_name}} +%{?java_common_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 13.0 +Release: 6.12%{?dist} +Summary: Google Core Libraries for Java +License: ASL 2.0 +URL: http://code.google.com/p/guava-libraries +# git clone https://code.google.com/p/guava-libraries/ +# (cd ./guava-libraries && git archive --format=tar --prefix=guava-%{version}/ v%{version}) | xz >guava-%{version}.tar.xz +Source0: %{pkg_name}-%{version}.tar.xz +BuildArch: noarch + +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix_maven}sonatype-oss-parent +BuildRequires: %{?scl_prefix_maven}maven-dependency-plugin +BuildRequires: %{?scl_prefix_maven}maven-gpg-plugin +BuildRequires: %{?scl_prefix_maven}jsr-305 +BuildRequires: %{?scl_prefix}ant + +%description +Guava is a suite of core and expanded libraries that include +utility classes, Google's collections, io classes, and much +much more. +This project is a complete packaging of all the Guava libraries +into a single jar. Individual portions of Guava can be used +by downloading the appropriate module and its dependencies. + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +API documentation for %{pkg_name}. + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +find . -name '*.jar' -delete +%mvn_file ":{guava}" @1 +%mvn_alias ":{guava}" com.google.collections:google-collections + +%pom_disable_module guava-gwt +%pom_disable_module guava-testlib +%pom_disable_module guava-tests +%pom_remove_plugin :animal-sniffer-maven-plugin guava +%{?scl:EOF} + +%build +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +%mvn_build +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"} +set -e -x +%mvn_install +%{?scl:EOF} + +%files -f .mfiles +%dir %{_mavenpomdir}/%{pkg_name} +%doc AUTHORS CONTRIBUTORS COPYING README* + +%files javadoc -f .mfiles-javadoc +%doc COPYING + +%changelog +* Wed Jan 14 2015 Michal Srb <msrb@redhat.com> - 13.0-6.12 +- Fix directory ownership + +* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 13.0-6.11 +- Mass rebuild 2015-01-13 + +* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 13.0-6.10 +- Mass rebuild 2015-01-09 + +* Tue Dec 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.9 +- Migrate requires and build-requires to rh-java-common + +* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.8 +- Mass rebuild 2014-12-15 + +* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.7 +- Rebuild for rh-java-common collection + +* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.6 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.5 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.4 +- Mass rebuild 2014-02-18 + +* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.3 +- SCL-ize build-requires + +* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-6.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 13.0-6 +- Mass rebuild 2013-12-27 + +* Tue Aug 27 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-5 +- Migrate away from mvn-rpmbuild + +* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-4 +- Replace BR on ant-nodeps with ant + +* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-4 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 13.0-2 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Tue Aug 7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-1 +- Update to upstream version 13.0 +- Remove RPM bug workaround +- Convert patches to pom macros + +* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 11.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Apr 28 2012 gil cattaneo <puntogil@libero.it> 11.0.2-1 +- Update to 11.0.2 + +* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 09-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Sep 12 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 09-1 +- Update to 09 +- Packaging fixes +- Build with maven + +* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 05-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jul 14 2010 Hui wang <huwang@redhat.com> - 05-4 +- Patch pom + +* Fri Jun 18 2010 Hui Wang <huwang@redhat.com> - 05-3 +- Fixed jar name in install section +- Removed spaces in description + +* Thu Jun 17 2010 Hui Wang <huwang@redhat.com> - 05-2 +- Fixed summary +- Fixed description +- Fixed creating symlink insturctions +- add depmap + +* Thu Jun 10 2010 Hui Wang <huwang@redhat.com> - 05-1 +- Initial version of the package