polkit-kde-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: polkit-kde
  2. Summary: PolicyKit integration for KDE Desktop
  3. Summary(ja): PolicyKit の KDE デスクトップ統合
  4. Version: 0.99.0
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Daemons
  7. License: GPLv2+
  8. URL: http://www.kde.org/
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/polkit-kde-agent-1-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs4-devel
  12. BuildRequires: polkit-qt-devel >= 0.99.0
  13. BuildRequires: cmake
  14. BuildRequires: gettext
  15. Provides: PolicyKit-authentication-agent
  16. Provides: polkit-kde-1 = %{version}-%{release}
  17. Obsoletes: PolicyKit-kde < 4.5
  18. %description
  19. Provides Policy Kit Authentication Agent that nicely fits to KDE.
  20. %prep
  21. %setup -q -n polkit-kde-agent-1-%{version}
  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} VERBOSE=1
  36. %install
  37. rm -rf %{buildroot}
  38. make install DESTDIR=%{buildroot} -C %{_target_platform}
  39. #desktop-file-install --delete-original \
  40. # --dir %{buildroot}%{_sysconfdir}/xdg/autostart \
  41. # %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
  42. %find_lang polkit-kde-authentication-agent-1
  43. %clean
  44. rm -rf %{buildroot}
  45. %files -f polkit-kde-authentication-agent-1.lang
  46. %defattr(-,root,root,-)
  47. %doc COPYING
  48. %{_libexecdir}/kde4/polkit-kde-authentication-agent-1
  49. %{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop
  50. %{_datadir}/kde4/apps/policykit1-kde/policykit1-kde.notifyrc
  51. %changelog
  52. * Sun Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.99.0-2
  53. - rebuilt on current VineSeed
  54. * Sun Feb 6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1
  55. - new upstream release
  56. * Sun Feb 28 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-5
  57. - initial build for Vine Linux
  58. * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4
  59. - FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809)
  60. * Wed Jan 06 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-3
  61. - Again provides PolicyKit-authentication-agent
  62. * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-2
  63. - Added Gettext BR
  64. * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1
  65. - Update to official release
  66. - Provides polkit-kde-1
  67. * Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
  68. - Adds desktop file
  69. - Adds obsoletes
  70. * Wed Nov 25 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.1.20091125svn
  71. - Initial package