ksaneplugin-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: ksaneplugin
  2. Summary: KDE sane service
  3. Version: 4.10.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. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  44. - new upstream release
  45. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  46. - new upstream release
  47. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  48. - new upstream release
  49. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  50. - new upstream release
  51. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  52. - new upstream release
  53. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  54. - new upstream release
  55. * Mon Aug 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
  56. - Initial build for Vine Linux
  57. * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
  58. - 4.7.0
  59. * Wed Jul 20 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-3
  60. - Summary: typo
  61. * Mon Jul 18 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-2
  62. - LICENSE: LGPLv2+
  63. - %%doc COPYING
  64. * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
  65. - 4.6.95
  66. - fix URL
  67. * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
  68. - fix Source URL
  69. - Conflicts: kdegraphics < 7:4.6.90-10
  70. * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1
  71. - first try