SHA256
3
0
forked from pool/libzio
Dr. Werner Fink 2012-10-05 07:50:30 +00:00 committed by Git OBS Bridge
parent 02a323abc3
commit c2b81e8842
2 changed files with 28 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 5 07:49:23 UTC 2012 - werner@suse.de
- Strange policy causes new package libzio1
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 4 13:06:40 UTC 2012 - werner@suse.de Thu Oct 4 13:06:40 UTC 2012 - werner@suse.de

View File

@ -17,6 +17,15 @@
Name: libzio Name: libzio
%define lname libzio1
Version: 1.00
Release: 0
Summary: A Library for Accessing Compressed Text Files
License: GPL-2.0+
Group: System/Libraries
Url: http://libzio.sourceforge.net/
Source: libzio-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: libbz2-devel BuildRequires: libbz2-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
%if %suse_version <= 1110 %if %suse_version <= 1110
@ -31,23 +40,24 @@ BuildRequires: xz-devel
Obsoletes: libzio-64bit Obsoletes: libzio-64bit
%endif %endif
# #
Version: 1.00
Release: 0
Summary: A Library for Accessing Compressed Text Files
License: GPL-2.0+
Group: System/Libraries
Url: http://libzio.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: libzio-%{version}.tar.bz2
Source2: baselibs.conf
%description %description
Libzio provides a wrapper function for reading or writing gzip or bzip2 Libzio provides a wrapper function for reading or writing gzip or bzip2
files with FILE streams. files with FILE streams.
Author:
--------
Werner Fink <werner@suse.de>
%package -n %lname
Summary: A Library for Accessing Compressed Text Files
Group: System/Libraries
Authors: %description -n %lname
Libzio provides a wrapper function for reading or writing gzip or bzip2
files with FILE streams.
Author:
-------- --------
Werner Fink <werner@suse.de> Werner Fink <werner@suse.de>
@ -94,11 +104,11 @@ done
%install %install
make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir} make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir}
%post -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libzio.so.1 %{_libdir}/libzio.so.1
%{_libdir}/libzio.so.%{version} %{_libdir}/libzio.so.%{version}