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
|
|
|
#
|
2008-04-10 14:31:15 +02:00
|
|
|
# Copyright (c) 2008 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
|
|
|
|
|
2008-04-10 14:31:15 +02:00
|
|
|
|
2007-01-16 00:22:25 +01:00
|
|
|
Name: libmng
|
2007-03-29 12:04:03 +02:00
|
|
|
BuildRequires: libjpeg libjpeg-devel liblcms-devel zlib-devel
|
2008-04-10 14:31:15 +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
|
2008-04-10 14:31:15 +02:00
|
|
|
Release: 45
|
|
|
|
Url: http://www.libmng.com/
|
2007-01-16 00:22:25 +01:00
|
|
|
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
|
2008-04-10 14:31:15 +02:00
|
|
|
License: GPL v2 or later; Other uncritical OpenSource License
|
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
|
2008-04-10 14:31:15 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Thu Jul 19 2007 ltinkl@suse.cz
|
2007-07-21 18:02:59 +02:00
|
|
|
- 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
|
2008-04-10 14:31:15 +02:00
|
|
|
* Thu Mar 29 2007 meissner@suse.de
|
2007-03-29 12:04:03 +02:00
|
|
|
- buildrequires zlib-devel
|
2008-04-10 14:31:15 +02:00
|
|
|
* Tue Oct 24 2006 ltinkl@suse.cz
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix runtime header require (still #208994)
|
2008-04-10 14:31:15 +02:00
|
|
|
* Mon Oct 23 2006 ltinkl@suse.cz
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix build (#208994)
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Sep 29 2006 dmueller@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix memory leak
|
2008-04-10 14:31:15 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Feb 04 2005 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix missing symbols in libmng-mini
|
2008-04-10 14:31:15 +02:00
|
|
|
* Tue Feb 01 2005 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to version 1.0.9
|
|
|
|
- disable also liblcms in libmng-mini.a
|
2008-04-10 14:31:15 +02:00
|
|
|
* Thu Sep 23 2004 mls@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- really disable jpeg in mini libmng.a
|
2008-04-10 14:31:15 +02:00
|
|
|
* Mon Aug 09 2004 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to version 1.0.8
|
2008-04-10 14:31:15 +02:00
|
|
|
* Sun Dec 21 2003 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to version 1.0.6
|
2008-04-10 14:31:15 +02:00
|
|
|
* Thu Mar 06 2003 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to 1.0.5 final
|
|
|
|
* libjpeg suspension not always honored correctly
|
2008-04-10 14:31:15 +02:00
|
|
|
* Mon Jan 20 2003 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to 1.0.5-rc3
|
|
|
|
* Minor bug-fixes
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Dec 20 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to 1.0.5-rc2
|
|
|
|
* lots of new features
|
2008-04-10 14:31:15 +02:00
|
|
|
* Wed Dec 18 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- require liblcms-devel
|
2008-04-10 14:31:15 +02:00
|
|
|
* Wed Aug 07 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- run_ldconfig
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Jul 26 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix neededforbuild
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Jun 28 2002 ro@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- re-run auto* tools to get library linked to libjpeg and liblcms
|
|
|
|
correctly on lib64 platforms
|
2008-04-10 14:31:15 +02:00
|
|
|
* Mon Jun 24 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to version 1.0.4
|
|
|
|
* hugh bugfix release, /usr/share/doc/packages/libmng/Changes
|
|
|
|
describes changes
|
|
|
|
* remove obsolete patches
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Jun 21 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix doc and man page locations (#15978)
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri May 31 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix build for ppc64
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Mar 08 2002 sf@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- corrected configure to to build with lcms
|
2008-04-10 14:31:15 +02:00
|
|
|
* Wed Feb 06 2002 coolo@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix %%_libdir
|
2008-04-10 14:31:15 +02:00
|
|
|
* Mon Jan 07 2002 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- use %%{_libdir}
|
2008-04-10 14:31:15 +02:00
|
|
|
* Tue Oct 16 2001 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to 1.0.3
|
|
|
|
- clean compatibility lib
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Aug 24 2001 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- fix to compile without jpeg support for libmng-mini.a
|
2008-04-10 14:31:15 +02:00
|
|
|
* Thu Aug 23 2001 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- build extra small libmng-mini.a
|
|
|
|
needed for inst-sys application
|
2008-04-10 14:31:15 +02:00
|
|
|
* Mon Jul 09 2001 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to version 1.0.2
|
2008-04-10 14:31:15 +02:00
|
|
|
* Thu Apr 05 2001 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- add the same lib with so name libmng.so.0 for compatibility
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Feb 09 2001 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to version 1.0.0
|
|
|
|
fix spec file for non i386 (thanks Bernd)
|
2008-04-10 14:31:15 +02:00
|
|
|
* Wed Nov 29 2000 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- update to 0.9.3
|
|
|
|
fixing liblcms support
|
|
|
|
dropped jpeg support for old (<6.4) distris
|
2008-04-10 14:31:15 +02:00
|
|
|
* Fri Nov 17 2000 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- split package into libmng and libmng-devel
|
2008-04-10 14:31:15 +02:00
|
|
|
* Wed Oct 04 2000 adrian@suse.de
|
2007-01-16 00:22:25 +01:00
|
|
|
- initial package; version 0.9.2
|