1 Summary: A library of functions for manipulating MNG format files
10 Source0: ftp://download.sourceforge.net/pub/sourceforge/libmng/%{name}-%{version}.tar.gz
11 Patch0: %{name}-automake.patch
12 URL: http://www.libmng.com/
13 BuildRequires: automake
14 BuildRequires: autoconf
15 BuildRequires: libtool
16 BuildRequires: zlib-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 libmng - library for reading, writing, displaying and examing
21 Multiple-Image Network Graphics. MNG is the animation extension to the
22 popular PNG image-format.
25 Summary: Development tools for programs to manipulate MNG format files
26 Group: Development/Libraries
27 Group(de): Entwicklung/Libraries
28 Group(fr): Development/Librairies
29 Group(pl): Programowanie/Biblioteki
30 Requires: %{name} = %{version}
31 Requires: libjpeg-devel
35 The libmng-devel package contains the header files and static
36 libraries necessary for developing programs using the MNG
37 (Multiple-Image Network Graphics) library.
39 If you want to develop programs which will manipulate MNG image format
40 files, you should install libmng-devel. You'll also need to install
44 Summary: Static MNG libraries
45 Group: Development/Libraries
46 Group(de): Entwicklung/Libraries
47 Group(fr): Development/Librairies
48 Group(pl): Programowanie/Biblioteki
49 Requires: %{name}-devel = %{version}
59 libtoolize --copy --force
67 rm -rf $RPM_BUILD_ROOT
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
71 gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
73 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
85 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %attr(755,root,root) %{_libdir}/lib*.la
93 %defattr(644,root,root,755)