diff --git a/libexiv2.spec b/libexiv2.spec index a168a6b..5f62623 100644 --- a/libexiv2.spec +++ b/libexiv2.spec @@ -1,14 +1,14 @@ Name: libexiv2 Epoch: 1 -Version: 0.26 +Version: 0.27.1 Release: 1mamba Summary: Exif and IPTC metadata library and tools Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan -URL: http://www.exiv2.org/ -Source0: http://www.exiv2.org/builds/exiv2-%{version}-trunk.tar.gz +URL: https://www.exiv2.org/ +Source0: https://www.exiv2.org/builds/exiv2-%{version}-Source.tar.gz ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc @@ -44,17 +44,18 @@ Exiv2 is a C++ library and a command line utility to access image metadata. This package contains static libraries and header files need for development. %prep -%setup -q -n exiv2-trunk +%setup -q -n exiv2-%{version}-Source %build -%configure --disable-static +%cmake -d build + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build -%find_lang exiv2 +#% find_lang exiv2 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -69,19 +70,26 @@ This package contains static libraries and header files need for development. %files devel %defattr(-,root,root) -%{_includedir}/exiv2/ -%{_libdir}/libexiv2.la +%dir %{_includedir}/exiv2/ +%{_includedir}/exiv2/* %{_libdir}/libexiv2.so %{_libdir}/pkgconfig/exiv2.pc -%doc README +%dir %{_libdir}/exiv2 +%dir %{_libdir}/exiv2/cmake +%{_libdir}/exiv2/cmake/exiv2Config*.cmake +%{_libdir}/libexiv2-xmp.a +#%doc README -%files -n exiv2 -f exiv2.lang +%files -n exiv2 %defattr(-,root,root) -%{_bindir}/exiv2 +%{_bindir}/* %{_mandir}/man1/exiv2.* %{_mandir}/man1/exiv2samples.1* %changelog +* Sun May 26 2019 Silvan Calarco 0.27.1-1mamba +- update to 0.27.1 + * Sat Dec 23 2017 Silvan Calarco 0.26-1mamba - update to 0.26