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