2006-05-22 20:32:01 +00:00
|
|
|
Summary: A library of functions for manipulating PNG image format files
|
2004-09-09 07:37:41 +00:00
|
|
|
Name: libpng
|
2007-02-12 16:16:05 +00:00
|
|
|
Epoch: 2
|
|
|
|
Version: 1.2.16
|
2007-08-22 17:43:36 +00:00
|
|
|
Release: 3%{?dist}
|
|
|
|
License: zlib
|
2004-09-09 07:37:41 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.libpng.org/pub/png/
|
2007-02-12 16:16:05 +00:00
|
|
|
|
|
|
|
Source: ftp://ftp.simplesystems.org/pub/png/src/libpng-%{version}.tar.bz2
|
|
|
|
Patch0: libpng-multilib.patch
|
|
|
|
Patch1: libpng-pngconf.patch
|
2007-05-23 21:02:52 +00:00
|
|
|
Patch2: libpng-trns-bug.patch
|
2007-02-12 16:16:05 +00:00
|
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRequires: zlib-devel
|
2004-09-09 07:42:10 +00:00
|
|
|
Conflicts: qt < 0:2.2.2
|
2004-09-09 07:37:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The libpng package contains a library of functions for creating and
|
|
|
|
manipulating PNG (Portable Network Graphics) image format files. PNG
|
|
|
|
is a bit-mapped graphics format similar to the GIF format. PNG was
|
|
|
|
created to replace the GIF format, since GIF uses a patented data
|
|
|
|
compression algorithm.
|
|
|
|
|
|
|
|
Libpng should be installed if you need to manipulate PNG format image
|
|
|
|
files.
|
|
|
|
|
|
|
|
%package devel
|
2007-02-12 16:16:05 +00:00
|
|
|
Summary: Development tools for programs to manipulate PNG image format files
|
2004-09-09 07:37:41 +00:00
|
|
|
Group: Development/Libraries
|
2007-02-12 16:16:05 +00:00
|
|
|
Requires: libpng = %{epoch}:%{version}-%{release} zlib-devel pkgconfig
|
2004-09-09 07:37:41 +00:00
|
|
|
|
|
|
|
%description devel
|
2007-02-12 16:16:05 +00:00
|
|
|
The libpng-devel package contains header files and documentation necessary
|
|
|
|
for developing programs using the PNG (Portable Network Graphics) library.
|
2004-09-09 07:37:41 +00:00
|
|
|
|
|
|
|
If you want to develop programs which will manipulate PNG image format
|
|
|
|
files, you should install libpng-devel. You'll also need to install
|
|
|
|
the libpng package.
|
|
|
|
|
2007-02-12 16:16:05 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static PNG image format file library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libpng-devel = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
The libpng-static package contains the statically linkable version of libpng.
|
|
|
|
Linking to static libraries is discouraged for most applications, but it is
|
|
|
|
necessary for some boot packages.
|
|
|
|
|
2004-09-09 07:37:41 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-02-12 16:16:05 +00:00
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2007-05-23 21:02:52 +00:00
|
|
|
%patch2 -p1
|
2006-05-23 19:15:16 +00:00
|
|
|
|
2004-09-09 07:37:41 +00:00
|
|
|
%build
|
2006-05-04 13:39:29 +00:00
|
|
|
%configure
|
2007-02-12 16:16:05 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 07:37:41 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-05-04 13:39:29 +00:00
|
|
|
%makeinstall
|
2007-02-12 16:16:05 +00:00
|
|
|
# We don't ship .la files.
|
2006-05-22 19:46:20 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/libpng.la
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/libpng12.la
|
2004-09-09 07:37:41 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 07:45:16 +00:00
|
|
|
%doc *.txt example.c README TODO CHANGES LICENSE
|
2004-09-09 07:41:06 +00:00
|
|
|
%{_libdir}/libpng*.so.*
|
2004-09-09 07:37:41 +00:00
|
|
|
%{_mandir}/man5/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 07:44:11 +00:00
|
|
|
%{_bindir}/*
|
2004-09-09 07:41:06 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/libpng*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
2004-09-09 07:37:47 +00:00
|
|
|
%{_mandir}/man3/*
|
2004-09-09 07:37:41 +00:00
|
|
|
|
2007-02-12 16:16:05 +00:00
|
|
|
%files static
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpng*.a
|
|
|
|
|
2004-09-09 07:37:41 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%changelog
|
2007-08-22 17:43:36 +00:00
|
|
|
* Wed Aug 22 2007 Tom Lane <tgl@redhat.com> 2:1.2.16-3
|
|
|
|
- Update License tag
|
|
|
|
- Rebuild to fix Fedora toolchain issues
|
|
|
|
|
2007-05-23 21:02:52 +00:00
|
|
|
* Wed May 23 2007 Tom Lane <tgl@redhat.com> 2:1.2.16-2
|
|
|
|
- Add patch to fix CVE-2007-2445
|
|
|
|
Related: #239542
|
|
|
|
|
2007-02-12 16:16:05 +00:00
|
|
|
* Mon Feb 12 2007 Tom Lane <tgl@redhat.com> 2:1.2.16-1
|
|
|
|
- Update to libpng 1.2.16
|
|
|
|
Resolves: #211705, #216706, #227334
|
|
|
|
- Separate libpng.a into a -static subpackage
|
|
|
|
- Other minor packaging fixes per Fedora merge review
|
|
|
|
Resolves: #226038
|
|
|
|
|
2006-10-02 15:05:30 +00:00
|
|
|
* Mon Oct 02 2006 Jesse Keating <jkeating@redhat.com> - 2:1.2.10-7
|
|
|
|
- Require pkgconfig in the -devel subpackage as it gets called by
|
|
|
|
/usr/bin/libpng-config
|
|
|
|
|
2006-07-27 17:36:17 +00:00
|
|
|
* Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 2:1.2.10-6
|
|
|
|
- Disable asm on arches other than i386 (#196580)
|
|
|
|
|
2006-07-12 06:55:27 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2:1.2.10-5.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-25 19:37:05 +00:00
|
|
|
* Thu May 25 2006 Matthias Clasen <mclasen@redhat.com> - 2:1.2.10-5
|
|
|
|
- Fix some paths in the -config script
|
|
|
|
|
2006-05-23 19:15:16 +00:00
|
|
|
* Tue May 23 2006 Matthias Clasen <mclasen@redhat.com> - 2:1.2.10-4
|
|
|
|
- fix multilib conflicts
|
|
|
|
|
2006-05-22 20:32:01 +00:00
|
|
|
* Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> - 2:1.2.10-3
|
|
|
|
- Add a comment about the need to keep static libraries
|
|
|
|
|
2006-05-22 19:46:20 +00:00
|
|
|
* Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> - 2:1.2.10-2
|
|
|
|
- Re-add static libraries
|
|
|
|
|
2006-05-04 13:39:29 +00:00
|
|
|
* Thu May 4 2006 Matthias Clasen <mclasen@redhat.com> - 2:1.2.10-1
|
|
|
|
- Update to 1.2.10
|
|
|
|
- Drop static libraries
|
|
|
|
|
2006-02-11 04:11:17 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2:1.2.8-2.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:42:56 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2:1.2.8-2.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:41:40 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-02 17:15:32 +00:00
|
|
|
* Wed Mar 2 2005 Matthias Clasen <mclasen@redhat.com> - 2:1.2.8-2
|
|
|
|
- Rebuild with gcc4
|
|
|
|
|
2004-12-06 16:12:31 +00:00
|
|
|
* Mon Dec 06 2004 Matthias Clasen <mclasen@redhat.com> - 2:1.2.8-1
|
|
|
|
- Update to 1.2.8
|
|
|
|
|
|
|
|
* Wed Sep 15 2004 Matthias Clasen <mclasen@redhat.com> - 2:1.2.7-1
|
2004-09-15 14:17:59 +00:00
|
|
|
- Update to 1.2.7
|
|
|
|
|
2004-09-09 07:45:27 +00:00
|
|
|
* Tue Aug 17 2004 Matthias Clasen <mclasen@redhat.com> - 2:1.2.6-1
|
|
|
|
- Update to 1.2.6
|
|
|
|
- Combine patches
|
|
|
|
|
2004-09-09 07:45:16 +00:00
|
|
|
* Wed Aug 4 2004 Matthias Clasen <mclasen@redhat.com> 2:1.2.5-9
|
|
|
|
- Build for FC3
|
|
|
|
|
|
|
|
* Fri Jul 30 2004 Matthias Clasen <mclasen@redhat.com>
|
|
|
|
- Include LICENSE.
|
|
|
|
|
|
|
|
* Fri Jul 23 2004 Matthias Clasen <mclasen@redhat.com> 2:1.2.5-8
|
|
|
|
- Build for FC2
|
|
|
|
|
|
|
|
* Fri Jul 23 2004 Matthias Clasen <mclasen@redhat.com> 2:1.2.5-7
|
|
|
|
- Replace the patches for individual security problems with the
|
|
|
|
cumulative patch issued by the png developers.
|
|
|
|
- Build for FC1
|
|
|
|
|
2004-09-09 07:44:43 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Jun 14 2004 Matthias Clasen <mclasen@redhat.com> - 2:1.2.5-5
|
|
|
|
- Rebuild for FC2
|
|
|
|
|
|
|
|
* Mon Jun 14 2004 Matthias Clasen <mclasen@redhat.com> - 2:1.2.5-4
|
|
|
|
- Rebuild for FC1
|
|
|
|
|
|
|
|
* Mon Jun 14 2004 Matthias Clasen <mclasen@redhat.com> - 2:1.2.5-3
|
|
|
|
- Reinstate and improve the transfix patch which got lost sometime ago,
|
|
|
|
but is still needed for CAN-2002-1363 (#125934)
|
|
|
|
|
2004-09-09 07:44:20 +00:00
|
|
|
* Mon May 24 2004 Than Ngo <than@redhat.com> 2:1.2.5-2
|
|
|
|
- add patch to link libm automatically
|
|
|
|
- get rid of rpath
|
|
|
|
|
2004-09-09 07:44:11 +00:00
|
|
|
* Wed May 19 2004 Matthias Clasen <mclasen@redhat.com> 2:1.2.5-1
|
|
|
|
- 1.2.5
|
|
|
|
|
2004-09-09 07:43:33 +00:00
|
|
|
* Mon May 3 2004 Matthias Clasen <mclasen@redhat.com> 2:1.2.2-22
|
|
|
|
- Redo the out-of-bounds fix in a slightly better way.
|
|
|
|
|
|
|
|
* Wed Apr 21 2004 Matthias Clasen <mclasen@redhat.com>
|
|
|
|
- Bump release number to disambiguate n-v-rs.
|
|
|
|
|
|
|
|
* Mon Apr 19 2004 Matthias Clasen <mclasen@redhat.com>
|
|
|
|
- fix a possible out-of-bounds read in the error message
|
|
|
|
handler. #121229
|
|
|
|
|
2004-09-09 07:42:52 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 27 2004 Mark McLoughlin <markmc@redhat.com> 2:1.2.2-19
|
|
|
|
- rebuild with changed bits/setjmp.h on ppc
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:42:10 +00:00
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Jun 3 2003 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- add explicit epoch's where needed.
|
|
|
|
|
2004-09-09 07:41:20 +00:00
|
|
|
* Mon Feb 24 2003 Jonathan Blandford <jrb@redhat.com> 2:1.2.2-15
|
|
|
|
- change pkg-config to use libdir instead of hardcoding /usr/lib
|
|
|
|
|
|
|
|
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Feb 20 2003 Jonathan Blandford <jrb@redhat.com> 2:1.2.2-12
|
|
|
|
- add Provides: libpng.so.3, #67007
|
|
|
|
|
|
|
|
* Fri Jan 24 2003 Jonathan Blandford <jrb@redhat.com>
|
|
|
|
- change requires to include the Epoch
|
|
|
|
|
|
|
|
* Thu Jan 23 2003 Karsten Hopp <karsten@redhat.de> 2:1.2.2-11
|
|
|
|
- Bump & rebuild
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Jan 15 2003 Elliot Lee <sopwith@redhat.com> 2:1.2.2-9
|
|
|
|
- Bump & rebuild
|
|
|
|
|
|
|
|
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 2:1.2.2-7
|
|
|
|
- merge changes in from -6hammer
|
2004-09-09 07:41:16 +00:00
|
|
|
|
2004-09-09 07:41:11 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 07:41:06 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Tue May 7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-4
|
2007-02-12 16:16:05 +00:00
|
|
|
- Don't own {_libdir}/pkgconfig
|
2004-09-09 07:41:06 +00:00
|
|
|
- Don't strip library, that's up to rpm
|
|
|
|
|
|
|
|
* Tue May 7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-3
|
|
|
|
- Forgot png.h
|
|
|
|
|
|
|
|
* Mon May 6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-2
|
|
|
|
- Fix compatibility with everyone else.
|
|
|
|
|
|
|
|
* Thu May 2 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.2.2 plus makefile patches tarball
|
|
|
|
- update file list to contain versioned libpng only
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
2004-09-09 07:40:11 +00:00
|
|
|
|
2004-09-09 07:41:06 +00:00
|
|
|
* Mon Dec 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.1-1
|
|
|
|
- 1.2.1
|
2004-09-09 07:39:01 +00:00
|
|
|
|
2004-09-09 07:41:06 +00:00
|
|
|
* Wed Sep 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.0-1
|
|
|
|
- 1.2.0
|
2004-09-09 07:38:21 +00:00
|
|
|
|
2007-02-12 16:16:05 +00:00
|
|
|
* Mon Jul 16 2001 Trond Eivind Glomsrd <teg@redhat.com>
|
2004-09-09 07:38:04 +00:00
|
|
|
- s/Copyright/License/
|
|
|
|
- fix weird versioning system (epoch was set to "2" in the main
|
|
|
|
package, serial to "1" in the devel package. Huh?)
|
|
|
|
|
2004-09-09 07:37:53 +00:00
|
|
|
* Wed Jun 20 2001 Than Ngo <than@redhat.com> 1.0.12-1
|
|
|
|
- update to 1.0.12
|
|
|
|
- add missing libpng symlink
|
|
|
|
|
|
|
|
* Thu May 3 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.0.11-2
|
|
|
|
- libpng-devel requires zlib-devel (since png.h includes zlib.h)
|
|
|
|
(#38883)
|
|
|
|
|
|
|
|
* Wed May 2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.0.11-1
|
|
|
|
- 1.0.11
|
|
|
|
|
|
|
|
* Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- 1.0.10
|
|
|
|
|
2004-09-09 07:37:47 +00:00
|
|
|
* Tue Feb 6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- 1.0.9, fixes Mozilla problems
|
|
|
|
|
|
|
|
* Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Rebuild to get rid of 0777 dirs
|
|
|
|
|
|
|
|
* Wed Nov 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Remove the workaround for Bug #20018 (from Oct 30).
|
|
|
|
Qt 2.2.2 fixes the problem the workaround addressed.
|
|
|
|
|
|
|
|
* Mon Oct 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Work around a problem causing konqueror to segfault in image preview
|
|
|
|
mode (Bug #20018)
|
|
|
|
- Copy SuSE 7.0's patch to handle bad chunks
|
|
|
|
|
|
|
|
* Sun Sep 3 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- only include the man5 man-pages once in the main rpm
|
|
|
|
|
2004-09-09 07:37:41 +00:00
|
|
|
* Thu Jul 28 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- upgrade to 1.0.8 - fixes small memory leak, other bugs
|
|
|
|
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- patchlevel c
|
|
|
|
- FHSify
|
|
|
|
|
|
|
|
* Tue Mar 21 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- update to 1.0.6
|
|
|
|
|
|
|
|
* Mon Mar 13 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- change serial to Epoch to get dependencies working correctly
|
|
|
|
|
|
|
|
* Fri Feb 11 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- move buildroot and add URL
|
|
|
|
|
2007-02-12 16:16:05 +00:00
|
|
|
* Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
2004-09-09 07:37:41 +00:00
|
|
|
- strip library
|
|
|
|
- rebuild to compress man pages
|
|
|
|
|
2007-02-12 16:16:05 +00:00
|
|
|
* Sun Nov 21 1999 Bernhard Rosenkraenzer <bero@redhat.com>
|
2004-09-09 07:37:41 +00:00
|
|
|
- 1.0.5
|
|
|
|
- some tweaks to spec file to make updating easier
|
|
|
|
- handle RPM_OPT_FLAGS
|
|
|
|
|
|
|
|
* Mon Sep 20 1999 Matt Wilson <msw@redhat.com>
|
|
|
|
- changed requires in libpng-devel to include serial
|
|
|
|
- corrected typo
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 2)
|
|
|
|
|
|
|
|
* Sun Feb 07 1999 Michael Johnson <johnsonm@redhat.com>
|
|
|
|
- rev to 1.0.3
|
|
|
|
|
|
|
|
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- build for 6.0
|
|
|
|
|
|
|
|
* Wed Sep 23 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- we are Serial: 1 now because we are reverting the 1.0.2 version from 5.2
|
|
|
|
beta to this prior one
|
|
|
|
- install man pages; set defattr defaults
|
|
|
|
|
|
|
|
* Thu May 07 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- devel subpackage moved to Development/Libraries
|
|
|
|
|
|
|
|
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- upgraded to 1.0.1
|
|
|
|
- added buildroot
|
|
|
|
|
|
|
|
* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- updated to new version
|
|
|
|
- spec file cleanups
|
|
|
|
|
|
|
|
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|
|
|
|
|