kamera-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Name: kamera
  2. Summary: Digital camera support for KDE
  3. Summary(ja): KDE のデジタルカメラサポート
  4. Version: 4.7.0
  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.bz2
  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. %description
  17. %{summary}.
  18. %prep
  19. %setup -q
  20. %build
  21. mkdir -p %{_target_platform}
  22. pushd %{_target_platform}
  23. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  24. %cmake \
  25. -DCMAKE_BUILD_TYPE=release \
  26. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  27. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  28. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  29. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  30. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  31. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  32. ..
  33. popd
  34. make %{?_smp_mflags} -C %{_target_platform}
  35. %install
  36. rm -rf %{buildroot}
  37. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  38. %files
  39. %doc AUTHORS README
  40. %{_libdir}/kde4/kcm_kamera.so
  41. %{_libdir}/kde4/kio_kamera.so
  42. %{_datadir}/kde4/apps/solid/actions/solid_camera.desktop
  43. %{_datadir}/kde4/services/kamera.desktop
  44. %{_datadir}/kde4/services/camera.protocol
  45. %{_datadir}/doc/HTML/en/kcontrol/%{name}/
  46. %changelog
  47. * Sat Aug 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  48. - Initial build for Vine Linux
  49. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  50. - 4.7.0
  51. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  52. - 4.6.95
  53. - fix URL
  54. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  55. - fix Source0 URL
  56. - Conflicts: kdegraphics < 7:4.6.90-10
  57. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  58. - first try