4647354032
- Do not include timestamps in files (libexif-build-date.patch) OBS-URL: https://build.opensuse.org/request/show/235458 OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=22
107 lines
2.7 KiB
RPMSpec
107 lines
2.7 KiB
RPMSpec
#
|
||
# spec file for package libexif
|
||
#
|
||
# Copyright (c) 2014 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
|
||
# upon. The license for this file, and modifications and additions to the
|
||
# file, is the same license as for the pristine package itself (unless the
|
||
# license for the pristine package is not an Open Source License, in which
|
||
# case the license is the MIT License). An "Open Source License" is a
|
||
# license that conforms to the Open Source Definition (Version 1.9)
|
||
# published by the Open Source Initiative.
|
||
|
||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
#
|
||
|
||
|
||
Name: libexif
|
||
BuildRequires: doxygen
|
||
BuildRequires: pkg-config
|
||
Url: http://libexif.sourceforge.net
|
||
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||
License: LGPL-2.1+
|
||
Group: System/Libraries
|
||
Version: 0.6.21
|
||
Release: 0
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
Source0: https://downloads.sourceforge.net/project/libexif/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
||
Source1: baselibs.conf
|
||
Patch0: libexif-build-date.patch
|
||
|
||
%define pname libexif12
|
||
|
||
%define debug_package_requires %{pname} = %{version}-%{release}
|
||
|
||
%package -n %{pname}
|
||
|
||
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||
Group: System/Libraries
|
||
Provides: libexif = %{version}
|
||
Obsoletes: libexif < %{version}
|
||
|
||
%description
|
||
This library is used to parse EXIF information from JPEGs created by
|
||
digital cameras.
|
||
|
||
%description -n %{pname}
|
||
This library is used to parse EXIF information from JPEGs created by
|
||
digital cameras.
|
||
|
||
|
||
%package devel
|
||
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
|
||
Group: Development/Libraries/C and C++
|
||
Requires: %{pname} = %{version}
|
||
Requires: glibc-devel
|
||
|
||
%description devel
|
||
This library is used to parse EXIF information from JPEGs created by
|
||
digital cameras.
|
||
|
||
|
||
|
||
Authors:
|
||
--------
|
||
Lutz M<EFBFBD>ller <lutz@users.sourceforge.net>
|
||
Curtis Galloway <curtisg@users.sourceforge.net>
|
||
|
||
%prep
|
||
%setup -q
|
||
%patch0 -p1
|
||
%build
|
||
export CFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
||
%configure --with-pic \
|
||
--disable-static \
|
||
--with-doc-dir=%{_docdir}/%{name}
|
||
%{__make} %{?jobs:-j%jobs}
|
||
|
||
%check
|
||
make check
|
||
|
||
%install
|
||
%makeinstall
|
||
%find_lang %{name}-12
|
||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||
|
||
%clean
|
||
rm -rf $RPM_BUILD_ROOT
|
||
|
||
%post -n %{pname} -p /sbin/ldconfig
|
||
|
||
%postun -n %{pname} -p /sbin/ldconfig
|
||
|
||
%files -n %{pname} -f %{name}-12.lang
|
||
%defattr(-,root,root)
|
||
%{_libdir}/*.so.*
|
||
|
||
%files devel
|
||
%defattr(-,root,root)
|
||
%doc %{_docdir}/%{name}
|
||
%{_libdir}/*.so
|
||
%{_libdir}/pkgconfig/*.pc
|
||
%{_includedir}/*
|
||
|
||
%changelog
|