gksu-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. %define name gksu
  2. %define version 2.0.2
  3. Summary: GKsu is a GTK+ frontend to the su and sudo programs.
  4. Summary(ja): GKsu は su および sudo プログラムの gtk+ フロントエンドです。
  5. Name: %{name}
  6. Version: %{version}
  7. Release: 2%{?_dist_release}
  8. License: GPL
  9. Group: Applications/System
  10. URL: http://www.nongnu.org/gksu/
  11. Source: %{name}-%{version}.tar.gz
  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: gnome-keyring-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. %prep
  29. %setup
  30. %patch20 -p1 -b .vine
  31. %build
  32. intltoolize -f
  33. autoreconf -f -i
  34. %configure
  35. %__make %{?_smp_mflags}
  36. %install
  37. rm -fr %buildroot
  38. %makeinstall
  39. %find_lang %{name}
  40. %clean
  41. rm -fr %buildroot
  42. %files -f %name.lang
  43. %defattr (-,root,root)
  44. %doc ABOUT-NLS AUTHORS ChangeLog COPYING README
  45. %{_bindir}/*
  46. %{_datadir}/applications/*.desktop
  47. %{_datadir}/pixmaps/*.png
  48. %{_datadir}/%{name}
  49. %{_libdir}/nautilus/extensions-2.0/*
  50. %{_mandir}/man1/*.1.*
  51. %changelog
  52. * Wed Jun 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.2-2
  53. - update Patch20 to exec gnome-terminal -e 'su -' (<BTS:VineLinux:0707>)
  54. * Wed May 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-1
  55. - new upstream release
  56. - spec in utf-8
  57. - add BR: nautilus-devel instead of nautilus
  58. - add BR: intltool, automake, autoconf
  59. * Wed Aug 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
  60. - new upstream release
  61. * Wed Aug 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-0vl4
  62. - convert ja.po to UTF-8
  63. - update desktop files
  64. - fix desktop file to pass desktop-file-validate (<BTS:wishes:0124>)
  65. - add "-l" option for gksu (<BTS:wishes:0124>)
  66. - convert gksu*.desktop to UTF-8 (<BTS:509>)
  67. * Tue May 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.7-0vl3
  68. - changed Group:
  69. - updated ja.po
  70. * Sun Mar 27 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-0vl2
  71. - rebuild with new environment
  72. * Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-0vl1
  73. - new upstream release
  74. - initial build for Vine Linux based on mandrake package.
  75. - add ja.po
  76. * Wed Nov 19 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.18-1mdk
  77. - 0.9.18
  78. * Mon Aug 25 2003 Austin Acton <aacton@yorku.ca> 0.9.15-2mdk
  79. - remove description of sudo functionality (removed)
  80. * Mon Aug 25 2003 Austin Acton <aacton@yorku.ca> 0.9.15-1mdk
  81. - 0.9.15
  82. * Sun May 11 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.9-1mdk
  83. - 0.9.9
  84. * Fri Apr 25 2003 Austin Acton <aacton@yorku.ca> 0.9.8-2mdk
  85. - buildrequires autoconf2.5
  86. - add clean section
  87. * Wed Apr 9 2003 Austin Acton <aacton@yorku.ca> 0.9.8-1mdk
  88. - 0.9.8
  89. * Tue Apr 01 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.7-1mdk
  90. - 0.9.7
  91. * Mon Mar 24 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9.1-2mdk
  92. - url
  93. * Wed Feb 19 2003 Austin Acton <aacton@yorku.ca> 0.9.1-1mdk
  94. - 0.9.1
  95. - add man pages
  96. * Wed Jan 29 2003 Austin Acton <aacton@yorku.ca> 0.9.0-1mdk
  97. - initial package