|
@@ -1,30 +1,37 @@
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
Name: libmng
|
|
|
-Version: 1.0.10
|
|
|
-Release: 3%{?_dist_release}
|
|
|
-URL: http://www.libmng.com/
|
|
|
Summary: A library of functions for manipulating MNG format files.
|
|
|
+Version: 1.0.10
|
|
|
+Release: 4%{?_dist_release}
|
|
|
+
|
|
|
+Group: System Environment/Libraries
|
|
|
License: AS IS
|
|
|
+URL: http://www.libmng.com/
|
|
|
+
|
|
|
Source: http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.gz
|
|
|
-Group: System Environment/Libraries
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildPrereq: glibc-devel zlib-devel libjpeg-devel lcms-devel
|
|
|
-BuildPrereq: automake autoconf libtool
|
|
|
-PreReq: ldconfig
|
|
|
-Requires: zlib libjpeg lcms
|
|
|
|
|
|
-%package devel
|
|
|
-Summary: Development tools for programs to manipulate MNG format files.
|
|
|
-Group: Development/Libraries
|
|
|
-Requires: %{name} = %{version}-%{release}
|
|
|
-Requires: zlib-devel libjpeg-devel lcms-devel
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+BuildRequires: automake
|
|
|
+BuildRequires: autoconf
|
|
|
+BuildRequires: lcms-devel
|
|
|
+BuildRequires: libjpeg-devel
|
|
|
+BuildRequires: libtool
|
|
|
+BuildRequires: zlib-devel
|
|
|
|
|
|
%description
|
|
|
libmng - library for reading, writing, displaying and examing
|
|
|
Multiple-Image Network Graphics. MNG is the animation extension to the
|
|
|
popular PNG image-format.
|
|
|
|
|
|
+%package devel
|
|
|
+Summary: Development tools for programs to manipulate MNG format files.
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Requires: lcms-devel
|
|
|
+Requires: libjpeg-devel
|
|
|
+Requires: zlib-devel
|
|
|
+
|
|
|
%description devel
|
|
|
The libmng-devel package contains the header files
|
|
|
necessary for developing programs using the MNG
|
|
@@ -54,7 +61,9 @@ Summary: Development tools for programs to manipulate MNG format files.
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
-Requires: compat32-zlib-devel compat32-libjpeg-devel compat32-lcms-devel
|
|
|
+Requires: compat32-lcms-devel
|
|
|
+Requires: compat32-libjpeg-devel
|
|
|
+Requires: compat32-zlib-devel
|
|
|
|
|
|
%description -n compat32-%{name}-devel
|
|
|
The libmng-devel package contains the header files
|
|
@@ -66,8 +75,6 @@ necessary for developing programs using the MNG
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
-# generate, but don't run
|
|
|
-#[ ! -x ./configure ] && ./autogen.sh
|
|
|
cp -p makefiles/configure.in .
|
|
|
cp -p makefiles/Makefile.am .
|
|
|
|
|
@@ -124,6 +131,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-4
|
|
|
+- rebuilt with new toolchain
|
|
|
+- s/BuildPrereq/BuildRequires/g
|
|
|
+
|
|
|
* Mon Jul 20 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-3
|
|
|
- added compat32 package for x86_64 arch support
|
|
|
|