polkit-gnome-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. Summary: PolicyKit integration for the GNOME desktop
  2. Summary(ja): PolicyKit の GNOME デスクトップ統合
  3. Name: polkit-gnome
  4. Version: 0.96
  5. Release: 2%{?_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. * Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 0.96-2
  84. - rebuilt with rpm-4.8.1 for pkg-config
  85. * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.96-1
  86. - update to 0.96
  87. * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.95-0.1.git20090913.6
  88. - initial build for Vine Linux
  89. * Wed Oct 7 2009 Matthias Clasen <mclasen@redhat.com> - 0.95.0.git20090913.6
  90. - Prevent the statusicon from eating whitespace
  91. * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.5
  92. - add Provides: PolicyKit-authentication-agent to satify what PolicyKit-gnome
  93. also provided
  94. * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.4
  95. - Refine how Obsolete: is used and also add Provides: (thanks Jesse
  96. Keating and nim-nim)
  97. * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.3
  98. - Obsolete old PolicyKit-gnome packages
  99. * Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.2
  100. - Update BR
  101. * Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.1
  102. - Update BR
  103. * Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913
  104. - Update to git snapshot
  105. - Turn on GObject introspection
  106. * Wed Sep 2 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-4
  107. - Just remove the OnlyShowIn, it turns out everybody wants this
  108. * Sat Aug 29 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-3
  109. - Require a new enough polkit (#517479)
  110. * Sat Aug 29 2009 Matthias Clasen <mclasen@redhat.com> - 0.94-2
  111. - Show in KDE, too (#519674)
  112. * Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-1
  113. - Update to upstream release 0.94
  114. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
  115. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  116. * Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-2
  117. - Rebuild
  118. * Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-1
  119. - Update to 0.93
  120. * Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> - 0.9.2-3
  121. - Fix BuildRequires
  122. * Tue Jun 09 2009 David Zeuthen <davidz@redhat.com> - 0.92-2
  123. - Change license to LGPLv2+
  124. - Remove Requires: gnome-session
  125. * Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-1
  126. - Update to 0.92 release
  127. * Wed May 27 2009 David Zeuthen <davidz@redhat.com> - 0.92-0.git20090527
  128. - Update to 0.92 snapshot
  129. * Mon Feb 9 2009 David Zeuthen <davidz@redhat.com> - 0.91-1
  130. - Initial spec file.