Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
exiv2
exiv2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File exiv2.spec of Package exiv2
# # spec file for package exiv2 # # Copyright (c) 2017 SUSE LINUX 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: exiv2 Version: 0.26 Release: 0 Summary: Tool to access image Exif metadata License: GPL-2.0+ Group: Productivity/Graphics/Other Url: http://www.exiv2.org/ Source0: http://www.exiv2.org/builds/%{name}-%{version}-trunk.tar.gz Source1: baselibs.conf Patch1: exiv2-build-date.patch Patch2: parallel-build-dep.patch # PATCH-FIX-UPSTREAM gcc-version-check.patch -- fix build with GCC7 on Tumbleweed Patch3: gcc-version-check.patch # PATCH-FIX-UPSTREAM fix-crash.patch boo#1051782 -- prevent crashes in gwenview with certain images Patch4: fix-crash.patch Patch5: https://github.com/Exiv2/exiv2/commit/d4e4288d839d0d9546a05986771f8738c382060c.patch Patch6: 0001-Use-more-GNUInstallDirs.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: libexpat-devel BuildRequires: libxslt BuildRequires: pkg-config BuildRequires: python BuildRequires: zlib-devel # doxygen likes to have this BuildRequires: graphviz Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Exiv2 is a command line utility to access image metadata from tags like Exif. %package -n libexiv2-26 Summary: Library to access image metadata Group: System/Libraries %description -n libexiv2-26 libexiv2 is a C++ library with a C compatibility interface to access image metadata, esp from Exif tags. %package -n libexiv2-devel Summary: Development Headers for Exiv2 Group: Development/Libraries/C and C++ Requires: libexiv2-26 = %{version} Requires: libstdc++-devel %description -n libexiv2-devel Exiv2 is a C++ library and a command line utility to access image metadata. %package -n libexiv2-doc Summary: Library to access image metadata - Documentation Group: System/Libraries %description -n libexiv2-doc libexiv2 is a C++ library with a C compatibility interface to access image metadata, esp from Exif tags. This package contains the developer documentation in HTML format. %lang_package %prep %setup -q -n %{name}-trunk %patch1 -p1 %patch2 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build export CXXFLAGS="%optflags $(getconf LFS_CFLAGS)" %cmake \ -DEXIV2_ENABLE_BUILD_PO:BOOL=ON \ -DEXIV2_ENABLE_BUILD_SAMPLES:BOOL=OFF make %{?_smp_mflags} make doc -k ||: %install %cmake_install %find_lang exiv2 %fdupes -s doc/html rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.a rm %{buildroot}%{_libdir}/pkgconfig/exiv2.lsm %post -n libexiv2-26 -p /sbin/ldconfig %postun -n libexiv2-26 -p /sbin/ldconfig %files lang -f exiv2.lang %files %defattr(-,root,root) %doc doc/ChangeLog doc/cmd.txt %{_bindir}/exiv2 %{_mandir}/man1/* %files -n libexiv2-26 %defattr(-,root,root) %{_libdir}/libexiv2.so.* %files -n libexiv2-devel %defattr(-,root,root) %{_includedir}/exiv2 %{_libdir}/libexiv2.so %{_libdir}/pkgconfig/exiv2.pc %files -n libexiv2-doc %defattr(-,root,root) %doc doc/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor