]> git.pld-linux.org Git - packages/libmng.git/blame - libmng.spec
- updated to 1.0.0.
[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}
30
0293aa7b 31%description devel
32The libmng-devel package contains the header files and static
33libraries necessary for developing programs using the MNG
34(Multiple-Image Network Graphics) library.
35
36If you want to develop programs which will manipulate MNG image format
46682b62 37files, you should install libmng-devel. You'll also need to install
0293aa7b 38the libmng package.
39
46682b62 40%package static
41Summary: Static MNG libraries
42Group: Development/Libraries
11885210 43Group(de): Entwicklung/Libraries
46682b62 44Group(fr): Development/Librairies
11885210 45Group(pl): Programowanie/Biblioteki
46682b62 46Requires: %{name}-devel = %{version}
0293aa7b 47
46682b62 48%description static
49Static MNG libraries.
0293aa7b 50
51%prep
b012e7fe 52%setup -q
46682b62 53%patch -p1
0293aa7b 54
55%build
46682b62 56aclocal
46682b62 57autoconf
b012e7fe 58automake -a -c
46682b62 59%configure
60%{__make}
0293aa7b 61
62%install
63rm -rf $RPM_BUILD_ROOT
0293aa7b 64
46682b62 65%{__make} install DESTDIR=$RPM_BUILD_ROOT
0293aa7b 66
4b4577d2 67gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
46682b62 68
69%post -p /sbin/ldconfig
0293aa7b 70%postun -p /sbin/ldconfig
71
46682b62 72%clean
73rm -rf $RPM_BUILD_ROOT
74
0293aa7b 75%files
46682b62 76%defattr(644,root,root,755)
77%attr(755,root,root) %{_libdir}/lib*.so.*.*
78%{_mandir}/man5/*
0293aa7b 79
80%files devel
46682b62 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.076145 seconds and 4 git commands to generate.