libmng/libmng.spec
cvsdist 65db1c697b auto-import changelog data from libmng-0.9.2-1.src.rpm
Tue Sep 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- initial rpm
2004-09-09 07:35:18 +00:00

79 lines
2.1 KiB
RPMSpec

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 <bero@redhat.com>
- initial rpm