ksaneplugin-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Name: ksaneplugin
  2. Summary: KDE sane service
  3. Version: 4.7.0
  4. Release: 2%{?_dist_release}
  5. License: LGPLv2+
  6. Group: System Environment/Libraries
  7. URL: https://projects.kde.org/projects/kde/kdegraphics/ksaneplugin
  8. Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs4-devel >= %{version}
  11. BuildRequires: libksane-devel >= %{version}
  12. Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
  13. # when split occurred
  14. Conflicts: kdegraphics < 4.6.95-10
  15. %description
  16. %{summary}.
  17. %prep
  18. %setup -q
  19. %build
  20. mkdir -p %{_target_platform}
  21. pushd %{_target_platform}
  22. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  23. %cmake \
  24. -DCMAKE_BUILD_TYPE=release \
  25. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  26. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  27. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  28. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  29. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  30. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  31. ..
  32. popd
  33. make %{?_smp_mflags} -C %{_target_platform}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %doc COPYING
  41. %{_libdir}/kde4/ksaneplugin.so
  42. %{_datadir}/kde4/services/ksane_scan_service.desktop
  43. %changelog
  44. * Mon Aug 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  45. - Initial build for Vine Linux
  46. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  47. - 4.7.0
  48. * Wed Jul 20 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-3
  49. - Summary: typo
  50. * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2
  51. - LICENSE: LGPLv2+
  52. - %%doc COPYING
  53. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  54. - 4.6.95
  55. - fix URL
  56. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  57. - fix Source URL
  58. - Conflicts: kdegraphics < 7:4.6.90-10
  59. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  60. - first try