3 %bcond_with tests # build with tests
4 %bcond_without tests # build without tests
6 Summary: Exif and Iptc metadata manipulation tools
10 License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
12 Source0: http://home.arcor.de/ahuggel/exiv2/%{name}-%{version}.tar.gz
13 # Source0-md5: 540e720b77c05ca50d5005a140e38138
14 URL: http://home.arcor.de/ahuggel/exiv2/
15 BuildRequires: libstdc++-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Exif and Iptc metadata manipulation library and tools.
22 Summary: Exif and Iptc metadata manipulation library
26 Exif and Iptc metadata manipulation library.
29 Summary: Exif and Iptc metadata manipulation library development files
30 Group: Development/Libraries
31 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
34 Exif and Iptc metadata manipulation library development files.
37 Summary: Exif and Iptc metadata manipulation static library
38 Group: Development/Libraries
39 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
42 Exif and Iptc metadata manipulation static library.
52 rm -rf $RPM_BUILD_ROOT
55 incdir=$RPM_BUILD_ROOT%{_includedir}/exiv2 \
56 libdir=$RPM_BUILD_ROOT%{_libdir} \
57 bindir=$RPM_BUILD_ROOT%{_bindir} \
58 DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc doc/ChangeLog README
66 %attr(755,root,root) %{_bindir}/*
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_libdir}/*so
73 %defattr(644,root,root,755)
74 %{_includedir}/%{name}
78 %defattr(644,root,root,755)