]>
Commit | Line | Data |
---|---|---|
46682b62 | 1 | Summary: A library of functions for manipulating MNG format files |
2 | Name: libmng | |
afc98945 | 3 | Version: 0.9.3 |
4 | Release: 1 | |
46682b62 | 5 | License: AS IS |
6 | Group: Libraries | |
11885210 | 7 | Group(de): Libraries |
46682b62 | 8 | Group(fr): Librairies |
11885210 | 9 | Group(pl): Biblioteki |
46682b62 | 10 | Source0: ftp://download.sourceforge.net/pub/sourceforge/libmng/%{name}-%{version}.tar.gz |
11885210 | 11 | Patch0: %{name}-automake.patch |
46682b62 | 12 | URL: http://www.libmng.com/ |
13 | BuildPrereq: automake | |
14 | BuildPrereq: autoconf | |
15 | BuildPrereq: zlib-devel | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
0293aa7b | 17 | |
18 | %description | |
19 | libmng - library for reading, writing, displaying and examing | |
20 | Multiple-Image Network Graphics. MNG is the animation extension to the | |
21 | popular PNG image-format. | |
22 | ||
23 | %package devel | |
46682b62 | 24 | Summary: Development tools for programs to manipulate MNG format files |
25 | Group: Development/Libraries | |
11885210 | 26 | Group(de): Entwicklung/Libraries |
46682b62 | 27 | Group(fr): Development/Librairies |
11885210 | 28 | Group(pl): Programowanie/Biblioteki |
46682b62 | 29 | Requires: %{name} = %{version} |
30 | ||
0293aa7b | 31 | %description devel |
32 | The libmng-devel package contains the header files and static | |
33 | libraries necessary for developing programs using the MNG | |
34 | (Multiple-Image Network Graphics) library. | |
35 | ||
36 | If you want to develop programs which will manipulate MNG image format | |
46682b62 | 37 | files, you should install libmng-devel. You'll also need to install |
0293aa7b | 38 | the libmng package. |
39 | ||
46682b62 | 40 | %package static |
41 | Summary: Static MNG libraries | |
42 | Group: Development/Libraries | |
11885210 | 43 | Group(de): Entwicklung/Libraries |
46682b62 | 44 | Group(fr): Development/Librairies |
11885210 | 45 | Group(pl): Programowanie/Biblioteki |
46682b62 | 46 | Requires: %{name}-devel = %{version} |
0293aa7b | 47 | |
46682b62 | 48 | %description static |
49 | Static MNG libraries. | |
0293aa7b | 50 | |
51 | %prep | |
afc98945 | 52 | %setup -q -n %{name} |
46682b62 | 53 | %patch -p1 |
0293aa7b | 54 | |
55 | %build | |
46682b62 | 56 | aclocal |
57 | automake | |
58 | autoconf | |
46682b62 | 59 | %configure |
60 | %{__make} | |
0293aa7b | 61 | |
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
0293aa7b | 64 | |
46682b62 | 65 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
0293aa7b | 66 | |
11885210 | 67 | gzip -9nf CHANGES README* doc/{doc.readme,libmng.txt} |
46682b62 | 68 | |
69 | %post -p /sbin/ldconfig | |
0293aa7b | 70 | %postun -p /sbin/ldconfig |
71 | ||
46682b62 | 72 | %clean |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
0293aa7b | 75 | %files |
46682b62 | 76 | %defattr(644,root,root,755) |
77 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
78 | %{_mandir}/man5/* | |
0293aa7b | 79 | |
80 | %files devel | |
46682b62 | 81 | %defattr(644,root,root,755) |
82 | %doc *.gz doc/*.gz | |
83 | %{_includedir}/* | |
84 | %attr(755,root,root) %{_libdir}/lib*.so | |
85 | %attr(755,root,root) %{_libdir}/lib*.la | |
86 | %{_mandir}/man3/* | |
87 | ||
88 | %files static | |
89 | %defattr(644,root,root,755) | |
90 | %{_libdir}/libmng.a |