]> git.pld-linux.org Git - packages/libmng.git/blob - libmng.spec
- libmng-devel Requires: {libjpeg,zlib}-devel
[packages/libmng.git] / libmng.spec
1 Summary:        A library of functions for manipulating MNG format files
2 Name:           libmng
3 Version:        1.0.0
4 Release:        1
5 License:        BSD-like
6 Group:          Libraries
7 Group(de):      Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
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 BuildPrereq:    automake
14 BuildPrereq:    autoconf
15 BuildPrereq:    zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
24 Summary:        Development tools for programs to manipulate MNG format files
25 Group:          Development/Libraries
26 Group(de):      Entwicklung/Libraries
27 Group(fr):      Development/Librairies
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30 Requires:       libjpeg-devel
31 Requires:       zlib-devel
32
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
39 files, you should install libmng-devel. You'll also need to install
40 the libmng package.
41
42 %package static
43 Summary:        Static MNG libraries
44 Group:          Development/Libraries
45 Group(de):      Entwicklung/Libraries
46 Group(fr):      Development/Librairies
47 Group(pl):      Programowanie/Biblioteki
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 Static MNG libraries.
52
53 %prep
54 %setup -q
55 %patch -p1
56
57 %build
58 aclocal
59 autoconf
60 automake -a -c
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68
69 gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/lib*.so.*.*
80 %{_mandir}/man5/*
81
82 %files devel
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
This page took 0.617816 seconds and 3 git commands to generate.