From 974cb0634e7310a480e64033bcd24c08c6c4ce598e2ca7f79de2571b2456a273 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 17 Dec 2010 14:48:13 +0000 Subject: [PATCH] shared lib packaging OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=10 --- libexif.spec | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/libexif.spec b/libexif.spec index 6a60e79..37442d1 100644 --- a/libexif.spec +++ b/libexif.spec @@ -26,36 +26,28 @@ Group: System/Libraries Summary: An EXIF Tag Parsing Library for Digital Cameras Version: 0.6.20 Release: 3 -# bug437293 -%ifarch ppc64 -Obsoletes: libexif-64bit -%endif -# BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 Source1: baselibs.conf +%package -n libexif12 +Summary: An EXIF Tag Parsing Library for Digital Cameras +Group: System/Libraries + %description This library is used to parse EXIF information from JPEGs created by digital cameras. +%description -n libexif12 +This library is used to parse EXIF information from JPEGs created by +digital cameras. -Authors: --------- - Lutz Müller - Curtis Galloway - %package devel License: LGPLv2.1+ Group: Development/Libraries/C and C++ Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files) Requires: %{name} = %{version} glibc-devel -# bug437293 -%ifarch ppc64 -Obsoletes: libexif-devel-64bit -%endif -# %description devel This library is used to parse EXIF information from JPEGs created by @@ -72,7 +64,7 @@ Authors: %setup -q %build -%configure --with-pic\ +%configure --with-pic \ --disable-static \ --with-doc-dir=%{_docdir}/%{name} %{__make} %{?jobs:-j%jobs} @@ -88,11 +80,11 @@ make check %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post -n libexif12 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libexif12 -p /sbin/ldconfig -%files -f %{name}-12.lang +%files -n libexif12 -f %{name}-12.lang %defattr(-,root,root) %{_libdir}/*.so.*