lxpolkit-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: lxpolkit
  2. Version: 0.1.0
  3. Release: 1%{?_dist_release}
  4. Summary: Simple PolicyKit authentication agent
  5. Summary(ja): シンプルな PolicyKit 認証エージェント
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://lxde.org/
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: gettext
  13. BuildRequires: glib2-devel >= 2.18.0
  14. BuildRequires: gtk2-devel >= 2.12.0
  15. BuildRequires: intltool >= 0.40.0
  16. BuildRequires: menu-cache-devel >= 0.3.2
  17. BuildRequires: perl-XML-Parser
  18. BuildRequires: polkit-devel
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: kudoh
  22. Requires: polkit >= 0.95
  23. # required to replace polkit-gnome and polkit-kde
  24. Provides: PolicyKit-authentication-agent
  25. %description
  26. LXPolKit is a simple PolicyKit authentication agent developed for LXDE,
  27. the Lightweight X11 Desktop Environment.
  28. %prep
  29. %setup -q
  30. sed -i 's/^NotShowIn=GNOME;KDE;/NotShowIn=GNOME;KDE;XFCE;/g' data/lxpolkit.desktop.in.in
  31. %build
  32. %configure --bindir=%{_libexecdir} --sysconfdir=/etc
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf %{buildroot}
  36. make install DESTDIR=%{buildroot}
  37. %find_lang %{name}
  38. desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop
  39. %clean
  40. rm -rf %{buildroot}
  41. %files -f %{name}.lang
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS ChangeLog COPYING NEWS README
  44. %config %{_sysconfdir}/xdg/autostart/lxpolkit.desktop
  45. %{_libexecdir}/%{name}
  46. %{_datadir}/%{name}/
  47. %changelog
  48. * Sun Sep 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
  49. - initial build for Vine Linux
  50. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-0.2.20100402git5087383
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  52. * Fri Apr 02 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-0.1.20100402git5087383
  53. - Update to git version 5087383
  54. - Install binary to %%{_libexecdir}
  55. * Mon Mar 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-0.1.20100329git93555fa
  56. - Initial package