libkexiv2-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Name: libkexiv2
  2. Summary: An Exiv2 wrapper library
  3. Summary(ja): Exiv2 ラッパーライブラリ
  4. Version: 4.14.3
  5. Release: 3%{?_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: kdelibs-devel >= %{version}
  13. BuildRequires: libXpm-devel
  14. Requires: kdelibs >= %{version}
  15. # when split occurred
  16. Conflicts: kdegraphics-libs < 4.6.95-10
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
  21. metadata as EXIF/IPTC and XMP.
  22. %package devel
  23. Summary: Development files for %{name}
  24. Summary(ja): %{name} の開発用ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: kdelibs-devel
  28. %description devel
  29. %{summary}.
  30. %prep
  31. %setup -q
  32. %build
  33. mkdir -p %{_target_platform}
  34. pushd %{_target_platform}
  35. %cmake \
  36. -DCMAKE_BUILD_TYPE=release \
  37. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  38. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  39. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  40. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  41. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  42. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  43. ..
  44. popd
  45. make %{?_smp_mflags} -C %{_target_platform}
  46. %install
  47. rm -rf %{buildroot}
  48. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  49. %check
  50. export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
  51. pkg-config --modversion libkexiv2
  52. make -C %{_target_platform}/tests
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %doc COPYING
  57. %doc AUTHORS ChangeLog NEWS README TODO
  58. %{_libdir}/libkexiv2.so.*
  59. %{_datadir}/kde4/apps/libkexiv2/
  60. %files devel
  61. %{_libdir}/libkexiv2.so
  62. %{_libdir}/pkgconfig/libkexiv2.pc
  63. %{_includedir}/kde4/libkexiv2/
  64. %{_libdir}/cmake/libkexiv2-2.3.2/*.cmake
  65. %changelog
  66. * Wed Jul 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-3
  67. - rebuild with gcc-5.4.0
  68. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  69. - rebuild with exiv2-0.25
  70. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  71. - new upstream release
  72. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  73. - new upstream release
  74. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  75. - new upstream release
  76. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  77. - new upstream release
  78. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  79. - new upstream release
  80. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  81. - new upstream release
  82. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  83. - new upstream release
  84. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  85. - new upstream release
  86. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  87. - new upstream release
  88. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  89. - new upstream release
  90. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  91. - new upstream release
  92. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-3
  93. - rebuild with exiv2-0.23
  94. * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-2
  95. - rebuild with exiv2-0.22
  96. * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
  97. - new upstream release
  98. * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  99. - new upstream release
  100. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  101. - Initial build for Vine Linux
  102. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  103. - 4.7.0
  104. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  105. - 4.6.95
  106. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
  107. - fix URL
  108. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  109. - License: GPLv2+
  110. - fix Summary
  111. - %%doc: +ChangeLog NEWS
  112. - drop uneeded scriptlets
  113. - add %%check section
  114. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  115. - fix Source0 URL
  116. - Conflicts: kdegraphics < 7:4.6.90-10
  117. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  118. - first try