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