Accepting request 102052 from home:jengelh:branches:shlib
- Remove redundant/unwanted tags/section (cf. specfile guidelines) - Use %_smp_mflags for parallel building - Do shlib policy packaging OBS-URL: https://build.opensuse.org/request/show/102052 OBS-URL: https://build.opensuse.org/package/show/graphics/libmng?expand=0&rev=7
This commit is contained in:
parent
179afed569
commit
37de281f26
@ -1 +1 @@
|
||||
libmng
|
||||
libmng1
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 17:59:42 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
- Use %_smp_mflags for parallel building
|
||||
- Do shlib policy packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 13 08:25:24 UTC 2010 - adrian@suse.de
|
||||
|
||||
|
33
libmng.spec
33
libmng.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libmng (Version 1.0.10)
|
||||
# spec file for package libmng
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,13 +15,13 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libmng
|
||||
%define lname libmng1
|
||||
BuildRequires: libjpeg-devel liblcms-devel zlib-devel
|
||||
License: GPLv2+ ; Other uncritical OpenSource License
|
||||
Group: System/Libraries
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Library for Support of MNG and JNG Formats
|
||||
Version: 1.0.10
|
||||
Release: 93
|
||||
@ -30,7 +30,7 @@ Release: 93
|
||||
Obsoletes: libmng-64bit
|
||||
%endif
|
||||
#
|
||||
Url: http://www.libmng.com/
|
||||
URL: http://www.libmng.com/
|
||||
Source0: libmng-%version.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch: libmng.diff
|
||||
@ -48,9 +48,20 @@ Authors:
|
||||
--------
|
||||
Gerard Juyn <gerard@libmng.com>
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for Support of MNG and JNG Formats
|
||||
Group: System/Libraries
|
||||
# O/P added 2011-11-29
|
||||
Obsolets: libmng < %version-%release
|
||||
Provides: libmng = %version-%release
|
||||
|
||||
%description -n %lname
|
||||
This library can handle MNG and JNG formats that contain animated
|
||||
pictures. These formats should replace the GIF format.
|
||||
|
||||
%package devel
|
||||
License: GPLv2+ ; Other uncritical OpenSource License
|
||||
Requires: libjpeg-devel %{name} = %{version} liblcms-devel zlib-devel
|
||||
Requires: libjpeg-devel liblcms-devel zlib-devel
|
||||
Requires: %lname = %version
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
Group: Development/Libraries/C and C++
|
||||
# bug437293
|
||||
@ -77,7 +88,7 @@ Authors:
|
||||
%patch3
|
||||
|
||||
%build
|
||||
make %{?jobs:-j%jobs} -f makefiles/makefile.linux _LIB=%_lib
|
||||
make %{?_smp_mflags} -f makefiles/makefile.linux _LIB=%_lib
|
||||
|
||||
%install
|
||||
make -f makefiles/makefile.linux DESTDIR=$RPM_BUILD_ROOT _LIB=%_lib install
|
||||
@ -93,11 +104,11 @@ make -f makefiles/makefile.linux _LIB=%_lib
|
||||
install -m 0755 libmng.a $RPM_BUILD_ROOT/%_libdir/libmng-mini.a
|
||||
%{__rm} -v %{buildroot}%_libdir/libmng.a
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README doc/doc.readme doc/libmng.txt
|
||||
%{_libdir}/libmng.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user