This commit is contained in:
parent
005d7dd2f7
commit
58339c0630
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 2 00:41:40 CET 2007 - ro@suse.de
|
||||
|
||||
- added -fno-stack-protector
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:31:09 CET 2006 - mls@suse.de
|
||||
|
||||
|
@ -1,34 +1,34 @@
|
||||
#
|
||||
# spec file for package dietzlib (Version 1.2.3)
|
||||
#
|
||||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 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.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: dietzlib
|
||||
BuildRequires: dietlibc
|
||||
License: Other License(s), see package
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 1.2.3
|
||||
Release: 3
|
||||
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/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Name: dietzlib
|
||||
BuildRequires: dietlibc
|
||||
License: Other License(s), see package
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 1.2.3
|
||||
Release: 36
|
||||
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/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt
|
||||
(deflate format) and rfc1952.txt (gzip format). These documents are
|
||||
(deflate format), and rfc1952.txt (gzip format). These documents are
|
||||
also available in other formats from
|
||||
ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html.
|
||||
|
||||
@ -49,7 +49,7 @@ Authors:
|
||||
%build
|
||||
CC="diet -v gcc" \
|
||||
LD="diet -v gcc" \
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --static
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-stack-protector" ./configure --static
|
||||
make
|
||||
make test
|
||||
|
||||
@ -68,6 +68,8 @@ rm -rf %RPM_BUILD_ROOT
|
||||
/usr/%{_lib}/libdiet_z.a
|
||||
|
||||
%changelog -n dietzlib
|
||||
* Fri Feb 02 2007 - ro@suse.de
|
||||
- added -fno-stack-protector
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Jul 27 2005 - ro@suse.de
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 13:02:30 CET 2007 - ro@suse.de
|
||||
|
||||
- remove libgz completely (obsolete long ago)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:31:09 CET 2006 - mls@suse.de
|
||||
|
||||
|
53
zlib.spec
53
zlib.spec
@ -1,31 +1,31 @@
|
||||
#
|
||||
# spec file for package zlib (Version 1.2.3)
|
||||
#
|
||||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 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.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: zlib
|
||||
License: Other License(s), see package
|
||||
Group: System/Libraries
|
||||
Provides: libgz.so.1 libz
|
||||
Obsoletes: libz
|
||||
Autoreqprov: on
|
||||
Version: 1.2.3
|
||||
Release: 4
|
||||
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/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Name: zlib
|
||||
License: Other License(s), see package
|
||||
Group: System/Libraries
|
||||
Provides: libz
|
||||
Obsoletes: libz
|
||||
Autoreqprov: on
|
||||
Version: 1.2.3
|
||||
Release: 37
|
||||
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/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt
|
||||
@ -41,11 +41,11 @@ Authors:
|
||||
Michael Mauldin <mlm@cs.cmu.edu>
|
||||
|
||||
%package devel
|
||||
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
|
||||
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
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
@ -82,9 +82,6 @@ install -m 644 libz.a $RPM_BUILD_ROOT/usr/%{_lib}
|
||||
# manpage
|
||||
install -m 644 zlib.3 $RPM_BUILD_ROOT/%{_mandir}/man3
|
||||
install -m 644 zutil.h $RPM_BUILD_ROOT/usr/include
|
||||
# libgz alias (hopefully unused by now)
|
||||
ln -sf libz.a $RPM_BUILD_ROOT/usr/%{_lib}/libgz.a
|
||||
ln -sf ../../%{_lib}/libz.so.1 $RPM_BUILD_ROOT/usr/%{_lib}/libgz.so.1
|
||||
|
||||
%clean
|
||||
rm -rf %RPM_BUILD_ROOT
|
||||
@ -92,14 +89,12 @@ rm -rf %RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README ChangeLog algorithm.txt
|
||||
/usr/%{_lib}/libgz.so.1
|
||||
/%{_lib}/libz.so.1.2.*
|
||||
/%{_lib}/libz.so.1
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man3/zlib.3.gz
|
||||
/usr/%{_lib}/libgz.a
|
||||
/usr/include/zlib.h
|
||||
/usr/include/zconf.h
|
||||
/usr/include/zutil.h
|
||||
@ -107,6 +102,8 @@ rm -rf %RPM_BUILD_ROOT
|
||||
/usr/%{_lib}/libz.a
|
||||
|
||||
%changelog -n zlib
|
||||
* Wed Jan 31 2007 - ro@suse.de
|
||||
- remove libgz completely (obsolete long ago)
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Sat Dec 17 2005 - kukuk@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user