cvsdist 0310f03
Summary: The zlib compression and decompression library.
cvsdist 0310f03
Name: zlib
jbj 03a430c
Version: 1.2.2.2
jbj c2a1769
Release: 1
cvsdist 0310f03
Group: System Environment/Libraries
cvsdist 0310f03
Source: ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-%{version}.tar.gz
cvsdist cac4362
Patch0: zlib-1.1.4-make-test.patch
cvsdist c4a355c
URL: http://www.gzip.org/zlib/
cvsdist c4a355c
License: BSD
cvsdist 0310f03
Prefix: %{_prefix}
cvsdist c4a355c
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist 0310f03
cvsdist 0310f03
%description
cvsdist 050e865
Zlib is a general-purpose, patent-free, lossless data compression
cvsdist 050e865
library which is used by many different programs.
cvsdist 0310f03
cvsdist 0310f03
%package devel
cvsdist 050e865
Summary: Header files and libraries for Zlib development.
cvsdist 0310f03
Group: Development/Libraries
cvsdist c4a355c
Requires: zlib = %{version}
cvsdist 0310f03
cvsdist 0310f03
%description devel
cvsdist 0310f03
The zlib-devel package contains the header files and libraries needed
cvsdist 0310f03
to develop programs that use the zlib compression and decompression
cvsdist 0310f03
library.
cvsdist 0310f03
cvsdist 0310f03
%prep
cvsdist 0310f03
%setup -q
cvsdist cac4362
%patch0 -p1 -b .make-test
cvsdist 0310f03
cvsdist 0310f03
%build
cvsdist 0310f03
cvsdist fc75c2b
CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix}
cvsdist 280d202
cvsdist 0310f03
# now build the static lib
cvsdist 0310f03
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
cvsdist 0310f03
cvsdist 0310f03
%install
cvsdist 0310f03
rm -rf ${RPM_BUILD_ROOT}
cvsdist 0310f03
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
cvsdist 280d202
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3
cvsdist 0310f03
cvsdist 7162249
CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix}
cvsdist 0310f03
make install prefix=${RPM_BUILD_ROOT}%{_prefix}
cvsdist 0310f03
cvsdist 0310f03
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
cvsdist 0310f03
make install prefix=${RPM_BUILD_ROOT}%{_prefix}
cvsdist 0310f03
cvsdist 0310f03
install -m644 zutil.h ${RPM_BUILD_ROOT}%{_includedir}/zutil.h
cvsdist 0310f03
cvsdist fc75c2b
if [ "%{_prefix}/lib" != "%{_libdir}" ]; then
cvsdist fc75c2b
    mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
cvsdist fc75c2b
    mv ${RPM_BUILD_ROOT}%{_prefix}/lib/* ${RPM_BUILD_ROOT}%{_libdir}
cvsdist fc75c2b
    rmdir ${RPM_BUILD_ROOT}%{_prefix}/lib
cvsdist fc75c2b
fi
cvsdist fc75c2b
cvsdist 280d202
%check
cvsdist 280d202
make %{?_smp_mflags} test
cvsdist 280d202
cvsdist 0310f03
%clean
cvsdist 0310f03
rm -rf ${RPM_BUILD_ROOT}
cvsdist 0310f03
cvsdist 0310f03
%post -p /sbin/ldconfig
cvsdist 0310f03
cvsdist 0310f03
%postun -p /sbin/ldconfig
cvsdist 0310f03
cvsdist 0310f03
%files
cvsdist 0310f03
%defattr(-,root,root)
cvsdist 0310f03
%doc README
cvsdist 0310f03
%{_libdir}/libz.so.*
cvsdist 0310f03
cvsdist 0310f03
%files devel
cvsdist 0310f03
%defattr(-,root,root)
cvsdist 050e865
%doc ChangeLog algorithm.txt minigzip.c example.c
cvsdist 0310f03
%{_libdir}/*.a
cvsdist 0310f03
%{_libdir}/*.so
cvsdist 0310f03
%{_includedir}/*
cvsdist 0310f03
%{_mandir}/man3/zlib.3*
cvsdist 0310f03
cvsdist 0310f03
%changelog
jbj 03a430c
* Sat Jan  1 2005 Jeff Johnson <jbj@jbj.org> 1.2.2.2-1
jbj 03a430c
- upgrade to 1.2.2.2.
jbj 03a430c
jbj 0bf8e9f
* Fri Nov 12 2004 Jeff Johnson <jbj@jbj.org> 1.2.2.1-1
jbj 0bf8e9f
- upgrade to 1.2.2.1.
jbj 0bf8e9f
jbj c2a1769
* Sun Sep 12 2004 Jeff Johnson <jbj@redhat.com> 1.2.1.2-1
jbj c2a1769
- update to 1.2.1.2 to fix 2 DoS problems (#131385).
jbj c2a1769
cvsdist af1b9dc
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist af1b9dc
- rebuilt
cvsdist af1b9dc
cvsdist b178013
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist b178013
- rebuilt
cvsdist b178013
cvsdist b178013
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist b178013
- rebuilt
cvsdist b178013
cvsdist 26b2f21
* Sun Jan 18 2004 Jeff Johnson <jbj@jbj.org> 1.2.1.1-1
cvsdist 26b2f21
- upgrade to zlib-1.2.1.1.
cvsdist 26b2f21
cvsdist 26b2f21
* Sun Nov 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 26b2f21
- update to 1.2.1 release
cvsdist 26b2f21
cvsdist 26b2f21
* Mon Oct 13 2003 Jeff Johnson <jbj@jbj.org> 1.2.0.7-3
cvsdist 26b2f21
- unrevert zlib.h include constants (#106291), rejected upstream.
cvsdist 26b2f21
cvsdist 280d202
* Wed Oct  8 2003 Jeff Johnson <jbj@jbj.org> 1.2.0.7-2
cvsdist 280d202
- fix: gzeof not set when reading compressed file (#106424).
cvsdist 280d202
- fix: revert zlib.h include constants for now (#106291).
cvsdist 280d202
cvsdist 280d202
* Tue Sep 23 2003 Jeff Johnson <jbj@redhat.com> 1.2.0.7-1
cvsdist 280d202
- update to 1.2.0.7, penultimate 1.2.1 release candidate.
cvsdist 280d202
cvsdist 280d202
* Tue Jul 22 2003 Jeff Johnson <jbj@redhat.com> 1.2.0.3-0.1
cvsdist 280d202
- update to release candidate.
cvsdist 280d202
cvsdist 280d202
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 280d202
- rebuilt
cvsdist 280d202
cvsdist 280d202
* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-9
cvsdist 280d202
- rebuild, revert from 1.2.0.1.
cvsdist 280d202
cvsdist 7162249
* Mon Feb 24 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-8
cvsdist 7162249
- fix gzprintf buffer overrun (#84961).
cvsdist 7162249
cvsdist 7162249
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.1.4-7
cvsdist 7162249
- rebuilt
cvsdist 7162249
cvsdist 7162249
* Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 1.1.4-6
cvsdist 7162249
- Make ./configure use $CC to ease cross-compilation
cvsdist 7162249
cvsdist 7162249
* Tue Nov 12 2002 Jeff Johnson <jbj@redhat.com> 1.1.4-5
cvsdist 7162249
- rebuild from cvs.
cvsdist 7162249
cvsdist 5cd35da
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 5cd35da
- automated rebuild
cvsdist 5cd35da
cvsdist 9f8c60d
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 9f8c60d
- automated rebuild
cvsdist 9f8c60d
cvsdist cac4362
* Fri Apr 26 2002 Jakub Jelinek <jakub@redhat.com> 1.1.4-2
cvsdist cac4362
- remove glibc patch, it is no longer needed (zlib uses gcc -shared
cvsdist cac4362
  as it should)
cvsdist cac4362
- run tests and only build the package if they succeed
cvsdist cac4362
cvsdist cac4362
* Thu Apr 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1.4-1
cvsdist cac4362
- 1.1.4
cvsdist cac4362
cvsdist 60b7d1b
* Wed Jan 30 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1.3-25.7
cvsdist 60b7d1b
- Fix double free
cvsdist 60b7d1b
cvsdist 050e865
* Sun Aug 26 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.1.3-24
cvsdist 050e865
- Add example.c and minigzip.c to the doc files, as
cvsdist 050e865
  they are listed as examples in the README (#52574)
cvsdist 050e865
cvsdist c4a355c
* Mon Jun 18 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist c4a355c
- Updated URL
cvsdist c4a355c
- Add version dependency for zlib-devel
cvsdist c4a355c
- s/Copyright/License/
cvsdist c4a355c
cvsdist fc75c2b
* Wed Feb 14 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist fc75c2b
- bumped version number - this is the old version without the performance enhancements
cvsdist fc75c2b
cvsdist fc75c2b
* Fri Sep 15 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist fc75c2b
- add -fPIC for shared libs (patch by Fritz Elfert)
cvsdist fc75c2b
cvsdist fc75c2b
* Thu Sep  7 2000 Jeff Johnson <jbj@redhat.com>
cvsdist fc75c2b
- on 64bit systems, make sure libraries are located correctly.
cvsdist fc75c2b
cvsdist 0310f03
* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 0310f03
- summaries from specspo.
cvsdist 0310f03
cvsdist 0310f03
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cvsdist 0310f03
- automatic rebuild
cvsdist 0310f03
cvsdist 0310f03
* Sun Jul 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 0310f03
- rebuild
cvsdist 0310f03
cvsdist 0310f03
* Tue Jun 13 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 0310f03
- FHS packaging to build on solaris2.5.1.
cvsdist 0310f03
cvsdist 0310f03
* Wed Jun 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 0310f03
- use %%{_mandir} and %%{_tmppath}
cvsdist 0310f03
cvsdist 0310f03
* Fri May 12 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 0310f03
- updated URL and source location
cvsdist 0310f03
- moved README to main package
cvsdist 0310f03
cvsdist 0310f03
* Mon Feb  7 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 0310f03
- compress man page.
cvsdist 0310f03
cvsdist 0310f03
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 0310f03
- auto rebuild in the new build environment (release 5)
cvsdist 0310f03
cvsdist 0310f03
* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 0310f03
- link against glibc
cvsdist 0310f03
cvsdist 0310f03
* Mon Jul 27 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 0310f03
- upgrade to 1.1.3
cvsdist 0310f03
cvsdist 0310f03
* Fri May 08 1998 Prospector System <bugs@redhat.com>
cvsdist 0310f03
- translations modified for de, fr, tr
cvsdist 0310f03
cvsdist 0310f03
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 0310f03
- upgraded to 1.1.2
cvsdist 0310f03
- buildroot
cvsdist 0310f03
cvsdist 0310f03
* Tue Oct 07 1997 Donnie Barnes <djb@redhat.com>
cvsdist 0310f03
- added URL tag (down at the moment so it may not be correct)
cvsdist 0310f03
- made zlib-devel require zlib
cvsdist 0310f03
cvsdist 0310f03
* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
cvsdist 0310f03
- built against glibc