2007-01-16 00:21:46 +01:00
|
|
|
|
#
|
2012-07-12 22:04:02 +02:00
|
|
|
|
# spec file for package libexif
|
2007-01-16 00:21:46 +01:00
|
|
|
|
#
|
2014-05-26 12:13:56 +02:00
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:21:46 +01:00
|
|
|
|
#
|
2008-09-24 00:20:33 +02:00
|
|
|
|
# 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.
|
|
|
|
|
|
2007-01-16 00:21:46 +01:00
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
2008-03-19 13:00:16 +01:00
|
|
|
|
|
2007-01-16 00:21:46 +01:00
|
|
|
|
Name: libexif
|
2012-07-12 22:04:02 +02:00
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: pkg-config
|
2008-01-15 10:16:20 +01:00
|
|
|
|
Url: http://libexif.sourceforge.net
|
2007-01-16 00:21:46 +01:00
|
|
|
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
2012-07-12 22:04:02 +02:00
|
|
|
|
License: LGPL-2.1+
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Version: 0.6.21
|
|
|
|
|
Release: 0
|
2007-01-16 00:21:46 +01:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-07-12 22:04:02 +02:00
|
|
|
|
Source0: https://downloads.sourceforge.net/project/libexif/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
2010-01-14 16:30:51 +01:00
|
|
|
|
Source1: baselibs.conf
|
2014-05-27 01:38:41 +02:00
|
|
|
|
Patch0: libexif-build-date.patch
|
2007-01-16 00:21:46 +01:00
|
|
|
|
|
2010-12-17 16:00:45 +01:00
|
|
|
|
%define pname libexif12
|
2010-12-17 15:48:55 +01:00
|
|
|
|
|
2010-12-17 16:00:45 +01:00
|
|
|
|
%define debug_package_requires %{pname} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%package -n %{pname}
|
2010-12-19 13:06:43 +01:00
|
|
|
|
|
2010-12-17 15:48:13 +01:00
|
|
|
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
|
|
|
|
Group: System/Libraries
|
2010-12-23 20:31:29 +01:00
|
|
|
|
Provides: libexif = %{version}
|
|
|
|
|
Obsoletes: libexif < %{version}
|
2010-12-17 15:48:13 +01:00
|
|
|
|
|
2007-01-16 00:21:46 +01:00
|
|
|
|
%description
|
|
|
|
|
This library is used to parse EXIF information from JPEGs created by
|
|
|
|
|
digital cameras.
|
|
|
|
|
|
2010-12-17 16:00:45 +01:00
|
|
|
|
%description -n %{pname}
|
2010-12-17 15:48:13 +01:00
|
|
|
|
This library is used to parse EXIF information from JPEGs created by
|
|
|
|
|
digital cameras.
|
2007-01-16 00:21:46 +01:00
|
|
|
|
|
|
|
|
|
|
2007-03-01 20:39:40 +01:00
|
|
|
|
%package devel
|
|
|
|
|
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
|
2012-07-12 22:04:02 +02:00
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: %{pname} = %{version}
|
|
|
|
|
Requires: glibc-devel
|
2007-03-01 20:39:40 +01:00
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This library is used to parse EXIF information from JPEGs created by
|
|
|
|
|
digital cameras.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:21:46 +01:00
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Lutz M<EFBFBD>ller <lutz@users.sourceforge.net>
|
|
|
|
|
Curtis Galloway <curtisg@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2014-05-27 01:38:41 +02:00
|
|
|
|
%patch0 -p1
|
2007-01-16 00:21:46 +01:00
|
|
|
|
%build
|
2014-05-26 12:13:56 +02:00
|
|
|
|
export CFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
2010-12-17 15:48:13 +01:00
|
|
|
|
%configure --with-pic \
|
2007-05-23 18:02:31 +02:00
|
|
|
|
--disable-static \
|
2007-03-01 20:40:33 +01:00
|
|
|
|
--with-doc-dir=%{_docdir}/%{name}
|
2009-01-29 23:34:29 +01:00
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:21:46 +01:00
|
|
|
|
|
2007-05-23 18:02:31 +02:00
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
2007-01-16 00:21:46 +01:00
|
|
|
|
%install
|
2007-03-01 20:40:33 +01:00
|
|
|
|
%makeinstall
|
|
|
|
|
%find_lang %{name}-12
|
2009-01-29 23:34:29 +01:00
|
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:21:46 +01:00
|
|
|
|
|
|
|
|
|
%clean
|
2007-03-01 20:40:33 +01:00
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-16 00:21:46 +01:00
|
|
|
|
|
2010-12-17 16:00:45 +01:00
|
|
|
|
%post -n %{pname} -p /sbin/ldconfig
|
2007-05-23 18:02:31 +02:00
|
|
|
|
|
2010-12-17 16:00:45 +01:00
|
|
|
|
%postun -n %{pname} -p /sbin/ldconfig
|
2007-05-23 18:02:31 +02:00
|
|
|
|
|
2010-12-17 16:00:45 +01:00
|
|
|
|
%files -n %{pname} -f %{name}-12.lang
|
2007-01-16 00:21:46 +01:00
|
|
|
|
%defattr(-,root,root)
|
2007-03-01 20:40:33 +01:00
|
|
|
|
%{_libdir}/*.so.*
|
2007-03-01 20:39:40 +01:00
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2007-03-01 20:40:33 +01:00
|
|
|
|
%doc %{_docdir}/%{name}
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_includedir}/*
|
2007-01-16 00:21:46 +01:00
|
|
|
|
|
2007-03-01 20:39:40 +01:00
|
|
|
|
%changelog
|