]> git.pld-linux.org Git - packages/libmng.git/blame - libmng.spec
- BuildRequires autoconf >= 2.50
[packages/libmng.git] / libmng.spec
CommitLineData
46682b62 1Summary: A library of functions for manipulating MNG format files
2Name: libmng
f10fde6a 3Version: 1.0.2
9862d830 4Release: 1
879db39e 5License: BSD-like
46682b62 6Group: Libraries
11885210 7Group(de): Libraries
725b6b37 8Group(es): Bibliotecas
46682b62 9Group(fr): Librairies
11885210 10Group(pl): Biblioteki
f10fde6a 11Source0: http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.gz
11885210 12Patch0: %{name}-automake.patch
46682b62 13URL: http://www.libmng.com/
e4f034fa 14BuildRequires: automake
725b6b37 15BuildRequires: autoconf >= 2.50
f10fde6a 16BuildRequires: libjpeg-devel
e4f034fa 17BuildRequires: libtool
18BuildRequires: zlib-devel
46682b62 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0293aa7b 20
21%description
22libmng - library for reading, writing, displaying and examing
23Multiple-Image Network Graphics. MNG is the animation extension to the
24popular PNG image-format.
25
26%package devel
46682b62 27Summary: Development tools for programs to manipulate MNG format files
28Group: Development/Libraries
11885210 29Group(de): Entwicklung/Libraries
46682b62 30Group(fr): Development/Librairies
11885210 31Group(pl): Programowanie/Biblioteki
46682b62 32Requires: %{name} = %{version}
97319d4f
JB
33Requires: libjpeg-devel
34Requires: zlib-devel
46682b62 35
0293aa7b 36%description devel
37The libmng-devel package contains the header files and static
38libraries necessary for developing programs using the MNG
39(Multiple-Image Network Graphics) library.
40
41If you want to develop programs which will manipulate MNG image format
46682b62 42files, you should install libmng-devel. You'll also need to install
0293aa7b 43the libmng package.
44
46682b62 45%package static
46Summary: Static MNG libraries
47Group: Development/Libraries
11885210 48Group(de): Entwicklung/Libraries
46682b62 49Group(fr): Development/Librairies
11885210 50Group(pl): Programowanie/Biblioteki
46682b62 51Requires: %{name}-devel = %{version}
0293aa7b 52
46682b62 53%description static
54Static MNG libraries.
0293aa7b 55
56%prep
b012e7fe 57%setup -q
46682b62 58%patch -p1
0293aa7b 59
60%build
f10fde6a 61rm -f acinclude.m4 missing
e4f034fa 62libtoolize --copy --force
46682b62 63aclocal
46682b62 64autoconf
b012e7fe 65automake -a -c
f10fde6a 66%configure \
67 --enable-shared \
68 --enable-static \
69 --with-zlib \
70 --with-jpeg
46682b62 71%{__make}
0293aa7b 72
73%install
74rm -rf $RPM_BUILD_ROOT
0293aa7b 75
46682b62 76%{__make} install DESTDIR=$RPM_BUILD_ROOT
0293aa7b 77
4b4577d2 78gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
46682b62 79
80%post -p /sbin/ldconfig
0293aa7b 81%postun -p /sbin/ldconfig
82
46682b62 83%clean
84rm -rf $RPM_BUILD_ROOT
85
0293aa7b 86%files
46682b62 87%defattr(644,root,root,755)
88%attr(755,root,root) %{_libdir}/lib*.so.*.*
89%{_mandir}/man5/*
0293aa7b 90
91%files devel
46682b62 92%defattr(644,root,root,755)
93%doc *.gz doc/*.gz
94%{_includedir}/*
95%attr(755,root,root) %{_libdir}/lib*.so
96%attr(755,root,root) %{_libdir}/lib*.la
97%{_mandir}/man3/*
98
99%files static
100%defattr(644,root,root,755)
101%{_libdir}/libmng.a
This page took 0.065093 seconds and 4 git commands to generate.