From b836eae9a351480ca9e76fe561c14f05bbefb496 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 07:35:22 +0000 Subject: [PATCH] auto-import changelog data from libmng-0.9.2-1tc1.src.rpm Thu Oct 19 2000 Chih-Wei Huang - remove static --- libmng.spec | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/libmng.spec b/libmng.spec index 51d5943..c6979be 100644 --- a/libmng.spec +++ b/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 +- remove static + * Tue Sep 19 2000 Bernhard Rosenkraenzer - initial rpm +%clean +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT