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