1 Summary: A library of functions for manipulating MNG format files
9 Source0: ftp://download.sourceforge.net/pub/sourceforge/libmng/%{name}-%{version}.tar.gz
10 Patch0: libmng-automake.patch
11 URL: http://www.libmng.com/
14 BuildPrereq: zlib-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 libmng - library for reading, writing, displaying and examing
19 Multiple-Image Network Graphics. MNG is the animation extension to the
20 popular PNG image-format.
23 Summary: Development tools for programs to manipulate MNG format files
24 Group: Development/Libraries
25 Group(pl): Programowanie/Biblioteki
26 Group(fr): Development/Librairies
27 Requires: %{name} = %{version}
30 The libmng-devel package contains the header files and static
31 libraries necessary for developing programs using the MNG
32 (Multiple-Image Network Graphics) library.
34 If you want to develop programs which will manipulate MNG image format
35 files, you should install libmng-devel. You'll also need to install
39 Summary: Static MNG libraries
40 Group: Development/Libraries
41 Group(pl): Programowanie/Biblioteki
42 Group(fr): Development/Librairies
43 Requires: %{name}-devel = %{version}
56 LDFLAGS="-s"; export LDFLAGS
61 rm -rf $RPM_BUILD_ROOT
63 %{__make} install DESTDIR=$RPM_BUILD_ROOT
65 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
67 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
68 CHANGES README* doc/{doc.readme,libmng.txt}
70 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/lib*.so
86 %attr(755,root,root) %{_libdir}/lib*.la
90 %defattr(644,root,root,755)