kamera-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: kamera
  2. Summary: Digital camera support for KDE
  3. Summary(ja): KDE のデジタルカメラサポート
  4. Version: 4.9.5
  5. Release: 2%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Accessories
  8. URL: https://projects.kde.org/projects/kde/kdegraphics/kamera
  9. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs4-devel >= %{version}
  12. BuildRequires: libgphoto2-devel
  13. Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
  14. # when split occurred
  15. Conflicts: kdegraphics < 4.6.95-10
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. %{summary}.
  20. %prep
  21. %setup -q
  22. %build
  23. mkdir -p %{_target_platform}
  24. pushd %{_target_platform}
  25. %cmake \
  26. -DCMAKE_BUILD_TYPE=release \
  27. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  28. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  29. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  30. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  31. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  32. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  33. ..
  34. popd
  35. make %{?_smp_mflags} -C %{_target_platform}
  36. %install
  37. rm -rf %{buildroot}
  38. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  39. %files
  40. %doc AUTHORS README
  41. %{_libdir}/kde4/kcm_kamera.so
  42. %{_libdir}/kde4/kio_kamera.so
  43. %{_datadir}/kde4/apps/solid/actions/solid_camera.desktop
  44. %{_datadir}/kde4/services/kamera.desktop
  45. %{_datadir}/kde4/services/camera.protocol
  46. %{_datadir}/doc/HTML/en/kcontrol/%{name}/
  47. %changelog
  48. * Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> 4.9.5-2
  49. - build with libgphoto2 2.5.0-1
  50. - add Vendor and Distribution tags
  51. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  52. - new upstream release
  53. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  54. - new upstream release
  55. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  56. - new upstream release
  57. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  58. - new upstream release
  59. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  60. - new upstream release
  61. * Sat Aug 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  62. - Initial build for Vine Linux
  63. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  64. - 4.7.0
  65. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  66. - 4.6.95
  67. - fix URL
  68. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  69. - fix Source0 URL
  70. - Conflicts: kdegraphics < 7:4.6.90-10
  71. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  72. - first try