]> git.pld-linux.org Git - packages/libmng.git/blame - libmng.spec
- libmng-devel Requires: {libjpeg,zlib}-devel
[packages/libmng.git] / libmng.spec
CommitLineData
46682b62 1Summary: A library of functions for manipulating MNG format files
2Name: libmng
b012e7fe 3Version: 1.0.0
193debd1 4Release: 1
879db39e 5License: BSD-like
46682b62 6Group: Libraries
11885210 7Group(de): Libraries
46682b62 8Group(fr): Librairies
11885210 9Group(pl): Biblioteki
46682b62 10Source0: ftp://download.sourceforge.net/pub/sourceforge/libmng/%{name}-%{version}.tar.gz
11885210 11Patch0: %{name}-automake.patch
46682b62 12URL: http://www.libmng.com/
13BuildPrereq: automake
14BuildPrereq: autoconf
15BuildPrereq: zlib-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0293aa7b 17
18%description
19libmng - library for reading, writing, displaying and examing
20Multiple-Image Network Graphics. MNG is the animation extension to the
21popular PNG image-format.
22
23%package devel
46682b62 24Summary: Development tools for programs to manipulate MNG format files
25Group: Development/Libraries
11885210 26Group(de): Entwicklung/Libraries
46682b62 27Group(fr): Development/Librairies
11885210 28Group(pl): Programowanie/Biblioteki
46682b62 29Requires: %{name} = %{version}
97319d4f
JB
30Requires: libjpeg-devel
31Requires: zlib-devel
46682b62 32
0293aa7b 33%description devel
34The libmng-devel package contains the header files and static
35libraries necessary for developing programs using the MNG
36(Multiple-Image Network Graphics) library.
37
38If you want to develop programs which will manipulate MNG image format
46682b62 39files, you should install libmng-devel. You'll also need to install
0293aa7b 40the libmng package.
41
46682b62 42%package static
43Summary: Static MNG libraries
44Group: Development/Libraries
11885210 45Group(de): Entwicklung/Libraries
46682b62 46Group(fr): Development/Librairies
11885210 47Group(pl): Programowanie/Biblioteki
46682b62 48Requires: %{name}-devel = %{version}
0293aa7b 49
46682b62 50%description static
51Static MNG libraries.
0293aa7b 52
53%prep
b012e7fe 54%setup -q
46682b62 55%patch -p1
0293aa7b 56
57%build
46682b62 58aclocal
46682b62 59autoconf
b012e7fe 60automake -a -c
46682b62 61%configure
62%{__make}
0293aa7b 63
64%install
65rm -rf $RPM_BUILD_ROOT
0293aa7b 66
46682b62 67%{__make} install DESTDIR=$RPM_BUILD_ROOT
0293aa7b 68
4b4577d2 69gzip -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
75rm -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
This page took 0.032977 seconds and 4 git commands to generate.