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
|
|
|
#
|
2021-09-13 09:05:55 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2020-05-18 18:08:11 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:21:46 +01:00
|
|
|
#
|
|
|
|
|
2008-03-19 13:00:16 +01:00
|
|
|
|
2007-01-16 00:21:46 +01:00
|
|
|
Name: libexif
|
2021-09-13 09:13:50 +02:00
|
|
|
Version: 0.6.23
|
2018-01-24 14:10:08 +01:00
|
|
|
Release: 0
|
2020-05-18 18:08:11 +02:00
|
|
|
URL: http://libexif.sourceforge.net
|
2007-01-16 00:21:46 +01:00
|
|
|
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
2020-05-18 18:08:11 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2018-01-24 14:10:08 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-01-16 00:21:46 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2021-09-13 09:05:55 +02:00
|
|
|
Source0: https://github.com/libexif/libexif/releases/download/v%version/libexif-%version.tar.bz2
|
|
|
|
Source2: https://github.com/libexif/libexif/releases/download/v%version/libexif-%version.tar.bz2.asc
|
2020-05-18 18:08:11 +02:00
|
|
|
Source3: %name.keyring
|
2010-01-14 16:30:51 +01:00
|
|
|
Source1: baselibs.conf
|
2018-01-24 14:10:08 +01:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: pkg-config
|
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-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
|
|
|
%prep
|
|
|
|
%setup -q
|
2018-01-24 14:10:08 +01:00
|
|
|
|
2007-01-16 00:21:46 +01:00
|
|
|
%build
|
2014-05-26 12:13:56 +02:00
|
|
|
export CFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
2018-01-24 14:10:08 +01:00
|
|
|
%configure \
|
2007-05-23 18:02:31 +02:00
|
|
|
--disable-static \
|
2007-03-01 20:40:33 +01:00
|
|
|
--with-doc-dir=%{_docdir}/%{name}
|
2018-01-24 14:10:08 +01:00
|
|
|
make %{?_smp_mflags}
|
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
|
2018-01-24 14:10:08 +01:00
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
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
|