From 3a9124e330f094b32ec426037f8303fe99435e50 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 07:35:29 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20libmng-?= =?UTF-8?q?1.0.0-2.src.rpm=20Wed=20Feb=2028=202001=20Trond=20Eivind=20Glom?= =?UTF-8?q?sr=F8d=20=20-=20remove=20bogus=20symlink=20tric?= =?UTF-8?q?k=20Mon=20Feb=2026=202001=20Bernhard=20Rosenkraenzer=20=20-=20Update=20to=201.0.0=20to=20make=20Qt=202.3.0=20?= =?UTF-8?q?happy=20Fri=20Jan=2019=202001=20Bernhard=20Rosenkraenzer=20=20-=200.9.4,=20fixes=20MNG=201.0=20spec=20complia?= =?UTF-8?q?nce=20Tue=20Dec=2019=202000=20Bernhard=20Rosenkraenzer=20=20-=200.9.3=20-=20Add=20ldconfig=20calls=20in=20%po?= =?UTF-8?q?st=20and=20%postun=20Tue=20Dec=2005=202000=20Florian=20La=20Roc?= =?UTF-8?q?he=20=20-=20added=20a=20clean=20sect?= =?UTF-8?q?ion=20to=20the=20spec=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 2 +- libmng.spec | 62 ++++++++++++++++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 49 insertions(+), 17 deletions(-) diff --git a/.cvsignore b/.cvsignore index 2c23753..56c5656 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libmng-0.9.2.tar.bz2 +libmng-1.0.0.tar.bz2 diff --git a/libmng.spec b/libmng.spec index c6979be..0b32cbd 100644 --- a/libmng.spec +++ b/libmng.spec @@ -1,22 +1,25 @@ Name: libmng -Version: 0.9.2 -Release: 1tc1 +Version: 1.0.0 +Release: 2 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 +Source: http://www.libmng.com/download/%{name}-%{version}.tar.bz2 Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-root Prefix: %{_prefix} Requires: zlib, libjpeg -BuildPrereq: glibc-devel zlib-devel libjpeg-devel +Provides: libmng.so.0 +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, @@ -32,20 +35,34 @@ 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... +%setup %build [ ! -x ./configure ] && ./autogen.sh --help # generate, but don't run -%configure --enable-shared --with-zlib --with-jpeg +%configure --enable-shared --enable-static --with-zlib --with-jpeg \ + --with-gnu-ld make %install %makeinstall -%post -/sbin/ldconfig +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -59,12 +76,27 @@ make %{prefix}/lib/*.so %{prefix}/include/* +%files static +%defattr(-,root,root) +%{prefix}/lib/*.a + %changelog -* Thu Oct 19 2000 Chih-Wei Huang -- remove static +* Wed Feb 28 2001 Trond Eivind Glomsrød +- remove bogus symlink trick + +* Mon Feb 26 2001 Bernhard Rosenkraenzer +- Update to 1.0.0 to make Qt 2.3.0 happy + +* Sat Jan 19 2001 Bernhard Rosenkraenzer +- 0.9.4, fixes MNG 1.0 spec compliance + +* Tue Dec 19 2000 Bernhard Rosenkraenzer +- 0.9.3 +- Add ldconfig calls in %%post and %%postun + +* Tue Dec 05 2000 Florian La Roche +- added a clean section to the spec file * Tue Sep 19 2000 Bernhard Rosenkraenzer - initial rpm -%clean -[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT diff --git a/sources b/sources index 783f51d..de2bde9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b782a342c128f9d3a159dd11afa4a775 libmng-0.9.2.tar.bz2 +24953518be0464c64c499fb1c507964d libmng-1.0.0.tar.bz2