- Update to 1.1.2
* fixed a bug in DeflaterOutputStream#write() with empty data. 9d4616f * fixed a bug in processing unwrapped data with InfalterInputStream. d35db2 * fixed bugs reported in https://github.com/ymnk/jzlib/pull/5 e4aa20 + comments and filename in GZIPHeader must be in ISO-8859-1 encoding + fixing a bug in GZIPHeader#setOS(int os) * some refactoring code. e912088 6900f5 614fdf * improving the performace of Adler32#update method. 6900f5 * constructors of Alder32 and CRC32 become public. 30c4cf * added ZStream#end() and ZStream#finished(). 6b55e3 * exposed useful constants for jruby. e17ad1 * updated pom.xml to delete "souceDirectory" No need to specify sourceDirectory if the project follows maven standard. * updated configurations to use sbt 0.11.1 - Don't build for java5 only OBS-URL: https://build.opensuse.org/package/show/Java:packages/jzlib?expand=0&rev=10
This commit is contained in:
parent
ca2217f151
commit
711afed198
3
1.1.2.tar.gz
Normal file
3
1.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:11ba14089fb7dad16fa214d8f28d24abb92d6a3798fae9cc62a7f74565b3fcc2
|
||||||
|
size 65549
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 3 11:23:16 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- Update to 1.1.2
|
||||||
|
* fixed a bug in DeflaterOutputStream#write() with empty data. 9d4616f
|
||||||
|
* fixed a bug in processing unwrapped data with InfalterInputStream. d35db2
|
||||||
|
* fixed bugs reported in https://github.com/ymnk/jzlib/pull/5 e4aa20
|
||||||
|
+ comments and filename in GZIPHeader must be in ISO-8859-1 encoding
|
||||||
|
+ fixing a bug in GZIPHeader#setOS(int os)
|
||||||
|
* some refactoring code. e912088 6900f5 614fdf
|
||||||
|
* improving the performace of Adler32#update method. 6900f5
|
||||||
|
* constructors of Alder32 and CRC32 become public. 30c4cf
|
||||||
|
* added ZStream#end() and ZStream#finished(). 6b55e3
|
||||||
|
* exposed useful constants for jruby. e17ad1
|
||||||
|
* updated pom.xml to delete "souceDirectory"
|
||||||
|
No need to specify sourceDirectory if the project follows maven
|
||||||
|
standard.
|
||||||
|
* updated configurations to use sbt 0.11.1
|
||||||
|
- Don't build for java5 only
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 9 11:06:10 UTC 2013 - tchvatal@suse.com
|
Mon Sep 9 11:06:10 UTC 2013 - tchvatal@suse.com
|
||||||
|
|
||||||
|
69
jzlib.spec
69
jzlib.spec
@ -19,13 +19,16 @@
|
|||||||
%define section free
|
%define section free
|
||||||
|
|
||||||
Name: jzlib
|
Name: jzlib
|
||||||
Version: 1.0.7
|
Version: 1.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: JZlib re-implementation of zlib in pure Java
|
Summary: Re-implementation of zlib in pure Java
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Url: http://www.jcraft.com/jzlib/
|
Url: http://www.jcraft.com/jzlib/
|
||||||
Source0: http://www.jcraft.com/jzlib/jzlib-1.0.7.tar.gz
|
# FIXME: getting HTTP 500 from github atm, downloaded from
|
||||||
|
# http://pkgs.fedoraproject.org/repo/pkgs/jzlib/1.1.2.tar.gz/f220e253a1edde7394d13d3042978805/1.1.2.tar.gz
|
||||||
|
#Source0: https://github.com/ymnk/jzlib/archive/1.1.2.tar.gz
|
||||||
|
Source0: 1.1.2.tar.gz
|
||||||
Source1: %{name}_build.xml
|
Source1: %{name}_build.xml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -43,75 +46,55 @@ operating system. The zlib was written by Jean-loup Gailly
|
|||||||
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: JZlib re-implementation of zlib in pure Java
|
Summary: Re-implementation of zlib in pure Java
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Requires(post): %{__rm}
|
|
||||||
Requires(post): /bin/ln
|
|
||||||
Requires(postun): %{__rm}
|
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
The zlib is designed to be a free, general-purpose, legally
|
Javadoc for %{summary}.
|
||||||
unencumbered -- that is, not covered by any patents -- lossless
|
|
||||||
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 demo
|
%package demo
|
||||||
Summary: JZlib re-implementation of zlib in pure Java
|
Summary: Re-implementation of zlib in pure Java
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Requires(post): %{__rm}
|
|
||||||
Requires(post): /bin/ln
|
|
||||||
Requires(postun): %{__rm}
|
|
||||||
|
|
||||||
%description demo
|
%description demo
|
||||||
The zlib is designed to be a free, general-purpose, legally
|
Demo files for %{summary}.
|
||||||
unencumbered -- that is, not covered by any patents -- lossless
|
|
||||||
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).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
cp %{SOURCE1} build.xml
|
cp %{SOURCE1} build.xml
|
||||||
mkdir src
|
#mkdir src
|
||||||
mv com src
|
#mv com src
|
||||||
|
|
||||||
# bnc#500524
|
# bnc#500524
|
||||||
# be sure that we don't distribute GPL derived code marked as BSD
|
# be sure that we don't distribute GPL derived code marked as BSD
|
||||||
rm misc/mindtermsrc-v121-compression.patch
|
rm misc/mindtermsrc-v121-compression.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 dist javadoc
|
ant dist javadoc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jars
|
# jar
|
||||||
install -Dpm 644 dist/lib/%{name}.jar \
|
install -Dpm 644 dist/lib/%{name}.jar \
|
||||||
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
%{buildroot}%{_javadir}/%{name}.jar
|
||||||
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
|
||||||
# javadoc
|
|
||||||
install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
||||||
cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
||||||
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
|
|
||||||
# examples
|
|
||||||
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
|
||||||
cp -pr example/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
|
||||||
# bnc#536215 - be compatible with older Packman package
|
|
||||||
# ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name} # ghost symlink
|
|
||||||
|
|
||||||
%clean
|
# javadoc
|
||||||
rm -rf $RPM_BUILD_ROOT
|
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -pr javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
# examples
|
||||||
|
install -dm 755 %{buildroot}%{_datadir}/%{name}-%{version}
|
||||||
|
cp -pr example/* %{buildroot}%{_datadir}/%{name}-%{version}
|
||||||
|
# bnc#536215 - be compatible with older Packman package
|
||||||
|
# ln -s %{name}-%{version} %{buildroot}%{_datadir}/%{name} # ghost symlink
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{_javadir}/*.jar
|
%{_javadir}/%{name}.jar
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc %{_javadocdir}/%{name}-%{version}
|
|
||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
|
@ -5,7 +5,7 @@ The first and final aim for hacking this stuff is
|
|||||||
to add the packet compression support to pure Java SSH systems.
|
to add the packet compression support to pure Java SSH systems.
|
||||||
</description>
|
</description>
|
||||||
<!-- set global properties for this build -->
|
<!-- set global properties for this build -->
|
||||||
<property name="src" location="src"/>
|
<property name="src" location="src/main/java"/>
|
||||||
<property name="build" location="build"/>
|
<property name="build" location="build"/>
|
||||||
<property name="dist" location="dist"/>
|
<property name="dist" location="dist"/>
|
||||||
<property name="javadoc" location="javadoc"/>
|
<property name="javadoc" location="javadoc"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user