polkit-kde-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: polkit-kde
  2. Summary: PolicyKit integration for KDE Desktop
  3. Summary(ja): PolicyKit の KDE デスクトップ統合
  4. Version: 0.99.0
  5. Release: 3%{?_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. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.99.0-3
  53. - rebuild with gcc-5.4.0
  54. * Sun Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.99.0-2
  55. - rebuilt on current VineSeed
  56. * Sun Feb 6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.99.0-1
  57. - new upstream release
  58. * Sun Feb 28 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-5
  59. - initial build for Vine Linux
  60. * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4
  61. - FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809)
  62. * Wed Jan 06 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-3
  63. - Again provides PolicyKit-authentication-agent
  64. * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-2
  65. - Added Gettext BR
  66. * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1
  67. - Update to official release
  68. - Provides polkit-kde-1
  69. * Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
  70. - Adds desktop file
  71. - Adds obsoletes
  72. * Wed Nov 25 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.1.20091125svn
  73. - Initial package