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