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