libkdcraw-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Name: libkdcraw
  2. Summary: A C++ interface around LibRaw library
  3. Summary(ja): LibRaw ライブラリ向けの C++ インターフェース
  4. Version: 4.12.5
  5. Release: 1%{?_dist_release}
  6. # libkdcraw is GPLv2+,
  7. License: GPLv2+
  8. URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw
  9. Group: System Environment/Libraries
  10. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: kdelibs-devel >= %{version}
  13. BuildRequires: lcms-devel
  14. BuildRequires: libjpeg-devel
  15. BuildRequires: LibRaw-devel
  16. Requires: kdelibs >= %{version}
  17. # when split occurred
  18. Conflicts: kdegraphics-libs < 4.6.95-10
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. Libkdcraw is a C++ interface around LibRaw library used to decode RAW
  23. picture files. More information about LibRaw can be found at
  24. http://www.libraw.org.
  25. %package devel
  26. Summary: Development files for %{name}
  27. Summary(ja): %{name} の開発用ファイル
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: kdelibs-devel
  31. %description devel
  32. %{summary}.
  33. %prep
  34. %setup -q
  35. %build
  36. mkdir -p %{_target_platform}
  37. pushd %{_target_platform}
  38. %cmake \
  39. -DCMAKE_BUILD_TYPE=release \
  40. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  41. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  42. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  43. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  44. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  45. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  46. ..
  47. popd
  48. make %{?_smp_mflags} -C %{_target_platform}
  49. %install
  50. rm -rf %{buildroot}
  51. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  52. %check
  53. export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
  54. pkg-config --modversion libkdcraw
  55. make -C %{_target_platform}/test
  56. %post
  57. /sbin/ldconfig
  58. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  59. %posttrans
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  61. %postun
  62. /sbin/ldconfig
  63. if [ $1 -eq 0 ] ; then
  64. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  65. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  66. fi
  67. %files
  68. %doc AUTHORS ChangeLog COPYING NEWS README TODO
  69. %{_libdir}/libkdcraw.so.*
  70. %{_datadir}/kde4/apps/libkdcraw/
  71. %{_datadir}/icons/hicolor/*/*/*
  72. %files devel
  73. %{_libdir}/libkdcraw.so
  74. %{_libdir}/pkgconfig/libkdcraw.pc
  75. %{_includedir}/kde4/libkdcraw/
  76. %changelog
  77. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  78. - new upstream release
  79. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  80. - new upstream release
  81. - add BuildRequires: LibRaw-devel
  82. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  83. - new upstream release
  84. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  85. - new upstream release
  86. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  87. - new upstream release
  88. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  89. - new upstream release
  90. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  91. - new upstream release
  92. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  93. - new upstream release
  94. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  95. - new upstream release
  96. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  97. - new upstream release
  98. * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
  99. - new upstream release
  100. * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  101. - new upstream release
  102. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  103. - Initial build for Vine Linux
  104. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  105. - 4.7.0
  106. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  107. - 4.6.95
  108. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-5
  109. - License: GPLv2+ and LGPLv2 and GPLv3+
  110. - Provides: bundled(LibRaw)
  111. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
  112. - fix URL
  113. - fix scriptlets
  114. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  115. - License: GPLv2+
  116. - %%doc: +ChangeLog NEWS
  117. - add %%check section
  118. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  119. - fix Source0 URL
  120. - Conflicts: kdegraphics < 7:4.6.90-10
  121. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  122. - first try