1 Summary: A library of functions for manipulating MNG format files
11 Source0: http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.gz
12 Patch0: %{name}-automake.patch
13 URL: http://www.libmng.com/
14 BuildRequires: automake
15 BuildRequires: autoconf >= 2.50
16 BuildRequires: libjpeg-devel
17 BuildRequires: libtool
18 BuildRequires: zlib-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 libmng - library for reading, writing, displaying and examing
23 Multiple-Image Network Graphics. MNG is the animation extension to the
24 popular PNG image-format.
27 Summary: Development tools for programs to manipulate MNG format files
28 Group: Development/Libraries
29 Group(de): Entwicklung/Libraries
30 Group(fr): Development/Librairies
31 Group(pl): Programowanie/Biblioteki
32 Requires: %{name} = %{version}
33 Requires: libjpeg-devel
37 The libmng-devel package contains the header files and static
38 libraries necessary for developing programs using the MNG
39 (Multiple-Image Network Graphics) library.
41 If you want to develop programs which will manipulate MNG image format
42 files, you should install libmng-devel. You'll also need to install
46 Summary: Static MNG libraries
47 Group: Development/Libraries
48 Group(de): Entwicklung/Libraries
49 Group(fr): Development/Librairies
50 Group(pl): Programowanie/Biblioteki
51 Requires: %{name}-devel = %{version}
61 rm -f acinclude.m4 missing
62 libtoolize --copy --force
74 rm -rf $RPM_BUILD_ROOT
76 %{__make} install DESTDIR=$RPM_BUILD_ROOT
78 gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so.*.*
92 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/lib*.so
96 %attr(755,root,root) %{_libdir}/lib*.la
100 %defattr(644,root,root,755)