]> git.pld-linux.org Git - packages/libmng.git/blob - libmng.spec
- make libtool hapy.
[packages/libmng.git] / libmng.spec
1 Summary:        A library of functions for manipulating MNG format files
2 Name:           libmng
3 Version:        1.0.1
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 BuildRequires:  automake
14 BuildRequires:  autoconf
15 BuildRequires:  libtool
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 libmng - library for reading, writing, displaying and examing
21 Multiple-Image Network Graphics. MNG is the animation extension to the
22 popular PNG image-format.
23
24 %package devel
25 Summary:        Development tools for programs to manipulate MNG format files
26 Group:          Development/Libraries
27 Group(de):      Entwicklung/Libraries
28 Group(fr):      Development/Librairies
29 Group(pl):      Programowanie/Biblioteki
30 Requires:       %{name} = %{version}
31 Requires:       libjpeg-devel
32 Requires:       zlib-devel
33
34 %description devel
35 The libmng-devel package contains the header files and static
36 libraries necessary for developing programs using the MNG
37 (Multiple-Image Network Graphics) library.
38
39 If you want to develop programs which will manipulate MNG image format
40 files, you should install libmng-devel. You'll also need to install
41 the libmng package.
42
43 %package static
44 Summary:        Static MNG libraries
45 Group:          Development/Libraries
46 Group(de):      Entwicklung/Libraries
47 Group(fr):      Development/Librairies
48 Group(pl):      Programowanie/Biblioteki
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 Static MNG libraries.
53
54 %prep
55 %setup -q
56 %patch -p1
57
58 %build
59 libtoolize --copy --force
60 aclocal
61 autoconf
62 automake -a -c
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
71 gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82 %{_mandir}/man5/*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %doc *.gz doc/*.gz
87 %{_includedir}/*
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %attr(755,root,root) %{_libdir}/lib*.la
90 %{_mandir}/man3/*
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libmng.a
This page took 0.059736 seconds and 3 git commands to generate.