|
@@ -2,7 +2,7 @@ Summary: GKSu libraries
|
|
SUmmary(ja): GKSu ライブラリ
|
|
SUmmary(ja): GKSu ライブラリ
|
|
Name: libgksu
|
|
Name: libgksu
|
|
Version: 2.0.12
|
|
Version: 2.0.12
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Release: 3%{?_dist_release}
|
|
Url: http://www.nongnu.org/gksu/
|
|
Url: http://www.nongnu.org/gksu/
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: GPL
|
|
License: GPL
|
|
@@ -30,19 +30,21 @@ Patch22: libgksu-2.0.9-sudo_keep_env.patch
|
|
Patch30: libgksu-2.0.12-revert-forkpty.patch
|
|
Patch30: libgksu-2.0.12-revert-forkpty.patch
|
|
|
|
|
|
Patch100: libgksu-2.0.12-default-sudo_mode.patch
|
|
Patch100: libgksu-2.0.12-default-sudo_mode.patch
|
|
|
|
+Patch101: libgksu-2.0.12-makefile-vine.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: libgtop2-devel
|
|
BuildRequires: libgtop2-devel
|
|
|
|
+BuildRequires: libX11-devel
|
|
BuildRequires: startup-notification-devel
|
|
BuildRequires: startup-notification-devel
|
|
-BuildRequires: gnome-keyring-devel
|
|
|
|
BuildRequires: libgnome-keyring-devel
|
|
BuildRequires: libgnome-keyring-devel
|
|
BuildRequires: GConf2-devel
|
|
BuildRequires: GConf2-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: libglade2-devel
|
|
BuildRequires: libglade2-devel
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
|
|
+BuildRequires: autoconf213
|
|
|
|
|
|
%description
|
|
%description
|
|
GKSu is a library that provides a Gtk+ frontend to su and sudo. It
|
|
GKSu is a library that provides a Gtk+ frontend to su and sudo. It
|
|
@@ -94,6 +96,7 @@ that need to ask a user's password to run another program as another user.
|
|
%patch30 -p1 -b .revert_forkpty
|
|
%patch30 -p1 -b .revert_forkpty
|
|
|
|
|
|
%patch100 -p1 -b .default-sudo_mode
|
|
%patch100 -p1 -b .default-sudo_mode
|
|
|
|
+%patch101 -p1 -b .vine
|
|
|
|
|
|
## For x86_64, we use /usr/lib64/libgksu/gksu-run-helper
|
|
## For x86_64, we use /usr/lib64/libgksu/gksu-run-helper
|
|
%__sed -i 's@\(gchar auxcommand\[\] = PREFIX "/\)lib\(/" PACKAGE "/gksu-run-helper";\)@\1%{_lib}\2@' libgksu/libgksu.c
|
|
%__sed -i 's@\(gchar auxcommand\[\] = PREFIX "/\)lib\(/" PACKAGE "/gksu-run-helper";\)@\1%{_lib}\2@' libgksu/libgksu.c
|
|
@@ -106,13 +109,13 @@ cp -f %{SOURCE10} po/ja.po
|
|
%build
|
|
%build
|
|
intltoolize -f
|
|
intltoolize -f
|
|
touch README NEWS
|
|
touch README NEWS
|
|
-autoreconf -f -i
|
|
|
|
|
|
+autoreconf-2.13 -f -i
|
|
%configure
|
|
%configure
|
|
%__make %{?_smp_mflags}
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-%makeinstall
|
|
|
|
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
sed -i -e 's/Icon=gksu.png/Icon=gksu/g' $RPM_BUILD_ROOT%{_datadir}/applications/*
|
|
sed -i -e 's/Icon=gksu.png/Icon=gksu/g' $RPM_BUILD_ROOT%{_datadir}/applications/*
|
|
desktop-file-install --vendor="" \
|
|
desktop-file-install --vendor="" \
|
|
@@ -165,6 +168,11 @@ fi
|
|
%{_mandir}/man1/gksu-properties.1*
|
|
%{_mandir}/man1/gksu-properties.1*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun May 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.12-3
|
|
|
|
+- rebuild with libgtop2-2.30.0
|
|
|
|
+- add Patch101 (libgksu-2.0.12-makefile-vine.patch)
|
|
|
|
+- add BuildRequires: autoconf213, libX11-devel
|
|
|
|
+
|
|
* Wed Jun 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-2
|
|
* Wed Jun 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-2
|
|
- add patch30 from ubuntu
|
|
- add patch30 from ubuntu
|
|
+ revert the upstream change to run sudo in a forkpty()
|
|
+ revert the upstream change to run sudo in a forkpty()
|
|
@@ -182,7 +190,7 @@ fi
|
|
* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.9-4
|
|
* Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.0.9-4
|
|
- add Categories=X-GNOME-SystemSettings for .desktop
|
|
- add Categories=X-GNOME-SystemSettings for .desktop
|
|
|
|
|
|
-* Thu Jun 17 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.0.9-3
|
|
|
|
|
|
+* Wed Jun 17 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.0.9-3
|
|
- use /usr/lib64/libgksu/gksu-run-helper for x86_64
|
|
- use /usr/lib64/libgksu/gksu-run-helper for x86_64
|
|
|
|
|
|
* Wed Jun 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-2
|
|
* Wed Jun 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.9-2
|