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
30
libexif.spec
30
libexif.spec
@ -26,36 +26,28 @@ Group: System/Libraries
|
|||||||
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||||||
Version: 0.6.20
|
Version: 0.6.20
|
||||||
Release: 3
|
Release: 3
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: libexif-64bit
|
|
||||||
%endif
|
|
||||||
#
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
|
||||||
|
%package -n libexif12
|
||||||
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is used to parse EXIF information from JPEGs created by
|
This library is used to parse EXIF information from JPEGs created by
|
||||||
digital cameras.
|
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
|
%package devel
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
|
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
|
||||||
Requires: %{name} = %{version} glibc-devel
|
Requires: %{name} = %{version} glibc-devel
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: libexif-devel-64bit
|
|
||||||
%endif
|
|
||||||
#
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This library is used to parse EXIF information from JPEGs created by
|
This library is used to parse EXIF information from JPEGs created by
|
||||||
@ -72,7 +64,7 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-pic\
|
%configure --with-pic \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-doc-dir=%{_docdir}/%{name}
|
--with-doc-dir=%{_docdir}/%{name}
|
||||||
%{__make} %{?jobs:-j%jobs}
|
%{__make} %{?jobs:-j%jobs}
|
||||||
@ -88,11 +80,11 @@ make check
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user