2007-01-16 00:22:25 +01:00
|
|
|
#
|
2007-07-21 18:02:59 +02:00
|
|
|
# spec file for package libmng (Version 1.0.10)
|
2007-01-16 00:22:25 +01:00
|
|
|
#
|
2007-03-29 12:04:03 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:25 +01:00
|
|
|
# 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
|
2007-03-29 12:04:03 +02:00
|
|
|
BuildRequires: libjpeg libjpeg-devel liblcms-devel zlib-devel
|
2007-07-21 18:02:59 +02:00
|
|
|
License: GPL v2 or later, Other uncritical OpenSource License
|
2007-01-16 00:22:25 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Library for Support of MNG and JNG Formats
|
2007-07-21 18:02:59 +02:00
|
|
|
Version: 1.0.10
|
|
|
|
Release: 1
|
2007-01-16 00:22:25 +01:00
|
|
|
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 <gerard@libmng.com>
|
|
|
|
|
|
|
|
%package devel
|
2007-03-29 12:04:03 +02:00
|
|
|
Requires: libjpeg-devel libmng liblcms-devel zlib-devel
|
2007-01-16 00:22:25 +01:00
|
|
|
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 <gerard@libmng.com>
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2007-07-21 18:02:59 +02:00
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
2007-01-16 00:22:25 +01:00
|
|
|
%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
|
|
|
|
|
2007-03-29 12:04:03 +02:00
|
|
|
%changelog
|
2007-07-21 18:02:59 +02:00
|
|
|
* 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
|
2007-03-29 12:04:03 +02:00
|
|
|
* Thu Mar 29 2007 - meissner@suse.de
|
|
|
|
- buildrequires zlib-devel
|
2007-01-16 00:22:25 +01:00
|
|
|
* 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
|