]>
Commit | Line | Data |
---|---|---|
46682b62 | 1 | Summary: A library of functions for manipulating MNG format files |
2 | Name: libmng | |
b012e7fe | 3 | Version: 1.0.0 |
193debd1 | 4 | Release: 1 |
879db39e | 5 | License: BSD-like |
46682b62 | 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} |
97319d4f JB |
30 | Requires: libjpeg-devel |
31 | Requires: zlib-devel | |
46682b62 | 32 | |
0293aa7b | 33 | %description devel |
34 | The libmng-devel package contains the header files and static | |
35 | libraries necessary for developing programs using the MNG | |
36 | (Multiple-Image Network Graphics) library. | |
37 | ||
38 | If you want to develop programs which will manipulate MNG image format | |
46682b62 | 39 | files, you should install libmng-devel. You'll also need to install |
0293aa7b | 40 | the libmng package. |
41 | ||
46682b62 | 42 | %package static |
43 | Summary: Static MNG libraries | |
44 | Group: Development/Libraries | |
11885210 | 45 | Group(de): Entwicklung/Libraries |
46682b62 | 46 | Group(fr): Development/Librairies |
11885210 | 47 | Group(pl): Programowanie/Biblioteki |
46682b62 | 48 | Requires: %{name}-devel = %{version} |
0293aa7b | 49 | |
46682b62 | 50 | %description static |
51 | Static MNG libraries. | |
0293aa7b | 52 | |
53 | %prep | |
b012e7fe | 54 | %setup -q |
46682b62 | 55 | %patch -p1 |
0293aa7b | 56 | |
57 | %build | |
46682b62 | 58 | aclocal |
46682b62 | 59 | autoconf |
b012e7fe | 60 | automake -a -c |
46682b62 | 61 | %configure |
62 | %{__make} | |
0293aa7b | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
0293aa7b | 66 | |
46682b62 | 67 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
0293aa7b | 68 | |
4b4577d2 | 69 | gzip -9nf Changes README* doc/{doc.readme,libmng.txt} |
46682b62 | 70 | |
71 | %post -p /sbin/ldconfig | |
0293aa7b | 72 | %postun -p /sbin/ldconfig |
73 | ||
46682b62 | 74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
0293aa7b | 77 | %files |
46682b62 | 78 | %defattr(644,root,root,755) |
79 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
80 | %{_mandir}/man5/* | |
0293aa7b | 81 | |
82 | %files devel | |
46682b62 | 83 | %defattr(644,root,root,755) |
84 | %doc *.gz doc/*.gz | |
85 | %{_includedir}/* | |
86 | %attr(755,root,root) %{_libdir}/lib*.so | |
87 | %attr(755,root,root) %{_libdir}/lib*.la | |
88 | %{_mandir}/man3/* | |
89 | ||
90 | %files static | |
91 | %defattr(644,root,root,755) | |
92 | %{_libdir}/libmng.a |