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