Dominique Leuenberger
13b949e9f3
Update to ver 2.2.1 OBS-URL: https://build.opensuse.org/request/show/181486 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/exempi?expand=0&rev=17
104 lines
2.6 KiB
RPMSpec
104 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package exempi
|
|
#
|
|
# Copyright (c) 2013 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: exempi
|
|
Url: http://libopenraw.freedesktop.org/wiki/Exempi
|
|
Version: 2.2.1
|
|
Release: 0
|
|
BuildRequires: boost-devel >= 1.33.0
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: pkg-config
|
|
BuildRequires: zlib-devel
|
|
Summary: XMP support library
|
|
License: BSD-3-Clause
|
|
Group: Development/Libraries/C and C++
|
|
Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%define debug_package_requires libexempi3 = %{version}
|
|
|
|
%description
|
|
XMP parsing and IO library
|
|
|
|
%package -n libexempi3
|
|
Summary: XMP support library
|
|
Group: System/Libraries
|
|
|
|
%description -n libexempi3
|
|
XMP parsing and IO library
|
|
|
|
%package tools
|
|
Summary: XMP support library -- Tools
|
|
Group: Productivity/Graphics/Other
|
|
|
|
%description tools
|
|
XMP parsing and IO library
|
|
|
|
%package -n libexempi-devel
|
|
Summary: XMP support library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: glibc-devel
|
|
Requires: libexempi3 = %{version}
|
|
|
|
%description -n libexempi-devel
|
|
XMP parsing and IO library
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
%configure --disable-static
|
|
%__make %{?jobs:-j%jobs} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
|
|
%check
|
|
%if ! 0%{?qemu_user_space_build}
|
|
make check
|
|
%endif
|
|
|
|
%post -n libexempi3 -p /sbin/ldconfig
|
|
|
|
%postun -n libexempi3 -p /sbin/ldconfig
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -n libexempi3
|
|
%defattr(-,root,root)
|
|
%doc README COPYING ChangeLog
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%doc README COPYING ChangeLog
|
|
%{_bindir}/exempi
|
|
%{_mandir}/man1/exempi.1%{?ext_man}
|
|
|
|
%files -n libexempi-devel
|
|
%defattr(-,root,root)
|
|
%doc README COPYING ChangeLog
|
|
%{_libdir}/lib*.so
|
|
%{_includedir}/exempi-2.0
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|