|
@@ -2,11 +2,14 @@ Summary: GKsu is a GTK+ frontend to the su and sudo programs.
|
|
Summary(ja): GKsu は su および sudo プログラムの gtk+ フロントエンドです。
|
|
Summary(ja): GKsu は su および sudo プログラムの gtk+ フロントエンドです。
|
|
Name: gksu
|
|
Name: gksu
|
|
Version: 2.0.2
|
|
Version: 2.0.2
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Release: 4%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
URL: http://www.nongnu.org/gksu/
|
|
URL: http://www.nongnu.org/gksu/
|
|
Source: %{name}-%{version}.tar.gz
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
+
|
|
|
|
+Patch0: %{name}-2.0.2-glib.patch
|
|
|
|
+Patch1: %{name}-2.0.2-nautilus-3.x.patch
|
|
Patch20: %{name}-2.0.2-vine.patch
|
|
Patch20: %{name}-2.0.2-vine.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
@@ -14,7 +17,7 @@ BuildRequires: gettext pkgconfig gtk2-devel bison autoconf
|
|
BuildRequires: libgksu-devel >= 2.0.9-1
|
|
BuildRequires: libgksu-devel >= 2.0.9-1
|
|
BuildRequires: GConf2-devel
|
|
BuildRequires: GConf2-devel
|
|
BuildRequires: gtk-doc, perl-XML-Parser
|
|
BuildRequires: gtk-doc, perl-XML-Parser
|
|
-BuildRequires: gnome-keyring-devel
|
|
|
|
|
|
+BuildRequires: gcr-devel
|
|
BuildRequires: nautilus-devel
|
|
BuildRequires: nautilus-devel
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: intltool, autoconf, automake
|
|
BuildRequires: intltool, autoconf, automake
|
|
@@ -27,25 +30,40 @@ environment when acting as a su frontend. It is useful to menu items or
|
|
other graphical programs that need to ask a user's password to run another
|
|
other graphical programs that need to ask a user's password to run another
|
|
program as another user.
|
|
program as another user.
|
|
|
|
|
|
|
|
+%package -n nautilus-gksu
|
|
|
|
+Summary: gksu extensions for Nautilus
|
|
|
|
+Group: User Interface/Desktop
|
|
|
|
+
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: nautilus
|
|
|
|
+
|
|
|
|
+%description -n nautilus-gksu
|
|
|
|
+%{summary}
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup
|
|
%setup
|
|
|
|
+%patch0 -p1
|
|
|
|
+%patch1 -p1
|
|
%patch20 -p1 -b .vine
|
|
%patch20 -p1 -b .vine
|
|
|
|
|
|
%build
|
|
%build
|
|
intltoolize -f
|
|
intltoolize -f
|
|
autoreconf -f -i
|
|
autoreconf -f -i
|
|
-%configure
|
|
|
|
-%__make %{?_smp_mflags}
|
|
|
|
|
|
+%configure --disable-static
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -fr %buildroot
|
|
|
|
-%makeinstall
|
|
|
|
|
|
+rm -fr $RPM_BUILD_ROOT
|
|
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
+
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-rm -fr %buildroot
|
|
|
|
|
|
+rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files -f %name.lang
|
|
%files -f %name.lang
|
|
@@ -55,10 +73,20 @@ rm -fr %buildroot
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/pixmaps/*.png
|
|
%{_datadir}/pixmaps/*.png
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/%{name}
|
|
-%{_libdir}/nautilus/extensions-2.0/*
|
|
|
|
%{_mandir}/man1/*.1.*
|
|
%{_mandir}/man1/*.1.*
|
|
|
|
|
|
|
|
+%files -n nautilus-gksu
|
|
|
|
+%defattr (-,root,root)
|
|
|
|
+%{_libdir}/nautilus/extensions-3.0/libnautilus-gksu.so
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-4
|
|
|
|
+- rebuild for VineSeed environment
|
|
|
|
+- create nautilus-gksu subpackage
|
|
|
|
+- change BuildRequires: gcr-devel instead of gnome-keyring-devel
|
|
|
|
+- add Patch0 (gksu-2.0.2-glib.patch)
|
|
|
|
+- add Patch1 (gksu-2.0.2-nautilus-3.x.patch)
|
|
|
|
+
|
|
* Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-3
|
|
* Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-3
|
|
- rebuild for Vine 6
|
|
- rebuild for Vine 6
|
|
|
|
|