2012-05-08 09:08:31 +00:00
|
|
|
Name: guava
|
2012-08-07 17:09:13 +00:00
|
|
|
Version: 13.0
|
2013-08-03 17:12:49 +00:00
|
|
|
Release: 5%{?dist}
|
2012-05-08 09:08:31 +00:00
|
|
|
Summary: Google Core Libraries for Java
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://code.google.com/p/guava-libraries
|
|
|
|
# git clone https://code.google.com/p/guava-libraries/
|
2012-08-07 17:09:13 +00:00
|
|
|
# (cd ./guava-libraries && git archive --format=tar --prefix=guava-%{version}/ v%{version}) | xz >guava-%{version}.tar.xz
|
2012-05-08 09:08:31 +00:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: java-devel >= 0:1.7.0
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
BuildRequires: sonatype-oss-parent
|
|
|
|
|
2013-02-06 18:50:56 +00:00
|
|
|
BuildRequires: maven-local
|
2012-05-08 09:08:31 +00:00
|
|
|
BuildRequires: maven-compiler-plugin
|
|
|
|
BuildRequires: maven-dependency-plugin
|
|
|
|
BuildRequires: maven-install-plugin
|
|
|
|
BuildRequires: maven-jar-plugin
|
|
|
|
BuildRequires: maven-resources-plugin
|
|
|
|
|
|
|
|
BuildRequires: jsr-305 >= 0-0.6.20090319svn
|
2013-06-28 13:52:11 +00:00
|
|
|
BuildRequires: ant
|
2012-05-08 09:08:31 +00:00
|
|
|
|
|
|
|
Requires: jsr-305
|
|
|
|
|
|
|
|
Requires: java
|
|
|
|
Requires: jpackage-utils
|
|
|
|
BuildArch: noarch
|
2010-06-21 03:28:16 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Requires: jpackage-utils
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2012-05-08 09:08:31 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
find . -name '*.jar' -delete
|
2010-06-21 03:28:16 +00:00
|
|
|
|
2012-08-07 17:09:13 +00:00
|
|
|
%pom_disable_module guava-gwt
|
|
|
|
%pom_disable_module guava-testlib
|
|
|
|
%pom_disable_module guava-tests
|
|
|
|
%pom_remove_plugin :animal-sniffer-maven-plugin guava
|
2010-06-21 03:28:16 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
2011-09-13 13:32:29 +00:00
|
|
|
mvn-rpmbuild install javadoc:aggregate
|
2010-06-21 03:28:16 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
# jars
|
2012-05-08 09:08:31 +00:00
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
|
|
install -pm 644 %{name}/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
2010-06-21 03:28:16 +00:00
|
|
|
|
|
|
|
# poms
|
2012-05-08 09:08:31 +00:00
|
|
|
mkdir -p %{buildroot}%{_mavenpomdir}
|
|
|
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}-parent.pom
|
|
|
|
%add_maven_depmap JPP-%{name}-parent.pom
|
|
|
|
install -pm 644 %{name}/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
2011-09-13 13:32:29 +00:00
|
|
|
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "com.google.collections:google-collections"
|
|
|
|
|
|
|
|
# javadoc
|
|
|
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}/
|
2010-06-21 03:28:16 +00:00
|
|
|
|
|
|
|
%files
|
2012-05-08 09:08:31 +00:00
|
|
|
%doc AUTHORS CONTRIBUTORS COPYING README*
|
|
|
|
%{_javadir}/%{name}*.jar
|
|
|
|
%{_mavenpomdir}/JPP-%{name}*.pom
|
|
|
|
%{_mavendepmapfragdir}/%{name}
|
2010-06-21 03:28:16 +00:00
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%{_javadocdir}/%{name}
|
2012-05-08 09:08:31 +00:00
|
|
|
%doc COPYING
|
2010-06-21 03:28:16 +00:00
|
|
|
|
|
|
|
%changelog
|
2013-08-03 17:12:49 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-28 13:52:11 +00:00
|
|
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-4
|
|
|
|
- Replace BR on ant-nodeps with ant
|
|
|
|
|
2013-06-28 11:34:27 +00:00
|
|
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 13.0-4
|
|
|
|
- Rebuild to regenerate API documentation
|
|
|
|
- Resolves: CVE-2013-1571
|
|
|
|
|
2013-02-14 00:50:28 +00:00
|
|
|
* 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
|
|
|
|
|
2013-02-06 18:50:56 +00:00
|
|
|
* 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
|
|
|
|
|
2012-08-07 17:09:13 +00:00
|
|
|
* 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
|
|
|
|
|
2012-07-19 11:45:28 +00:00
|
|
|
* 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
|
|
|
|
|
2012-05-08 09:08:31 +00:00
|
|
|
* Sat Apr 28 2012 gil cattaneo <puntogil@libero.it> 11.0.2-1
|
|
|
|
- Update to 11.0.2
|
|
|
|
|
2012-01-13 04:36:59 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 09-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-13 13:32:29 +00:00
|
|
|
* Mon Sep 12 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 09-1
|
|
|
|
- Update to 09
|
|
|
|
- Packaging fixes
|
|
|
|
- Build with maven
|
|
|
|
|
2011-02-09 07:37:53 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 05-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-14 06:43:21 +00:00
|
|
|
* Wed Jul 14 2010 Hui wang <huwang@redhat.com> - 05-4
|
|
|
|
- Patch pom
|
|
|
|
|
2010-06-21 03:28:16 +00:00
|
|
|
* 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
|
2011-09-13 13:32:29 +00:00
|
|
|
- Initial version of the package
|