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