]> git.pld-linux.org Git - packages/libmng.git/blob - libmng.spec
- updated to 1.0.0.
[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
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
37 files, you should install libmng-devel. You'll also need to install
38 the libmng package.
39
40 %package static
41 Summary:        Static MNG libraries
42 Group:          Development/Libraries
43 Group(de):      Entwicklung/Libraries
44 Group(fr):      Development/Librairies
45 Group(pl):      Programowanie/Biblioteki
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 Static MNG libraries.
50
51 %prep
52 %setup -q
53 %patch -p1
54
55 %build
56 aclocal
57 autoconf
58 automake -a -c
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install DESTDIR=$RPM_BUILD_ROOT
66
67 gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/lib*.so.*.*
78 %{_mandir}/man5/*
79
80 %files devel
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
This page took 0.070161 seconds and 3 git commands to generate.