shared lib packaging
OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=10
This commit is contained in:
parent
94f1fbe937
commit
974cb0634e
28
libexif.spec
28
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 <lutz@users.sourceforge.net>
|
||||
Curtis Galloway <curtisg@users.sourceforge.net>
|
||||
|
||||
%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
|
||||
@ -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.*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user