diff --git a/.cvsignore b/.cvsignore index e69de29..2c23753 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libmng-0.9.2.tar.bz2 diff --git a/libmng.spec b/libmng.spec new file mode 100644 index 0000000..51d5943 --- /dev/null +++ b/libmng.spec @@ -0,0 +1,78 @@ +Name: libmng +Version: 0.9.2 +Release: 1 +URL: http://www.libmng.com/ +Summary: Library for supporting MNG (Animated PNG) graphics +License: BSD-like +Source: http://www.libmng.com/%{name}-%{version}.tar.bz2 +Group: System Environment/Libraries +BuildRoot: %{_tmppath}/%{name}-root +Prefix: %{_prefix} +Requires: zlib, libjpeg +BuildPrereq: gcc glibc-devel zlib-devel libjpeg-devel + +%package devel +Summary: Development files for the MNG (Animated PNG) library +Group: Development/Libraries + +%package static +Summary: MNG (Animated PNG) library for static linking +Group: Development/Libraries + +%description +LibMNG is a library for accessing graphics in the MNG (Multi-image +Network Graphics, basically animated PNG) and JNG (JPEG Network Graphics, +basically JPEG streams integrated in a PNG chunk) formats. + +%description devel +Development (Header) files for the LibMNG library. + +LibMNG is a library for accessing graphics in the MNG (Multi-image +Network Graphics, basically animated PNG) and JNG (JPEG Network Graphics, +basically JPEG streams integrated in a PNG chunk) formats. + +Install %{name}-devel if you wish to develop or compile applications +using MNG graphics. + +%description static +A version of the LibMNG library for linking statically. + +LibMNG is a library for accessing graphics in the MNG (Multi-image +Network Graphics, basically animated PNG) and JNG (JPEG Network Graphics, +basically JPEG streams integrated in a PNG chunk) formats. + +Install %{name}-devel if you wish to develop or compile applications +using MNG graphics without depending on libmng being installed on the +user's system. + + +%prep +%setup -n libmng-devel +rm -rf makefile # Stupid name for a directory... + +%build +[ ! -x ./configure ] && ./autogen.sh --help # generate, but don't run +%configure --enable-shared --enable-static --with-zlib --with-jpeg +make + +%install +%makeinstall + +%files +%defattr(-,root,root) +%{prefix}/lib/*.so.* + +%files devel +%defattr(-,root,root) +%{prefix}/lib/*.la +%{prefix}/lib/*.so +%{prefix}/include/* + +%files static +%defattr(-,root,root) +%{prefix}/lib/*.a + +%changelog +* Tue Sep 19 2000 Bernhard Rosenkraenzer +- initial rpm + diff --git a/sources b/sources index e69de29..783f51d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b782a342c128f9d3a159dd11afa4a775 libmng-0.9.2.tar.bz2