This commit is contained in:
parent
de3406dd7c
commit
b05be2647f
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 12 03:41:39 CET 2008 - crrodriguez@suse.de
|
||||
|
||||
- fix library-without-ldconfig-* errors
|
||||
- do not delete buildroot on install section
|
||||
- run make test in the check section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 3 11:41:41 CEST 2007 - rguenther@suse.de
|
||||
|
||||
|
27
zlib.spec
27
zlib.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zlib (Version 1.2.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -15,16 +15,16 @@ License: Other uncritical OpenSource License
|
||||
Group: System/Libraries
|
||||
Provides: libz
|
||||
Obsoletes: libz
|
||||
Autoreqprov: on
|
||||
AutoReqProv: on
|
||||
Version: 1.2.3
|
||||
Release: 50
|
||||
Release: 87
|
||||
Summary: Data Compression Library
|
||||
Source: zlib-%{version}.tar.bz2
|
||||
Patch: zlib-1.2.1-make-test.patch
|
||||
Patch1: zlib-1.2.1-vsnprintf.patch
|
||||
Patch2: zlib-1.2.1-CFLAGS.dif
|
||||
Patch3: zlib-1.2.2-format.patch
|
||||
URL: http://www.zlib.net/
|
||||
Url: http://www.zlib.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -41,11 +41,11 @@ Authors:
|
||||
Michael Mauldin <mlm@cs.cmu.edu>
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Languages/C and C++
|
||||
Provides: libz:/usr/include/zlib.h
|
||||
Requires: zlib = %{version}
|
||||
Autoreqprov: on
|
||||
Requires: zlib = %{version} glibc-devel
|
||||
AutoReqProv: on
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
@ -64,10 +64,11 @@ libraries.
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --shared
|
||||
make
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/{%_lib,/usr/%_lib}
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/include
|
||||
@ -84,7 +85,11 @@ install -m 644 zlib.3 $RPM_BUILD_ROOT/%{_mandir}/man3
|
||||
install -m 644 zutil.h $RPM_BUILD_ROOT/usr/include
|
||||
|
||||
%clean
|
||||
rm -rf %RPM_BUILD_ROOT
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -102,6 +107,10 @@ rm -rf %RPM_BUILD_ROOT
|
||||
/usr/%{_lib}/libz.a
|
||||
|
||||
%changelog
|
||||
* Sat Jan 12 2008 - crrodriguez@suse.de
|
||||
- fix library-without-ldconfig-* errors
|
||||
- do not delete buildroot on install section
|
||||
- run make test in the check section.
|
||||
* Thu May 03 2007 - rguenther@suse.de
|
||||
- move documentation files to zlib-devel package
|
||||
* Wed Jan 31 2007 - ro@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user