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