# # spec file for package libmng (Version 1.0.10) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libmng BuildRequires: libjpeg libjpeg-devel liblcms-devel zlib-devel License: GPL v2 or later, Other uncritical OpenSource License Group: System/Libraries Summary: Library for Support of MNG and JNG Formats Version: 1.0.10 Release: 1 URL: http://www.libmng.com/ Source0: libmng-%version.tar.bz2 Patch: libmng.diff Patch2: libmng-no-jpeg.diff Patch3: libmng-1.0.9-dont-leak-zlib-streams.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This library can handle MNG and JNG formats that contain animated pictures. These formats should replace the GIF format. Authors: -------- Gerard Juyn %package devel Requires: libjpeg-devel libmng liblcms-devel zlib-devel Summary: Include Files and Libraries mandatory for Development. Group: Development/Libraries/C and C++ %description devel This library can handle MNG and JNG formats which contain animated pictures. These formats should replace the GIF format. This package contains the static library and the header files. Authors: -------- Gerard Juyn %prep %setup -q %patch %patch3 %build make -f makefiles/makefile.linux _LIB=%_lib %install make -f makefiles/makefile.linux DESTDIR=$RPM_BUILD_ROOT _LIB=%_lib install mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3/ $RPM_BUILD_ROOT/%{_mandir}/man5/ install -m 0644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ install -m 0644 doc/man/*.5 $RPM_BUILD_ROOT/%{_mandir}/man5/ # # build a mini libmng # make -f makefiles/makefile.linux clean patch -p0 < %PATCH2 make -f makefiles/makefile.linux _LIB=%_lib install -m 0755 libmng.a $RPM_BUILD_ROOT/%_libdir/libmng-mini.a %post %run_ldconfig %postun %run_ldconfig %files %defattr(-,root,root) %doc LICENSE README doc/doc.readme doc/libmng.txt /%{_libdir}/libmng.so.* %files devel %defattr(-,root,root) /usr/include/*.h %doc %_mandir/*/* %_libdir/libmng-mini.a %_libdir/libmng.a %_libdir/libmng.so %changelog * Thu Jul 19 2007 - ltinkl@suse.cz - update to 1.0.10 * fixed some compiler-warnings * fixed display routines called twice for FULL_MNG support in mozlibmngconf.h * standard windows dll upgraded to zlib 1.2.3 * fixed problem with CLON object during readdisplay() (thanks Winfried!) * added typecast to appease the compiler (G R-P) * added more SKIPCHUNK conditionals (G R-P) * added MORE MNG_NO_1_2_4BIT_SUPPORT (G R-P) * added provisional support for anIM(mpNG) proposal * added provisional support for ANG proposal - fix patches - provide %%post sections * Thu Mar 29 2007 - meissner@suse.de - buildrequires zlib-devel * Tue Oct 24 2006 - ltinkl@suse.cz - fix runtime header require (still #208994) * Mon Oct 23 2006 - ltinkl@suse.cz - fix build (#208994) * Fri Sep 29 2006 - dmueller@suse.de - fix memory leak * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Feb 04 2005 - adrian@suse.de - fix missing symbols in libmng-mini * Tue Feb 01 2005 - adrian@suse.de - update to version 1.0.9 - disable also liblcms in libmng-mini.a * Thu Sep 23 2004 - mls@suse.de - really disable jpeg in mini libmng.a * Mon Aug 09 2004 - adrian@suse.de - update to version 1.0.8 * Sun Dec 21 2003 - adrian@suse.de - update to version 1.0.6 * Thu Mar 06 2003 - adrian@suse.de - update to 1.0.5 final * libjpeg suspension not always honored correctly * Mon Jan 20 2003 - adrian@suse.de - update to 1.0.5-rc3 * Minor bug-fixes * Fri Dec 20 2002 - adrian@suse.de - update to 1.0.5-rc2 * lots of new features * Wed Dec 18 2002 - adrian@suse.de - require liblcms-devel * Tue Aug 06 2002 - adrian@suse.de - run_ldconfig * Fri Jul 26 2002 - adrian@suse.de - fix neededforbuild * Fri Jun 28 2002 - ro@suse.de - re-run auto* tools to get library linked to libjpeg and liblcms correctly on lib64 platforms * Mon Jun 24 2002 - adrian@suse.de - update to version 1.0.4 * hugh bugfix release, /usr/share/doc/packages/libmng/Changes describes changes * remove obsolete patches * Fri Jun 21 2002 - adrian@suse.de - fix doc and man page locations (#15978) * Fri May 31 2002 - adrian@suse.de - fix build for ppc64 * Fri Mar 08 2002 - sf@suse.de - corrected configure to to build with lcms * Wed Feb 06 2002 - coolo@suse.de - fix %%_libdir * Mon Jan 07 2002 - adrian@suse.de - use %%{_libdir} * Tue Oct 16 2001 - adrian@suse.de - update to 1.0.3 - clean compatibility lib * Fri Aug 24 2001 - adrian@suse.de - fix to compile without jpeg support for libmng-mini.a * Thu Aug 23 2001 - adrian@suse.de - build extra small libmng-mini.a needed for inst-sys application * Mon Jul 09 2001 - adrian@suse.de - update to version 1.0.2 * Thu Apr 05 2001 - adrian@suse.de - add the same lib with so name libmng.so.0 for compatibility * Fri Feb 09 2001 - adrian@suse.de - update to version 1.0.0 fix spec file for non i386 (thanks Bernd) * Wed Nov 29 2000 - adrian@suse.de - update to 0.9.3 fixing liblcms support dropped jpeg support for old (<6.4) distris * Fri Nov 17 2000 - adrian@suse.de - split package into libmng and libmng-devel * Wed Oct 04 2000 - adrian@suse.de - initial package; version 0.9.2