kdegraphics-thumbnailers-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Name: kdegraphics-thumbnailers
  2. Summary: Thumbnailers for various graphic types
  3. Version: 4.7.0
  4. Release: 2%{?_dist_release}
  5. # most sources GPLv2+, dscparse.* GPL, gscreator.* LGPLv2+,
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-thumbnailers
  9. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
  10. BuildRequires: kdelibs4-devel >= %{version}
  11. BuildRequires: libkexiv2-devel >= %{version}
  12. BuildRequires: libkdcraw-devel >= %{version}
  13. # when split occurred
  14. Conflicts: kdegraphics < 4.6.95-10
  15. %description
  16. %{summary}.
  17. %prep
  18. %setup -q
  19. %build
  20. mkdir -p %{_target_platform}
  21. pushd %{_target_platform}
  22. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  23. %cmake \
  24. -DCMAKE_BUILD_TYPE=release \
  25. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  26. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  27. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  28. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  29. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  30. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  31. ..
  32. popd
  33. make %{?_smp_mflags} -C %{_target_platform}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %doc COPYING COPYING.LIB
  41. %{_libdir}/kde4/gsthumbnail.so
  42. %{_datadir}/kde4/services/gsthumbnail.desktop
  43. %{_libdir}/kde4/rawthumbnail.so
  44. %{_datadir}/kde4/services/rawthumbnail.desktop
  45. %changelog
  46. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  47. - Initial build for Vine Linux
  48. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  49. - 4.7.0
  50. * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2
  51. - %%doc: COPYING COPYING.LIB
  52. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  53. - 4.6.95
  54. - fix URL
  55. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  56. - first try