libkdcraw-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Name: libkdcraw
  2. Summary: A C++ interface around LibRaw library
  3. Summary(ja): LibRaw ライブラリ向けの C++ インターフェース
  4. Version: 4.14.3
  5. Release: 2%{?_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}/tests
  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. * Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.14.3-2
  78. - rebuilt with LibRaw-0.17.2.
  79. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  80. - new upstream release
  81. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  82. - new upstream release
  83. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  84. - new upstream release
  85. - add BuildRequires: LibRaw-devel
  86. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  87. - new upstream release
  88. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  89. - new upstream release
  90. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  91. - new upstream release
  92. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  93. - new upstream release
  94. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  95. - new upstream release
  96. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  97. - new upstream release
  98. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  99. - new upstream release
  100. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  101. - new upstream release
  102. * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
  103. - new upstream release
  104. * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
  105. - new upstream release
  106. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  107. - Initial build for Vine Linux
  108. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  109. - 4.7.0
  110. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  111. - 4.6.95
  112. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-5
  113. - License: GPLv2+ and LGPLv2 and GPLv3+
  114. - Provides: bundled(LibRaw)
  115. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
  116. - fix URL
  117. - fix scriptlets
  118. * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
  119. - License: GPLv2+
  120. - %%doc: +ChangeLog NEWS
  121. - add %%check section
  122. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  123. - fix Source0 URL
  124. - Conflicts: kdegraphics < 7:4.6.90-10
  125. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  126. - first try