diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d58c5f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libkexiv2-4.10.5.tar.xz diff --git a/.libkexiv2.metadata b/.libkexiv2.metadata new file mode 100644 index 0000000..3fecee0 --- /dev/null +++ b/.libkexiv2.metadata @@ -0,0 +1 @@ +9521acdb66893006143bffdba81d2dbf140ce27f SOURCES/libkexiv2-4.10.5.tar.xz diff --git a/SPECS/libkexiv2.spec b/SPECS/libkexiv2.spec new file mode 100644 index 0000000..386dee3 --- /dev/null +++ b/SPECS/libkexiv2.spec @@ -0,0 +1,212 @@ +Name: libkexiv2 +Summary: An Exiv2 wrapper library +Version: 4.10.5 +Release: 4%{?dist} + +License: GPLv2+ +URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2 +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: ftp://ftp.kde.org/pub/kde/%{stable}/%{version}/src/%{name}-%{version}.tar.xz + +BuildRequires: kdelibs4-devel >= %{version} +BuildRequires: pkgconfig(exiv2) + +Requires: kdelibs4%{?_isa} >= %{_kde4_version} + +# when split occurred +Conflicts: kdegraphics-libs < 7:4.6.95-10 + + +%description +Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures +metadata as EXIF/IPTC and XMP. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: kdelibs4-devel +%description devel +%{summary}. + + +%prep +%setup -q + + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kde4} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + + +%install +rm -rf %{buildroot} + +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + + +%check +export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig +pkg-config --modversion libkexiv2 +make -C %{_target_platform}/test + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%doc COPYING +%doc AUTHORS ChangeLog NEWS README TODO +%{_kde4_libdir}/libkexiv2.so.11* +%{_kde4_appsdir}/libkexiv2/ + +%files devel +%{_kde4_libdir}/libkexiv2.so +%{_kde4_libdir}/pkgconfig/libkexiv2.pc +%{_kde4_includedir}/libkexiv2/ + + +%changelog +* Wed Sep 06 2017 Jan Grulich - 4.10.5-4 +- Rebuild exiv2 + Resolves: bz#1488010 + +* Fri Jan 24 2014 Daniel Mach - 4.10.5-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 4.10.5-2 +- Mass rebuild 2013-12-27 + +* Sun Jun 30 2013 Than Ngo - 4.10.5-1 +- 4.10.5 + +* Sat Jun 01 2013 Rex Dieter - 4.10.4-1 +- 4.10.4 + +* Mon May 06 2013 Than Ngo - 4.10.3-1 +- 4.10.3 + +* Sun Mar 31 2013 Rex Dieter - 4.10.2-1 +- 4.10.2 + +* Sat Mar 02 2013 Rex Dieter - 4.10.1-1 +- 4.10.1 + +* Thu Jan 31 2013 Rex Dieter - 4.10.0-1 +- 4.10.0 + +* Sat Jan 19 2013 Rex Dieter - 4.9.98-1 +- 4.9.98 + +* Fri Jan 04 2013 Rex Dieter - 4.9.97-1 +- 4.9.97 + +* Wed Dec 19 2012 Rex Dieter - 4.9.95-1 +- 4.9.95 + +* Mon Dec 03 2012 Rex Dieter 4.9.90-1 +- 4.9.90 (4.10 beta2) + +* Mon Dec 03 2012 Than Ngo - 4.9.4-1 +- 4.9.4 + +* Fri Nov 02 2012 Rex Dieter - 4.9.3-1 +- 4.9.3 + +* Fri Sep 28 2012 Rex Dieter - 4.9.2-1 +- 4.9.2 + +* Mon Sep 03 2012 Than Ngo - 4.9.1-1 +- 4.9.1 + +* Thu Jul 26 2012 Lukas Tinkl - 4.9.0-1 +- 4.9.0 + +* Thu Jul 19 2012 Fedora Release Engineering - 4.8.97-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jul 11 2012 Rex Dieter - 4.8.97-1 +- 4.8.97 + +* Wed Jun 27 2012 Jaroslav Reznik - 4.8.95-1 +- 4.8.95 + +* Sat Jun 09 2012 Rex Dieter - 4.8.90-1 +- 4.8.90 + +* Sat May 26 2012 Jaroslav Reznik - 4.8.80-1 +- 4.8.80 +- bump soname version to 11* + +* Wed May 02 2012 Rex Dieter - 4.8.3-2 +- rebuild (exiv2) + +* Mon Apr 30 2012 Jaroslav Reznik - 4.8.3-1 +- 4.8.3 + +* Fri Mar 30 2012 Jaroslav Reznik - 4.8.2-1 +- 4.8.2 + +* Mon Mar 05 2012 Jaroslav Reznik - 4.8.1-1 +- 4.8.1 + +* Sun Jan 22 2012 Rex Dieter - 4.8.0-1 +- 4.8.0 + +* Wed Jan 04 2012 Radek Novacek - 4.7.97-1 +- 4.7.97 + +* Wed Dec 21 2011 Radek Novacek - 4.7.95-1 +- 4.7.95 + +* Sun Dec 04 2011 Rex Dieter - 4.7.90-1 +- 4.7.90 + +* Fri Nov 25 2011 Jaroslav Reznik 4.7.80-1 +- 4.7.80 (beta 1) + +* Sat Oct 29 2011 Rex Dieter 4.7.3-1 +- 4.7.3 + +* Fri Oct 14 2011 Rex Dieter - 4.7.2-2 +- rebuild (exiv2) + +* Tue Oct 04 2011 Rex Dieter 4.7.2-1 +- 4.7.2 + +* Wed Sep 14 2011 Radek Novacek 4.7.1-1 +- 4.7.1 + +* Tue Jul 26 2011 Jaroslav Reznik 4.7.0-1 +- 4.7.0 + +* Mon Jul 11 2011 Rex Dieter 4.6.95-1 +- 4.6.95 + +* Sun Jul 10 2011 Rex Dieter 4.6.90-4 +- fix URL + +* Sun Jul 10 2011 Rex Dieter 4.6.90-3 +- License: GPLv2+ +- fix Summary +- %%doc: +ChangeLog NEWS +- drop uneeded scriptlets +- add %%check section + +* Wed Jul 06 2011 Rex Dieter 4.6.90-2 +- fix Source0 URL +- Conflicts: kdegraphics < 7:4.6.90-10 + +* Tue Jul 05 2011 Rex Dieter 4.6.90-1 +- first try + +