libkexiv2-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Name: libkexiv2
  2. Summary: An Exiv2 wrapper library
  3. Summary(ja): Exiv2 ラッパーライブラリ
  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: exiv2-devel >= 0.20
  12. BuildRequires: kdelibs4-devel >= %{version}
  13. BuildRequires: libXpm-devel
  14. Requires: kdelibs4 >= 4.7.0
  15. # when split occurred
  16. Conflicts: kdegraphics-libs < 4.6.95-10
  17. %description
  18. Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
  19. metadata as EXIF/IPTC and XMP.
  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 %{buildroot}
  47. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  48. %check
  49. export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
  50. pkg-config --modversion libkexiv2
  51. make -C %{_target_platform}/test
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %doc COPYING
  56. %doc AUTHORS ChangeLog NEWS README TODO
  57. %{_libdir}/libkexiv2.so.10*
  58. %{_datadir}/kde4/apps/libkexiv2/
  59. %files devel
  60. %{_libdir}/libkexiv2.so
  61. %{_libdir}/pkgconfig/libkexiv2.pc
  62. %{_includedir}/kde4/libkexiv2/
  63. %changelog
  64. * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
  65. - new upstream release
  66. * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  67. - new upstream release
  68. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  69. - Initial build for Vine Linux
  70. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  71. - 4.7.0
  72. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  73. - 4.6.95
  74. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
  75. - fix URL
  76. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  77. - License: GPLv2+
  78. - fix Summary
  79. - %%doc: +ChangeLog NEWS
  80. - drop uneeded scriptlets
  81. - add %%check section
  82. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  83. - fix Source0 URL
  84. - Conflicts: kdegraphics < 7:4.6.90-10
  85. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  86. - first try