polkit-kde-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Name: polkit-kde
  2. Version: 0.95.1
  3. Release: 5%{?_dist_release}
  4. Summary: PolicyKit integration for KDE Desktop
  5. Group: Applications/System
  6. License: GPLv2+
  7. URL: http://www.kde.org/
  8. Source0: polkit-kde-1-0.95.1.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. ## upstreamable patches
  11. Patch50: polkit-kde-1-0.95.1-ImplicitDSOLinking.patch
  12. BuildRequires: kdelibs4-devel
  13. BuildRequires: polkit-qt-devel >= 0.95
  14. BuildRequires: cmake
  15. BuildRequires: gettext
  16. Provides: PolicyKit-authentication-agent
  17. Provides: polkit-kde-1 = %{version}-%{release}
  18. Obsoletes: PolicyKit-kde < 4.5
  19. %description
  20. Provides Policy Kit Authentication Agent that nicely fits to KDE.
  21. %prep
  22. %setup -q -n polkit-kde-1-%{version}
  23. %patch50 -p1 -b .ImplicitDSOLinking
  24. %build
  25. mkdir -p %{_target_platform}
  26. pushd %{_target_platform}
  27. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  28. %cmake \
  29. -DCMAKE_BUILD_TYPE=release \
  30. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  31. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  32. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  33. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  34. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  35. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  36. ..
  37. popd
  38. make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1
  39. %install
  40. rm -rf %{buildroot}
  41. make install DESTDIR=%{buildroot} -C %{_target_platform}
  42. desktop-file-install --delete-original \
  43. --dir %{buildroot}%{_sysconfdir}/xdg/autostart \
  44. %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
  45. %find_lang polkit-kde-authentication-agent-1
  46. %clean
  47. rm -rf %{buildroot}
  48. %files -f polkit-kde-authentication-agent-1.lang
  49. %defattr(-,root,root,-)
  50. %doc COPYING
  51. %{_libexecdir}/kde4/polkit-kde-authentication-agent-1
  52. %{_sysconfdir}/xdg/autostart/*
  53. %changelog
  54. * Sun Feb 28 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.1-5
  55. - initial build for Vine Linux
  56. * Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4
  57. - FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809)
  58. * Wed Jan 06 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-3
  59. - Again provides PolicyKit-authentication-agent
  60. * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-2
  61. - Added Gettext BR
  62. * Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1
  63. - Update to official release
  64. - Provides polkit-kde-1
  65. * Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
  66. - Adds desktop file
  67. - Adds obsoletes
  68. * Wed Nov 25 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.1.20091125svn
  69. - Initial package