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