polkit-gnome-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Summary: PolicyKit integration for the GNOME desktop
  2. Summary(ja): PolicyKit の GNOME デスクトップ統合
  3. Name: polkit-gnome
  4. Version: 0.96
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. URL: http://www.freedesktop.org/wiki/Software/PolicyKit
  8. Group: Applications/System
  9. Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: gtk2-devel
  12. BuildRequires: polkit-devel >= 0.96
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: intltool
  15. BuildRequires: dbus-glib-devel
  16. BuildRequires: gobject-introspection-devel
  17. BuildRequires: gir-repository-devel
  18. #Obsoletes: PolicyKit-gnome <= 0.10
  19. #Provides: PolicyKit-gnome = 0.11
  20. #Obsoletes: PolicyKit-gnome-libs <= 0.10
  21. #Provides: PolicyKit-gnome-libs = 0.11
  22. Provides: PolicyKit-authentication-agent
  23. Requires: polkit
  24. %description
  25. polkit-gnome provides an authentication agent for PolicyKit
  26. that matches the look and feel of the GNOME desktop.
  27. %package devel
  28. Summary: Development files for polkit-gnome
  29. Summary(ja): polkit-gnome の開発ファイル
  30. Group: Development/Libraries
  31. Requires: %name = %{version}-%{release}
  32. Requires: %name-docs = %{version}-%{release}
  33. Requires: pkgconfig
  34. Requires: polkit-devel
  35. #Obsoletes: PolicyKit-gnome-devel <= 0.10
  36. #Provides: PolicyKit-gnome-devel = 0.11
  37. #Obsoletes: PolicyKit-gnome-demo <= 0.10
  38. #Provides: PolicyKit-gnome-demo = 0.11
  39. %description devel
  40. Development files for polkit-gnome.
  41. %package docs
  42. Summary: Development documentation for polkit-gnome
  43. Summary(ja): polkit-gnome の開発ドキュメント
  44. Group: Development/Libraries
  45. Requires: %name-devel = %{version}-%{release}
  46. Requires: gtk-doc
  47. %description docs
  48. Development documentation for polkit-gnome.
  49. %prep
  50. %setup -q
  51. %build
  52. %configure --enable-gtk-doc
  53. make
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. make install DESTDIR=$RPM_BUILD_ROOT
  57. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  58. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  59. desktop-file-install --delete-original \
  60. --dir $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart \
  61. --remove-only-show-in GNOME \
  62. $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
  63. %find_lang polkit-gnome-1
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files -f polkit-gnome-1.lang
  67. %defattr(-,root,root,-)
  68. %doc COPYING AUTHORS README
  69. %{_sysconfdir}/xdg/autostart/*
  70. %{_libexecdir}/*
  71. %{_libdir}/lib*.so.*
  72. %{_libdir}/girepository-1.0/*.typelib
  73. %files devel
  74. %defattr(-,root,root,-)
  75. %{_libdir}/lib*.so
  76. %{_libdir}/pkgconfig/*.pc
  77. %{_includedir}/*
  78. %{_datadir}/gir-1.0/*.gir
  79. %files docs
  80. %defattr(-,root,root,-)
  81. %{_datadir}/gtk-doc/html/*
  82. %changelog
  83. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.96-1
  84. - update to 0.96
  85. * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.95-0.1.git20090913.6
  86. - initial build for Vine Linux
  87. * Wed Oct 7 2009 Matthias Clasen <mclasen@redhat.com> - 0.95.0.git20090913.6
  88. - Prevent the statusicon from eating whitespace
  89. * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.5
  90. - add Provides: PolicyKit-authentication-agent to satify what PolicyKit-gnome
  91. also provided
  92. * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.4
  93. - Refine how Obsolete: is used and also add Provides: (thanks Jesse
  94. Keating and nim-nim)
  95. * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.3
  96. - Obsolete old PolicyKit-gnome packages
  97. * Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.2
  98. - Update BR
  99. * Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.1
  100. - Update BR
  101. * Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913
  102. - Update to git snapshot
  103. - Turn on GObject introspection
  104. * Wed Sep 2 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-4
  105. - Just remove the OnlyShowIn, it turns out everybody wants this
  106. * Sat Aug 29 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-3
  107. - Require a new enough polkit (#517479)
  108. * Sat Aug 29 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-2
  109. - Show in KDE, too (#519674)
  110. * Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-1
  111. - Update to upstream release 0.94
  112. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  114. * Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-2
  115. - Rebuild
  116. * Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-1
  117. - Update to 0.93
  118. * Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> - 0.9.2-3
  119. - Fix BuildRequires
  120. * Tue Jun 09 2009 David Zeuthen <davidz@redhat.com> - 0.92-2
  121. - Change license to LGPLv2+
  122. - Remove Requires: gnome-session
  123. * Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-1
  124. - Update to 0.92 release
  125. * Wed May 27 2009 David Zeuthen <davidz@redhat.com> - 0.92-0.git20090527
  126. - Update to 0.92 snapshot
  127. * Mon Feb 9 2009 David Zeuthen <davidz@redhat.com> - 0.91-1
  128. - Initial spec file.