Accepting request 20290 from Java:packages

Copy from Java:packages/jzlib based on submit request 20290 from user mvyskocil

OBS-URL: https://build.opensuse.org/request/show/20290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jzlib?expand=0&rev=3
This commit is contained in:
OBS User autobuild 2009-09-10 10:53:54 +00:00 committed by Git OBS Bridge
parent d90f26ca77
commit daf16db6b2
2 changed files with 12 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 10 07:35:33 UTC 2009 - mvyskocil@suse.cz
- fixed bnc#536215: remove share/jzlib ghost symlink to allow
smooth transition from older Packman package
-------------------------------------------------------------------
Mon May 4 14:41:54 CEST 2009 - mvyskocil@suse.cz

View File

@ -20,10 +20,10 @@
Name: jzlib
Version: 1.0.7
Release: 3
Release: 4
Summary: JZlib re-implementation of zlib in pure Java
Group: Development/Libraries/Java
License: BSD 3-Clause
License: BSD 3-clause (or similar)
Url: http://www.jcraft.com/jzlib/
Source0: http://www.jcraft.com/jzlib/jzlib-1.0.7.tar.gz
Source1: %{name}_build.xml
@ -43,7 +43,7 @@ operating system. The zlib was written by Jean-loup Gailly
%package javadoc
License: BSD 3-Clause
License: BSD 3-clause (or similar)
Summary: JZlib re-implementation of zlib in pure Java
Group: Development/Libraries/Java
Requires(post): %{__rm}
@ -60,7 +60,7 @@ operating system. The zlib was written by Jean-loup Gailly
%package demo
License: BSD 3-Clause
License: BSD 3-clause (or similar)
Summary: JZlib re-implementation of zlib in pure Java
Group: Development/Libraries/Java
Requires(post): %{__rm}
@ -100,7 +100,8 @@ 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}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name} # ghost symlink
# bnc#536215 - be compatible with older Packman package
# ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name} # ghost symlink
%clean
rm -rf $RPM_BUILD_ROOT
@ -118,11 +119,5 @@ rm -rf $RPM_BUILD_ROOT
%files demo
%defattr(0644,root,root,0755)
%doc %{_datadir}/%{name}-%{version}
%doc %{_datadir}/%{name}
%changelog
* Mon May 04 2009 mvyskocil@suse.cz
- fixed bnc#500524:
* removed misc/mindtermsrc-v121-compression.patch in %%prep
* Tue Apr 28 2009 mvyskocil@suse.cz
- Initial SUSE packaging (version 1.0.7 from jpp5)