gksu-polkit-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. %define commit f8ce834c
  2. Name: gksu-polkit
  3. Version: 0.0.3
  4. Release: 2%{?_dist_release}
  5. Summary: Command line utility to run programs as root
  6. Summary(ja): プログラムをrootで実行するためのコマンドラインツール
  7. License: LGPLv3+
  8. Group: Applications/System
  9. URL: http://live.gnome.org/gksu
  10. # There is no other download source
  11. Source0: %{name}-%{version}-git%{commit}.tar.bz2
  12. Source99: %{name}-git-checkout.sh
  13. Patch0: %{name}-dbus.patch
  14. Patch1: %{name}-%{version}-policy.patch
  15. Patch2: %{name}-%{version}-format-security.patch
  16. BuildRequires: autoconf
  17. BuildRequires: automake
  18. BuildRequires: doxygen
  19. BuildRequires: dbus-glib-devel
  20. BuildRequires: gtk-doc
  21. BuildRequires: gtk2-devel
  22. BuildRequires: intltool
  23. BuildRequires: libgee06-devel
  24. BuildRequires: libgee06-vala
  25. BuildRequires: libtool
  26. BuildRequires: polkit-devel
  27. BuildRequires: startup-notification-devel
  28. BuildRequires: vala
  29. Requires: %{name}-libs = %{version}-%{release}
  30. %description
  31. This is a library and application used to ask the user for passwords to run
  32. programs as root.
  33. %package libs
  34. Summary: Libraries for %{name}
  35. Summary(ja): %{name} 用のライブラリ
  36. Group: System Environment/Libraries
  37. %description libs
  38. Libraries for software which uses %{name}.
  39. %package libs-devel
  40. Summary: Development libraries and headers for %{name}
  41. Summary(ja): %{name} 用の開発ライブラリおよびヘッダファイル
  42. Group: Development/Libraries
  43. Requires: %{name}-libs = %{version}-%{release}
  44. %description libs-devel
  45. Development libraries and headers for %{name}-libs.
  46. %prep
  47. %setup -q -n %{name}
  48. %patch0 -p0
  49. %patch1 -p1
  50. %patch2 -p1
  51. %build
  52. autoreconf -v -f --install
  53. %configure
  54. make
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=%{buildroot}
  58. find %{buildroot} -name '*.la' -delete
  59. find %{buildroot} -name '*.a' -delete
  60. # Currently no translations available, although we have a po folder
  61. %post libs -p /sbin/ldconfig
  62. %postun libs -p /sbin/ldconfig
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %files
  66. %{_bindir}/%{name}
  67. %{_datadir}/dbus-1/system-services/org.gnome.Gksu.service
  68. %{_datadir}/%{name}-1/environment/common.variables
  69. %{_datadir}/polkit-1/actions/org.gnome.gksu.policy
  70. %{_sbindir}/gksu-server
  71. %config(noreplace) %{_sysconfdir}/dbus-1/system.d/%{name}.conf
  72. %files libs
  73. %doc COPYING README THANKS TODO
  74. %{_libdir}/lib%{name}.so.*
  75. %files libs-devel
  76. %{_includedir}/%{name}/
  77. %{_libdir}/lib%{name}.so
  78. %{_libdir}/pkgconfig/lib%{name}-1.pc
  79. %changelog
  80. * Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.0.3-2
  81. - added Group tag and %%clean section to spec
  82. * Fri Jul 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.0.3-1
  83. - initial build for Vine Linux
  84. * Wed Jun 11 2014 Simone Caronni <negativo17@gmail.com> - 0.0.3-10.gitf8ce834c
  85. - Add patch for format-security.
  86. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-9.gitf8ce834c
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  88. * Sun Jul 21 2013 Simone Caronni <negativo17@gmail.com> - 0.0.3-8.gitf8ce834c
  89. - Update to git snapshot, add script to recreate tarball.
  90. - Fix Patch1, was creating a patch file and not patching files.
  91. - Add fix to service file from Jan Pokorný (#975541).
  92. * Tue Jun 11 2013 Simone Caronni <negativo17@gmail.com> - 0.0.3-7
  93. - Fix systemd service file (#948613).
  94. - SPEC file formatting.
  95. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  97. * Sat Sep 15 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-4
  98. - Added full systemd support via dbus
  99. * Fri Aug 10 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-3
  100. - Removed find_lang macro, should be readded once there are real po files
  101. * Thu Aug 09 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-2
  102. - Changed the libs requirement for the base package
  103. - The ldconfig commands point now to the libs instead of the main package
  104. - Disable rpath
  105. * Sun Jul 29 2012 Mario Blättermann <mariobl@fedoraproject.org> 0.0.3-1
  106. - Initial version