2007-02-20 10:32:33 +00:00
|
|
|
Summary: The zlib compression and deprefix=${RPM_BUILD_ROOT}%{_prefix}compression library
|
2004-09-09 15:16:25 +00:00
|
|
|
Name: zlib
|
2005-08-24 14:14:47 +00:00
|
|
|
Version: 1.2.3
|
2007-02-20 12:58:51 +00:00
|
|
|
Release: 7%{?dist}
|
2004-09-09 15:16:25 +00:00
|
|
|
Group: System Environment/Libraries
|
2007-02-19 11:33:27 +00:00
|
|
|
Source: http://www.zlib.net/zlib-%{version}.tar.gz
|
2007-02-20 12:58:51 +00:00
|
|
|
#Patch0: zlib-1.1.4-make-test.patch
|
|
|
|
#Patch1: zlib-1.2.3-cflags.patch
|
|
|
|
#Patch2: zlib-1.2.3-lib.patch
|
|
|
|
Patch3: zlib-1.2.3-autotools.patch
|
2004-09-09 15:17:26 +00:00
|
|
|
URL: http://www.gzip.org/zlib/
|
|
|
|
License: BSD
|
2007-02-20 12:58:51 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: automake, autoconf, libtool
|
2004-09-09 15:16:25 +00:00
|
|
|
|
|
|
|
%description
|
2004-09-09 15:17:48 +00:00
|
|
|
Zlib is a general-purpose, patent-free, lossless data compression
|
|
|
|
library which is used by many different programs.
|
2004-09-09 15:16:25 +00:00
|
|
|
|
|
|
|
%package devel
|
2007-02-19 11:33:27 +00:00
|
|
|
Summary: Header files and libraries for Zlib development
|
2004-09-09 15:16:25 +00:00
|
|
|
Group: Development/Libraries
|
2007-02-19 11:33:27 +00:00
|
|
|
Requires: zlib = %{version}-%{release}
|
2004-09-09 15:16:25 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The zlib-devel package contains the header files and libraries needed
|
|
|
|
to develop programs that use the zlib compression and decompression
|
|
|
|
library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-02-20 12:58:51 +00:00
|
|
|
#%patch0 -p1 -b .make-test
|
|
|
|
#%patch1 -p1 -b .cflags
|
|
|
|
#%patch2 -p1 -b .lib
|
|
|
|
%patch3 -p1 -b .autotools
|
2004-09-09 15:16:25 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 15:20:15 +00:00
|
|
|
|
2007-02-20 12:58:51 +00:00
|
|
|
autoreconf --install;
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
2004-09-09 15:16:39 +00:00
|
|
|
|
2007-02-20 10:32:33 +00:00
|
|
|
%install
|
2007-02-20 12:58:51 +00:00
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 15:20:15 +00:00
|
|
|
|
2007-02-20 12:58:51 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
cp zconf.h ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
cp zlib.h ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
cp zutil.h ${RPM_BUILD_ROOT}%{_includedir}
|
|
|
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3
|
|
|
|
cp zlib.3 ${RPM_BUILD_ROOT}%{_mandir}/man3
|
|
|
|
|
|
|
|
# Remove bogus files created by libtool
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libz.la
|
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2007-02-19 11:33:27 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README ChangeLog FAQ
|
2004-09-09 15:16:25 +00:00
|
|
|
%{_libdir}/libz.so.*
|
|
|
|
|
|
|
|
%files devel
|
2007-02-19 11:33:27 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc algorithm.txt minigzip.c example.c
|
2004-09-09 15:16:25 +00:00
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_mandir}/man3/zlib.3*
|
|
|
|
|
|
|
|
%changelog
|
2007-02-20 12:58:51 +00:00
|
|
|
* Tue Feb 20 2007 Adam Tkac <atkac redhat com> - 1.2.3-7
|
|
|
|
- building is now automatized
|
|
|
|
- specfile cleanup
|
|
|
|
|
2007-02-20 10:32:33 +00:00
|
|
|
* Tue Feb 20 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-6
|
|
|
|
- remove the compilation part to build section
|
|
|
|
some minor changes
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Mon Feb 19 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-5
|
|
|
|
- incorporate package review feedback
|
|
|
|
|
|
|
|
* Mon Oct 23 2006 Ivana Varekova <varekova@redhat.com> - 1.2.3-4
|
2006-10-23 09:25:42 +00:00
|
|
|
- fix #209424 - fix libz.a permissions
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Jul 19 2006 Ivana Varekova <varekova@redhat.com> - 1.2.3-3
|
2006-07-19 08:34:35 +00:00
|
|
|
- add cflags (#199379)
|
|
|
|
|
2006-07-12 19:22:28 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.3-2
|
2006-07-12 17:40:38 +00:00
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 06:38:29 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.3-1.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 14:44:34 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.3-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:43:58 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-08-24 14:14:47 +00:00
|
|
|
* Wed Aug 24 2005 Florian La Roche <laroche@redhat.com>
|
|
|
|
- update to 1.2.3
|
|
|
|
|
2005-07-22 07:59:46 +00:00
|
|
|
* Fri Jul 22 2005 Ivana Varekova <varekova@redhat.com> 1.2.2.2-5
|
|
|
|
- fix bug 163038 - CAN-2005-1849 - zlib buffer overflow
|
|
|
|
|
2005-07-07 09:34:41 +00:00
|
|
|
* Thu Jul 7 2005 Ivana Varekova <varekova@redhat.com> 1.2.2.2-4
|
|
|
|
- fix bug 162392 - CAN-2005-2096
|
|
|
|
|
2005-04-11 14:38:23 +00:00
|
|
|
* Wed Mar 30 2005 Ivana Varekova <varekova@redhat.com> 1.2.2.2-3
|
|
|
|
- fix bug 122408 - zlib build process runs configure twice
|
|
|
|
|
2005-03-04 15:15:29 +00:00
|
|
|
* Fri Mar 4 2005 Jeff Johnson <jbj@redhat.com> 1.2.2.2-2
|
|
|
|
- rebuild with gcc4.
|
|
|
|
|
2005-01-03 17:41:47 +00:00
|
|
|
* Sat Jan 1 2005 Jeff Johnson <jbj@jbj.org> 1.2.2.2-1
|
|
|
|
- upgrade to 1.2.2.2.
|
|
|
|
|
2004-11-12 23:41:02 +00:00
|
|
|
* Fri Nov 12 2004 Jeff Johnson <jbj@jbj.org> 1.2.2.1-1
|
|
|
|
- upgrade to 1.2.2.1.
|
|
|
|
|
2004-09-12 17:07:35 +00:00
|
|
|
* Sun Sep 12 2004 Jeff Johnson <jbj@redhat.com> 1.2.1.2-1
|
|
|
|
- update to 1.2.1.2 to fix 2 DoS problems (#131385).
|
|
|
|
|
2004-09-09 15:20:46 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:20:42 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:20:22 +00:00
|
|
|
* Sun Jan 18 2004 Jeff Johnson <jbj@jbj.org> 1.2.1.1-1
|
|
|
|
- upgrade to zlib-1.2.1.1.
|
|
|
|
|
|
|
|
* Sun Nov 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 1.2.1 release
|
|
|
|
|
|
|
|
* Mon Oct 13 2003 Jeff Johnson <jbj@jbj.org> 1.2.0.7-3
|
|
|
|
- unrevert zlib.h include constants (#106291), rejected upstream.
|
|
|
|
|
2004-09-09 15:20:15 +00:00
|
|
|
* Wed Oct 8 2003 Jeff Johnson <jbj@jbj.org> 1.2.0.7-2
|
|
|
|
- fix: gzeof not set when reading compressed file (#106424).
|
|
|
|
- fix: revert zlib.h include constants for now (#106291).
|
|
|
|
|
|
|
|
* Tue Sep 23 2003 Jeff Johnson <jbj@redhat.com> 1.2.0.7-1
|
|
|
|
- update to 1.2.0.7, penultimate 1.2.1 release candidate.
|
|
|
|
|
|
|
|
* Tue Jul 22 2003 Jeff Johnson <jbj@redhat.com> 1.2.0.3-0.1
|
|
|
|
- update to release candidate.
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-9
|
|
|
|
- rebuild, revert from 1.2.0.1.
|
|
|
|
|
2004-09-09 15:19:33 +00:00
|
|
|
* Mon Feb 24 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-8
|
|
|
|
- fix gzprintf buffer overrun (#84961).
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.1.4-7
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 1.1.4-6
|
|
|
|
- Make ./configure use $CC to ease cross-compilation
|
|
|
|
|
|
|
|
* Tue Nov 12 2002 Jeff Johnson <jbj@redhat.com> 1.1.4-5
|
|
|
|
- rebuild from cvs.
|
|
|
|
|
2004-09-09 15:19:27 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 15:19:04 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 15:18:58 +00:00
|
|
|
* Fri Apr 26 2002 Jakub Jelinek <jakub@redhat.com> 1.1.4-2
|
|
|
|
- remove glibc patch, it is no longer needed (zlib uses gcc -shared
|
|
|
|
as it should)
|
|
|
|
- run tests and only build the package if they succeed
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Thu Apr 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1.4-1
|
2004-09-09 15:18:58 +00:00
|
|
|
- 1.1.4
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Jan 30 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1.3-25.7
|
2004-09-09 15:18:28 +00:00
|
|
|
- Fix double free
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Sun Aug 26 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.1.3-24
|
2004-09-09 15:17:48 +00:00
|
|
|
- Add example.c and minigzip.c to the doc files, as
|
|
|
|
they are listed as examples in the README (#52574)
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Mon Jun 18 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:17:26 +00:00
|
|
|
- Updated URL
|
|
|
|
- Add version dependency for zlib-devel
|
|
|
|
- s/Copyright/License/
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Feb 14 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:39 +00:00
|
|
|
- bumped version number - this is the old version without the performance enhancements
|
|
|
|
|
|
|
|
* Fri Sep 15 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add -fPIC for shared libs (patch by Fritz Elfert)
|
|
|
|
|
|
|
|
* Thu Sep 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- on 64bit systems, make sure libraries are located correctly.
|
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- summaries from specspo.
|
|
|
|
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Sun Jul 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:25 +00:00
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Tue Jun 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- FHS packaging to build on solaris2.5.1.
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Jun 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:25 +00:00
|
|
|
- use %%{_mandir} and %%{_tmppath}
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Fri May 12 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:25 +00:00
|
|
|
- updated URL and source location
|
|
|
|
- moved README to main package
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- compress man page.
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 5)
|
|
|
|
|
|
|
|
* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- link against glibc
|
|
|
|
|
|
|
|
* Mon Jul 27 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- upgrade to 1.1.3
|
|
|
|
|
|
|
|
* Fri May 08 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- upgraded to 1.1.2
|
|
|
|
- buildroot
|
|
|
|
|
|
|
|
* Tue Oct 07 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- added URL tag (down at the moment so it may not be correct)
|
|
|
|
- made zlib-devel require zlib
|
|
|
|
|
|
|
|
* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|