auto-import changelog data from libmng-0.9.2-1tc1.src.rpm
Thu Oct 19 2000 Chih-Wei Huang <cwhuang@linux.org.tw> - remove static
This commit is contained in:
parent
65db1c697b
commit
b836eae9a3
38
libmng.spec
38
libmng.spec
@ -1,24 +1,22 @@
|
||||
Name: libmng
|
||||
Version: 0.9.2
|
||||
Release: 1
|
||||
Release: 1tc1
|
||||
URL: http://www.libmng.com/
|
||||
Summary: Library for supporting MNG (Animated PNG) graphics
|
||||
License: BSD-like
|
||||
Distribution: BlueSky
|
||||
Packager: RedHat
|
||||
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
|
||||
BuildPrereq: 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,
|
||||
@ -34,30 +32,23 @@ 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
|
||||
%configure --enable-shared --with-zlib --with-jpeg
|
||||
make
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/lib/*.so.*
|
||||
@ -68,11 +59,12 @@ make
|
||||
%{prefix}/lib/*.so
|
||||
%{prefix}/include/*
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/lib/*.a
|
||||
|
||||
%changelog
|
||||
* Thu Oct 19 2000 Chih-Wei Huang <cwhuang@linux.org.tw>
|
||||
- remove static
|
||||
|
||||
* Tue Sep 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- initial rpm
|
||||
|
||||
%clean
|
||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user