a2c0b6
Name:           jsr-305
a2c0b6
Version:        0
a2c0b6
Release:        0.18.20090319svn%{?dist}
a2c0b6
Summary:        Correctness annotations for Java code
a2c0b6
a2c0b6
# The majority of code is BSD-licensed, but some Java sources
a2c0b6
# are licensed under CC-BY license, see: $ grep -r Creative .
a2c0b6
License:        BSD and CC-BY
a2c0b6
URL:            http://jsr-305.googlecode.com/
a2c0b6
BuildArch:      noarch
a2c0b6
a2c0b6
# There has been no official release yet.  This is a snapshot of the Subversion
a2c0b6
# repository as of 19 Mar 2009.  Use the following commands to generate the
a2c0b6
# tarball:
a2c0b6
#   svn export -r 49 http://jsr-305.googlecode.com/svn/trunk jsr-305
a2c0b6
#   tar -cvf jsr-305-0.4.20090319.tar jsr-305
a2c0b6
#   xz jsr-305-0.4.20090319.tar
a2c0b6
Source0:        jsr-305-0.4.20090319.tar.xz
a2c0b6
# File containing URL to CC-BY license text
a2c0b6
Source1:        NOTICE-CC-BY.txt
a2c0b6
a2c0b6
BuildRequires:  maven-local
a2c0b6
a2c0b6
%package javadoc
a2c0b6
Summary:        Javadoc documentation for %{name}
a2c0b6
a2c0b6
%description
a2c0b6
This package contains reference implementations, test cases, and other
a2c0b6
documents for Java Specification Request 305: Annotations for Software Defect
a2c0b6
Detection.
a2c0b6
a2c0b6
%description javadoc
a2c0b6
This package contains the API documentation for %{name}.
a2c0b6
a2c0b6
%prep
a2c0b6
%setup -q -n %{name}
a2c0b6
cp %{SOURCE1} NOTICE-CC-BY
a2c0b6
a2c0b6
%mvn_file :ri %{name}
a2c0b6
%mvn_alias :ri com.google.code.findbugs:jsr305
a2c0b6
%mvn_package ":{proposedAnnotations,tcl}" __noinstall
a2c0b6
a2c0b6
# do not build sampleUses module - it causes Javadoc generation to fail
a2c0b6
%pom_disable_module sampleUses
a2c0b6
a2c0b6
%build
a2c0b6
%mvn_build
a2c0b6
a2c0b6
%install
a2c0b6
%mvn_install
a2c0b6
a2c0b6
%files -f .mfiles
a2c0b6
%doc ri/LICENSE NOTICE-CC-BY sampleUses
a2c0b6
a2c0b6
%files javadoc -f .mfiles-javadoc
a2c0b6
%doc ri/LICENSE NOTICE-CC-BY
a2c0b6
a2c0b6
%changelog
a2c0b6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0-0.18.20090319svn
a2c0b6
- Mass rebuild 2013-12-27
a2c0b6
a2c0b6
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0-0.17.20090319svn
a2c0b6
- Remove workaround for rpm bug #646523
a2c0b6
a2c0b6
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0-0.16.20090319svn
a2c0b6
- Rebuild to regenerate API documentation
a2c0b6
- Resolves: CVE-2013-1571
a2c0b6
a2c0b6
* Tue Jun 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0-0.15.20090319svn
a2c0b6
- Update to current packaging guidelines
a2c0b6
a2c0b6
* Tue Jun 18 2013 Michal Srb <msrb@redhat.com> - 0-0.14.20090319svn
a2c0b6
- Install license file with javadoc subpackage (Resolves: rhbz#975411)
a2c0b6
- Add file containing link to CC-BY license text
a2c0b6
a2c0b6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.13.20090319svn
a2c0b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a2c0b6
a2c0b6
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0-0.12.20090319svn
a2c0b6
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
a2c0b6
- Replace maven BuildRequires with maven-local
a2c0b6
a2c0b6
* Fri Jan  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0-0.11.20090319svn
a2c0b6
- Add CC-BY to license tag
a2c0b6
- Resolves: rhbz#876648
a2c0b6
a2c0b6
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.10.20090319svn
a2c0b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a2c0b6
a2c0b6
* Sat Jan 14 2012 Richard Fearn <richardfearn@gmail.com> - 0-0.9.20090319svn
a2c0b6
- Do not build sampleUses module as it causes Javadoc generation to fail
a2c0b6
a2c0b6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.8.20090319svn
a2c0b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a2c0b6
a2c0b6
* Mon Sep 12 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0-0.7.20090319svn
a2c0b6
- Use maven3 to build
a2c0b6
- Fix depmap
a2c0b6
- Fix Jave BRs
a2c0b6
a2c0b6
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.6.20090319svn
a2c0b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a2c0b6
a2c0b6
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0-0.5.20090319svn
a2c0b6
- Fix pom filename (Resolves rhbz#655811)
a2c0b6
- Remove tomcat5 BR (not needed anymore)
a2c0b6
- Use new maven plugin names
a2c0b6
- Remove gcj support
a2c0b6
- Few tweaks according to new guidelines
a2c0b6
- Make jars and javadocs versionless
a2c0b6
a2c0b6
* Thu Jan 14 2010 Jerry James <loganjerry@gmail.com> - 0-0.4.20090319svn
a2c0b6
- Update to 19 Mar 2009 snapshot
a2c0b6
- Compress with xz instead of bzip2
a2c0b6
- BR tomcat5, a horrible workaround to solve bz 538868
a2c0b6
a2c0b6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.20090203svn
a2c0b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a2c0b6
a2c0b6
* Wed Mar  4 2009 Jerry James <loganjerry@gmail.com> - 0-0.3.20090203svn
a2c0b6
- Explicitly require OpenJDK to build
a2c0b6
a2c0b6
* Sat Feb 28 2009 Jerry James <loganjerry@gmail.com> - 0-0.2.20090203svn
a2c0b6
- Update to 03 Feb 2009 snapshot
a2c0b6
a2c0b6
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.2.20080824svn.1
a2c0b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a2c0b6
a2c0b6
* Mon Nov 24 2008 Jerry James <loganjerry@gmail.com> - 0-0.1.20080824svn.1
a2c0b6
- Cleaned up summary
a2c0b6
a2c0b6
* Mon Sep  8 2008 Jerry James <loganjerry@gmail.com> - 0-0.1.20080824svn
a2c0b6
- Update to 24 Aug 2008 snapshot
a2c0b6
a2c0b6
* Mon Aug  4 2008 Jerry James <loganjerry@gmail.com> - 0-0.1.20080721svn
a2c0b6
- Update to 21 Jul 2008 snapshot
a2c0b6
a2c0b6
* Mon Jun 30 2008 Jerry James <loganjerry@gmail.com> - 0-0.1.20080613svn
a2c0b6
- Update to 13 Jun 2008 snapshot
a2c0b6
- Fix broken URLs
a2c0b6
- Include instructions on regenerating the tarball
a2c0b6
- Conditionalize the gcj bits
a2c0b6
a2c0b6
* Mon Jun  2 2008 Jerry James <loganjerry@gmail.com> - 0-0.1.20080527svn
a2c0b6
- Update to 27 May 2008 snapshot
a2c0b6
a2c0b6
* Mon May 12 2008 Jerry James <loganjerry@gmail.com> - 0-0.1.20071105svn
a2c0b6
- Initial RPM