gksu-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. Summary: GKsu is a GTK+ frontend to the su and sudo programs.
  2. Summary(ja): GKsu は su および sudo プログラムの gtk+ フロントエンドです。
  3. Name: gksu
  4. Version: 2.0.2
  5. Release: 4%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. URL: http://www.nongnu.org/gksu/
  9. Source: %{name}-%{version}.tar.gz
  10. Patch0: %{name}-2.0.2-glib.patch
  11. Patch1: %{name}-2.0.2-nautilus-3.x.patch
  12. Patch20: %{name}-2.0.2-vine.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gettext pkgconfig gtk2-devel bison autoconf
  15. BuildRequires: libgksu-devel >= 2.0.9-1
  16. BuildRequires: GConf2-devel
  17. BuildRequires: gtk-doc, perl-XML-Parser
  18. BuildRequires: gcr-devel
  19. BuildRequires: nautilus-devel
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: intltool, autoconf, automake
  22. Packager: daisuke
  23. %description
  24. gksu is a Gtk+ frontend to /bin/su. It supports login shells and preserving
  25. environment when acting as a su frontend. It is useful to menu items or
  26. other graphical programs that need to ask a user's password to run another
  27. program as another user.
  28. %package -n nautilus-gksu
  29. Summary: gksu extensions for Nautilus
  30. Group: User Interface/Desktop
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: nautilus
  33. %description -n nautilus-gksu
  34. %{summary}
  35. %prep
  36. %setup
  37. %patch0 -p1
  38. %patch1 -p1
  39. %patch20 -p1 -b .vine
  40. %build
  41. intltoolize -f
  42. autoreconf -f -i
  43. %configure --disable-static
  44. make %{?_smp_mflags}
  45. %install
  46. rm -fr $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  49. %find_lang %{name}
  50. %clean
  51. rm -fr $RPM_BUILD_ROOT
  52. %files -f %name.lang
  53. %defattr (-,root,root)
  54. %doc ABOUT-NLS AUTHORS ChangeLog COPYING README
  55. %{_bindir}/*
  56. %{_datadir}/applications/*.desktop
  57. %{_datadir}/pixmaps/*.png
  58. %{_datadir}/%{name}
  59. %{_mandir}/man1/*.1.*
  60. %files -n nautilus-gksu
  61. %defattr (-,root,root)
  62. %{_libdir}/nautilus/extensions-3.0/libnautilus-gksu.so
  63. %changelog
  64. * Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-4
  65. - rebuild for VineSeed environment
  66. - create nautilus-gksu subpackage
  67. - change BuildRequires: gcr-devel instead of gnome-keyring-devel
  68. - add Patch0 (gksu-2.0.2-glib.patch)
  69. - add Patch1 (gksu-2.0.2-nautilus-3.x.patch)
  70. * Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-3
  71. - rebuild for Vine 6
  72. * Wed Jun 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.2-2
  73. - update Patch20 to exec gnome-terminal -e 'su -' (<BTS:VineLinux:0707>)
  74. * Wed May 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-1
  75. - new upstream release
  76. - spec in utf-8
  77. - add BR: nautilus-devel instead of nautilus
  78. - add BR: intltool, automake, autoconf
  79. * Wed Aug 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
  80. - new upstream release
  81. * Wed Aug 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-0vl4
  82. - convert ja.po to UTF-8
  83. - update desktop files
  84. - fix desktop file to pass desktop-file-validate (<BTS:wishes:0124>)
  85. - add "-l" option for gksu (<BTS:wishes:0124>)
  86. - convert gksu*.desktop to UTF-8 (<BTS:509>)
  87. * Tue May 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.7-0vl3
  88. - changed Group:
  89. - updated ja.po
  90. * Sun Mar 27 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-0vl2
  91. - rebuild with new environment
  92. * Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-0vl1
  93. - new upstream release
  94. - initial build for Vine Linux based on mandrake package.
  95. - add ja.po
  96. * Wed Nov 19 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.18-1mdk
  97. - 0.9.18
  98. * Mon Aug 25 2003 Austin Acton <aacton@yorku.ca> 0.9.15-2mdk
  99. - remove description of sudo functionality (removed)
  100. * Mon Aug 25 2003 Austin Acton <aacton@yorku.ca> 0.9.15-1mdk
  101. - 0.9.15
  102. * Sun May 11 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.9-1mdk
  103. - 0.9.9
  104. * Fri Apr 25 2003 Austin Acton <aacton@yorku.ca> 0.9.8-2mdk
  105. - buildrequires autoconf2.5
  106. - add clean section
  107. * Wed Apr 9 2003 Austin Acton <aacton@yorku.ca> 0.9.8-1mdk
  108. - 0.9.8
  109. * Tue Apr 01 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.7-1mdk
  110. - 0.9.7
  111. * Mon Mar 24 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.1-2mdk
  112. - url
  113. * Wed Feb 19 2003 Austin Acton <aacton@yorku.ca> 0.9.1-1mdk
  114. - 0.9.1
  115. - add man pages
  116. * Wed Jan 29 2003 Austin Acton <aacton@yorku.ca> 0.9.0-1mdk
  117. - initial package