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