ksaneplugin-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: ksaneplugin
  2. Summary: KDE sane service
  3. Version: 4.9.5
  4. Release: 1%{?_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/stable/%{version}/src/%{name}-%{version}.tar.xz
  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. %cmake \
  23. -DCMAKE_BUILD_TYPE=release \
  24. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  25. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  26. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  27. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  28. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  29. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  30. ..
  31. popd
  32. make %{?_smp_mflags} -C %{_target_platform}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %doc COPYING
  40. %{_libdir}/kde4/ksaneplugin.so
  41. %{_datadir}/kde4/services/ksane_scan_service.desktop
  42. %changelog
  43. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  44. - new upstream release
  45. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  46. - new upstream release
  47. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  48. - new upstream release
  49. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  50. - new upstream release
  51. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  52. - new upstream release
  53. * Mon Aug 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  54. - Initial build for Vine Linux
  55. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  56. - 4.7.0
  57. * Wed Jul 20 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-3
  58. - Summary: typo
  59. * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2
  60. - LICENSE: LGPLv2+
  61. - %%doc COPYING
  62. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  63. - 4.6.95
  64. - fix URL
  65. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  66. - fix Source URL
  67. - Conflicts: kdegraphics < 7:4.6.90-10
  68. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  69. - first try