2008-01-23 04:34:35 +01:00
|
|
|
#
|
2011-04-27 15:05:50 +02:00
|
|
|
# spec file for package exempi
|
2008-01-23 04:34:35 +01:00
|
|
|
#
|
2024-03-17 17:26:18 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2008-01-23 04:34:35 +01:00
|
|
|
#
|
2008-08-14 02:20:03 +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.
|
|
|
|
|
2021-01-18 14:28:23 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-01-23 04:34:35 +01:00
|
|
|
#
|
|
|
|
|
2008-03-14 17:35:43 +01:00
|
|
|
|
2021-01-18 14:28:23 +01:00
|
|
|
%define sonum 8
|
2008-01-23 04:34:35 +01:00
|
|
|
Name: exempi
|
2024-03-17 17:26:18 +01:00
|
|
|
Version: 2.6.5
|
2012-02-23 19:25:37 +01:00
|
|
|
Release: 0
|
2015-11-22 21:38:06 +01:00
|
|
|
Summary: XMP support library
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-05-10 10:41:13 +02:00
|
|
|
URL: https://libopenraw.freedesktop.org/exempi/
|
2024-03-17 17:26:18 +01:00
|
|
|
Source0: https://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.xz.asc
|
2015-11-22 21:38:06 +01:00
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: baselibs.conf
|
2021-01-18 14:28:23 +01:00
|
|
|
BuildRequires: gcc-c++
|
2022-12-07 17:34:23 +01:00
|
|
|
BuildRequires: libboost_test-devel
|
2021-01-18 14:28:23 +01:00
|
|
|
BuildRequires: libexpat-devel
|
2022-05-10 10:41:13 +02:00
|
|
|
BuildRequires: pkgconfig
|
2021-01-18 14:28:23 +01:00
|
|
|
BuildRequires: zlib-devel
|
2008-01-23 04:34:35 +01:00
|
|
|
|
|
|
|
%description
|
2018-03-14 17:35:30 +01:00
|
|
|
Exempi is a library for XMP parsing and I/O. XMP is a kind of
|
|
|
|
metadata for images and PDF.
|
2008-01-23 04:34:35 +01:00
|
|
|
|
2021-01-18 14:28:23 +01:00
|
|
|
%package -n libexempi%{sonum}
|
2008-01-23 04:34:35 +01:00
|
|
|
Summary: XMP support library
|
2012-02-23 19:25:37 +01:00
|
|
|
Group: System/Libraries
|
2008-01-23 04:34:35 +01:00
|
|
|
|
2021-01-18 14:28:23 +01:00
|
|
|
%description -n libexempi%{sonum}
|
2018-03-14 17:35:30 +01:00
|
|
|
Exempi is a library for XMP parsing and I/O. XMP (Extensible Metadata
|
|
|
|
Platform) facilitates embedding metadata in files using a subset of
|
|
|
|
RDF. Most notably, XMP supports embedding metadata in PDF and many
|
|
|
|
image formats.
|
2008-01-23 04:34:35 +01:00
|
|
|
|
2012-02-23 19:25:37 +01:00
|
|
|
%package tools
|
2018-03-14 17:35:30 +01:00
|
|
|
Summary: Tools from Exempi, an XMP support library
|
2012-02-23 19:25:37 +01:00
|
|
|
Group: Productivity/Graphics/Other
|
|
|
|
|
|
|
|
%description tools
|
2018-03-14 17:35:30 +01:00
|
|
|
Exempi is a library for XMP parsing and I/O. XMP is a kind of
|
|
|
|
metadata for images and PDF.
|
|
|
|
|
|
|
|
This subpackage contains utilities from the Exempi project.
|
2012-02-23 19:25:37 +01:00
|
|
|
|
2008-01-23 04:34:35 +01:00
|
|
|
%package -n libexempi-devel
|
2018-03-14 17:35:30 +01:00
|
|
|
Summary: Development files for the Exempi XMP support library
|
2008-01-23 04:34:35 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-02-23 19:25:37 +01:00
|
|
|
Requires: glibc-devel
|
2021-01-18 14:28:23 +01:00
|
|
|
Requires: libexempi%{sonum} = %{version}
|
2008-01-23 04:34:35 +01:00
|
|
|
|
|
|
|
%description -n libexempi-devel
|
2018-03-14 17:35:30 +01:00
|
|
|
Exempi is a library for XMP metadata parsing and doing I/O with it.
|
|
|
|
|
|
|
|
This subpackage contains the header files for building applications
|
|
|
|
with Exempi.
|
2008-01-23 04:34:35 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-04-27 11:37:08 +02:00
|
|
|
|
2008-01-23 04:34:35 +01:00
|
|
|
%build
|
2015-11-22 21:38:06 +01:00
|
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
2021-01-18 14:28:23 +01:00
|
|
|
%configure
|
|
|
|
%make_build
|
2008-01-23 04:34:35 +01:00
|
|
|
|
|
|
|
%install
|
2021-01-18 14:28:23 +01:00
|
|
|
%make_install
|
2015-11-22 21:38:06 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2021-01-18 14:28:23 +01:00
|
|
|
find %{buildroot} -type f -name "*.a" -delete -print
|
2008-01-23 04:34:35 +01:00
|
|
|
|
2010-12-09 02:14:12 +01:00
|
|
|
%check
|
2012-02-26 16:18:03 +01:00
|
|
|
%if ! 0%{?qemu_user_space_build}
|
2021-01-18 14:28:23 +01:00
|
|
|
%make_build check
|
2012-02-26 16:18:03 +01:00
|
|
|
%endif
|
2010-12-09 02:14:12 +01:00
|
|
|
|
2021-01-18 14:28:23 +01:00
|
|
|
%post -n libexempi%{sonum} -p /sbin/ldconfig
|
|
|
|
%postun -n libexempi%{sonum} -p /sbin/ldconfig
|
2008-01-23 04:34:35 +01:00
|
|
|
|
2021-01-18 14:28:23 +01:00
|
|
|
%files -n libexempi%{sonum}
|
|
|
|
%license COPYING
|
2022-05-10 10:41:13 +02:00
|
|
|
%doc README.md NEWS
|
2008-01-23 04:34:35 +01:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
2012-02-23 19:25:37 +01:00
|
|
|
%files tools
|
2021-01-18 14:28:23 +01:00
|
|
|
%license COPYING
|
2012-02-23 19:25:37 +01:00
|
|
|
%{_bindir}/exempi
|
2013-06-30 22:05:38 +02:00
|
|
|
%{_mandir}/man1/exempi.1%{?ext_man}
|
2012-02-23 19:25:37 +01:00
|
|
|
|
2008-01-23 04:34:35 +01:00
|
|
|
%files -n libexempi-devel
|
2021-01-18 14:28:23 +01:00
|
|
|
%license COPYING
|
2008-01-23 04:34:35 +01:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_includedir}/exempi-2.0
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|