606bf3
Name:           jzlib
606bf3
Version:        1.1.3
606bf3
Release:        10%{?dist}
606bf3
Summary:        Re-implementation of zlib in pure Java
606bf3
License:        BSD
606bf3
URL:            http://www.jcraft.com/jzlib/
606bf3
BuildArch:      noarch
606bf3
Source0:        https://github.com/ymnk/jzlib/archive/%{version}.tar.gz
606bf3
606bf3
# This patch is sent upstream: https://github.com/ymnk/jzlib/pull/15
606bf3
Patch0:         jzlib-javadoc-fixes.patch
606bf3
606bf3
BuildRequires:  maven-local
606bf3
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
606bf3
606bf3
%description
606bf3
The zlib is designed to be a free, general-purpose, legally unencumbered 
606bf3
-- that is, not covered by any patents -- loss-less data-compression 
606bf3
library for use on virtually any computer hardware and operating system. 
606bf3
The zlib was written by Jean-loup Gailly (compression) and Mark Adler 
606bf3
(decompression). 
606bf3
606bf3
%package        javadoc
606bf3
Summary:        API documentation for %{name}
606bf3
606bf3
%description    javadoc
606bf3
%{summary}.
606bf3
606bf3
%package        demo
606bf3
Summary:        Examples for %{name}
606bf3
Requires:       %{name} = %{version}-%{release}
606bf3
606bf3
%description    demo
606bf3
%{summary}.
606bf3
606bf3
%prep
606bf3
%setup -q
606bf3
%patch0
606bf3
606bf3
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.6
606bf3
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6
606bf3
606bf3
# Make into OSGi bundle
606bf3
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
606bf3
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" . "<extensions>true</extensions>"
606bf3
606bf3
%mvn_file : %{name}
606bf3
606bf3
%build
606bf3
%mvn_build
606bf3
606bf3
%install
606bf3
%mvn_install
606bf3
606bf3
# examples
606bf3
install -dm 755 %{buildroot}%{_datadir}/%{name}
606bf3
cp -pr example/* %{buildroot}%{_datadir}/%{name}
606bf3
606bf3
%files -f .mfiles
606bf3
%doc LICENSE.txt
606bf3
606bf3
%files javadoc -f .mfiles-javadoc
606bf3
%doc LICENSE.txt
606bf3
606bf3
%files demo
606bf3
%doc %{_datadir}/%{name}
606bf3
606bf3
%changelog
606bf3
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-10
606bf3
- Mass rebuild for javapackages-tools 201902
606bf3
606bf3
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-9
606bf3
- Mass rebuild for javapackages-tools 201901
606bf3
606bf3
* Wed Mar 21 2018 Mat Booth <mat.booth@redhat.com> - 0:1.1.3-8
606bf3
- Add OSGi metadata
606bf3
606bf3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-7
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
606bf3
606bf3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-6
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
606bf3
606bf3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-5
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
606bf3
606bf3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-4
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
606bf3
606bf3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.3-3
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
606bf3
606bf3
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.3-2
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
606bf3
606bf3
* Fri May 09 2014 Mat Booth <mat.booth@redhat.com> - 0:1.1.3-1
606bf3
- Update to latest upstream, fixes rhbz #1079510
606bf3
- Add patch for javadoc errors
606bf3
606bf3
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.1.2-3
606bf3
- Use Requires: java-headless rebuild (#1067528)
606bf3
606bf3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.2-2
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
606bf3
606bf3
* Sun Jul 14 2013 Mat Booth <fedora@matbooth.co.uk> 0:1.1.2-1
606bf3
- Update to latest upstream, fixes rhbz #980461
606bf3
- Fix bogus date in changelog
606bf3
606bf3
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.1.1-4
606bf3
- Update to current packaging guidelines
606bf3
606bf3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.1-3
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
606bf3
606bf3
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0:1.1.1-2
606bf3
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
606bf3
- Replace maven BuildRequires with maven-local
606bf3
606bf3
* Mon Jan 7 2013 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.1-1
606bf3
- Update to latest upstream.
606bf3
606bf3
* Tue Oct 23 2012 Mat Booth <fedora@matbooth.co.uk> 0:1.1.0-3
606bf3
- Add maven pom and depmap rhbz #806572.
606bf3
606bf3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1.0-2
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
606bf3
606bf3
* Fri Jan 13 2012 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.0-1
606bf3
- Update to upstream 1.1.0 release.
606bf3
606bf3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.7-10
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
606bf3
606bf3
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.7-9
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
606bf3
606bf3
* Thu Nov 4 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0.7-8
606bf3
- Fix merge review comments bug#225956.
606bf3
606bf3
* Wed Apr 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.0.7-7.4
606bf3
- Drop gcj_support.
606bf3
606bf3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.7-7.3
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
606bf3
606bf3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0.7-6.3
606bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
606bf3
606bf3
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0.7-5.3
606bf3
- drop repotag
606bf3
606bf3
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.0.7-5jpp.2
606bf3
- fix license tag
606bf3
606bf3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.0.7-5jpp.1
606bf3
- Autorebuild for GCC 4.3
606bf3
606bf3
* Tue Aug 08 2006 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.0.7-4jpp.1
606bf3
- Re-sync with latest from JPP.
606bf3
- Partially adopt new naming convention.
606bf3
606bf3
* Sat Jul 22 2006 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.0.7-3jpp_2fc
606bf3
- Rebuild.
606bf3
606bf3
* Sat Jul 22 2006 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.0.7-3jpp_1fc
606bf3
- Merge with latest version from JPP.
606bf3
606bf3
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.0.5-2jpp_4fc
606bf3
- Rebuilt
606bf3
606bf3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.0.5-2jpp_3fc
606bf3
- rebuild
606bf3
606bf3
* Mon Mar  6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.0.5-2jpp_2fc
606bf3
- stop the scriptlet spew
606bf3
606bf3
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
606bf3
- rebuilt
606bf3
606bf3
* Fri Mar 18 2005 Andrew Overholt <overholt@redhat.com> 1.0.5-2jpp_1fc
606bf3
- Build into Fedora.
606bf3
- Remove Distribution and Vendor tags.
606bf3
606bf3
* Tue Oct 19 2004 David Walluck <david@jpackage.org> 0:1.0.5-2jpp
606bf3
- rebuild with jdk 1.4.2
606bf3
606bf3
* Tue Oct 19 2004 David Walluck <david@jpackage.org> 0:1.0.5-1jpp
606bf3
- 0.1.5
606bf3
606bf3
* Mon Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.0.3-2jpp
606bf3
- Rebuild with ant-1.6.2
606bf3
606bf3
* Wed Jan 14 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.0.3-1jpp
606bf3
- First build.