libkipi-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Name: libkipi
  2. Summary: Common plugin infrastructure for KDE image applications
  3. Summary(ja): KDE 画像アプリケーション向けの共通プラグインインフラストラクチャ
  4. Version: 4.7.4
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2
  9. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs4-devel >= %{version}
  12. BuildRequires: soprano-devel
  13. Requires: kdelibs4 >= 4.7.0
  14. # when split occurred
  15. Conflicts: kdegraphics-libs < 4.6.95-10
  16. %description
  17. Kipi (KDE Image Plugin Interface) is an effort to develop a common plugin
  18. structure (for Digikam, Gwenview, etc.). Its aim is to share
  19. image plugins among graphic applications.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Summary(ja): %{name} の開発用ファイル
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: kdelibs4-devel
  26. %description devel
  27. %{summary}.
  28. %prep
  29. %setup -q
  30. %build
  31. mkdir -p %{_target_platform}
  32. pushd %{_target_platform}
  33. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  34. %cmake \
  35. -DCMAKE_BUILD_TYPE=release \
  36. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  37. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  38. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  39. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  40. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  41. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  42. ..
  43. popd
  44. make %{?_smp_mflags} -C %{_target_platform}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  48. %check
  49. export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
  50. pkg-config --modversion libkipi
  51. %post
  52. /sbin/ldconfig
  53. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  54. %posttrans
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. %postun
  57. /sbin/ldconfig
  58. if [ $1 -eq 0 ] ; then
  59. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  61. fi
  62. %files
  63. %doc AUTHORS COPYING NEWS README
  64. %{_libdir}/libkipi.so.8*
  65. %{_datadir}/kde4/apps/kipi/
  66. %{_datadir}/icons/hicolor/*/*/*
  67. %{_datadir}/kde4/servicetypes/kipiplugin.desktop
  68. %files devel
  69. %{_libdir}/libkipi.so
  70. %{_libdir}/pkgconfig/libkipi.pc
  71. %{_includedir}/kde4/libkipi/
  72. %changelog
  73. * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
  74. - new upstream release
  75. * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  76. - new upstream release
  77. * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  78. - Initial build for Vine Linux
  79. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  80. - 4.7.0
  81. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  82. - 4.6.95
  83. - fix URL
  84. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  85. - Conflicts: kdegraphics < 7:4.6.90
  86. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  87. - License: GPLv2+
  88. - fix scriptlets
  89. - %%doc: +NEWS, -TODO
  90. - fix Source0 URL
  91. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  92. - first try