libkexiv2-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Name: libkexiv2
  2. Summary: An Exiv2 wrapper library
  3. Summary(ja): Exiv2 ラッパーライブラリ
  4. Version: 4.11.1
  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.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: exiv2-devel >= 0.20
  12. BuildRequires: kdelibs4-devel >= %{version}
  13. BuildRequires: libXpm-devel
  14. Requires: kdelibs4 >= %{version}
  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. %cmake \
  34. -DCMAKE_BUILD_TYPE=release \
  35. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  36. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  37. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  38. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  39. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  40. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  41. ..
  42. popd
  43. make %{?_smp_mflags} -C %{_target_platform}
  44. %install
  45. rm -rf %{buildroot}
  46. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  47. %check
  48. export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
  49. pkg-config --modversion libkexiv2
  50. make -C %{_target_platform}/test
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %doc COPYING
  55. %doc AUTHORS ChangeLog NEWS README TODO
  56. %{_libdir}/libkexiv2.so.*
  57. %{_datadir}/kde4/apps/libkexiv2/
  58. %files devel
  59. %{_libdir}/libkexiv2.so
  60. %{_libdir}/pkgconfig/libkexiv2.pc
  61. %{_includedir}/kde4/libkexiv2/
  62. %changelog
  63. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  64. - new upstream release
  65. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  66. - new upstream release
  67. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  68. - new upstream release
  69. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  70. - new upstream release
  71. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  72. - new upstream release
  73. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  74. - new upstream release
  75. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  76. - new upstream release
  77. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-3
  78. - rebuild with exiv2-0.23
  79. * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-2
  80. - rebuild with exiv2-0.22
  81. * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
  82. - new upstream release
  83. * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  84. - new upstream release
  85. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  86. - Initial build for Vine Linux
  87. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  88. - 4.7.0
  89. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  90. - 4.6.95
  91. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
  92. - fix URL
  93. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  94. - License: GPLv2+
  95. - fix Summary
  96. - %%doc: +ChangeLog NEWS
  97. - drop uneeded scriptlets
  98. - add %%check section
  99. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  100. - fix Source0 URL
  101. - Conflicts: kdegraphics < 7:4.6.90-10
  102. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  103. - first try