auto-import libpng-1.2.2-8 from libpng-1.2.2-8.src.rpm
This commit is contained in:
parent
e65541b4c9
commit
8417c5155d
10
libpng.spec
10
libpng.spec
@ -1,13 +1,15 @@
|
||||
Summary: A library of functions for manipulating PNG image format files.
|
||||
Name: libpng
|
||||
Version: 1.2.2
|
||||
Release: 6
|
||||
Release: 8
|
||||
License: OSI certified
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://swrinde.nde.swri.edu/pub/png/src/libpng-%{version}.tar.bz2
|
||||
Source2: ftp://swrinde.nde.swri.edu/pub/png/src/libpng-1.2.2patch03-makefiles.tar.gz
|
||||
Patch0: libpng-1.2.2-rhconf.patch
|
||||
Patch1: libpng-1.0.9-badchunks.patch
|
||||
Patch2: libpng-1.0.12-transfix.patch
|
||||
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildPrereq: zlib-devel
|
||||
URL: http://www.libpng.org/pub/png/
|
||||
@ -28,7 +30,7 @@ files.
|
||||
%package devel
|
||||
Summary: Development tools for programs to manipulate PNG image format files.
|
||||
Group: Development/Libraries
|
||||
Requires: libpng = %{version}, zlib-devel
|
||||
Requires: libpng = %{epoch}:%{version}, zlib-devel
|
||||
|
||||
%description devel
|
||||
The libpng-devel package contains the header files and static
|
||||
@ -47,6 +49,7 @@ the libpng package.
|
||||
ln -s scripts/makefile.linux Makefile
|
||||
%patch0 -p1 -b .rhconf
|
||||
%patch1 -p1 -b .badchunk
|
||||
%patch2 -p1 -b .transfix
|
||||
|
||||
%build
|
||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||
@ -87,6 +90,9 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man5/libpng.so*
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Thu Dec 19 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
- add security update
|
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user