|
@@ -1,23 +1,26 @@
|
|
|
-%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
|
|
|
+%define ver 3.18
|
|
|
+%define rel 1
|
|
|
|
|
|
Summary: Application to organize SSH connection information in a menu
|
|
|
Name: sshmenu
|
|
|
-Version: 3.18
|
|
|
-Release: 3%{?dist}
|
|
|
+Version: %{ver}
|
|
|
+Release: %{rel}%{?_dist_release}
|
|
|
License: BSD
|
|
|
Group: User Interface/Desktops
|
|
|
URL: http://sshmenu.sourceforge.net/
|
|
|
Source0: http://dl.sf.net/sshmenu/sshmenu-%{version}.tar.gz
|
|
|
Patch0: sshmenu-3.18-libexec.patch
|
|
|
-Patch1: sshmenu-3.18-sitelib.patch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
BuildRequires: ruby
|
|
|
Requires: openssh-askpass
|
|
|
-Requires: ruby(abi) = 1.8
|
|
|
-Requires: ruby(gtk2)
|
|
|
+Requires: ruby-gtk2
|
|
|
# We only have ruby scripts and data, and the bonobo file gets picked up fine
|
|
|
BuildArch: noarch
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: iwaim
|
|
|
+
|
|
|
%description
|
|
|
SSHMenu is a small program (which is to be used outside of GNOME) that
|
|
|
keeps all your regular SSH connections within a single menu. If you wish to
|
|
@@ -28,8 +31,7 @@ have the full GNOME applet version of the menu, install gnome-applet-sshmenu.
|
|
|
Summary: GNOME panel applet to organize SSH connection information in a menu
|
|
|
Group: User Interface/Desktops
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
-Requires: ruby(gconf2)
|
|
|
-Requires: ruby(panelapplet2)
|
|
|
+Requires: ruby-gnome2
|
|
|
|
|
|
%description -n gnome-applet-sshmenu
|
|
|
SSHMenu is a GNOME panel applet (which can also be used outside of GNOME) that
|
|
@@ -39,7 +41,6 @@ keeps all your regular SSH connections within a single panel menu.
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1 -b .libexec
|
|
|
-%patch1 -p1 -b .sitelib
|
|
|
|
|
|
|
|
|
%build
|
|
@@ -54,7 +55,7 @@ keeps all your regular SSH connections within a single panel menu.
|
|
|
%if 0%{?rhel}
|
|
|
%{__rm} -rf %{buildroot}%{_bindir}/sshmenu-gnome
|
|
|
%{__rm} -rf %{buildroot}%{_prefix}/lib/bonobo/
|
|
|
-%{__rm} -rf %{buildroot}%{ruby_sitelib}/gnome-sshmenu.rb
|
|
|
+%{__rm} -rf %{buildroot}%{rlibdir}/gnome-sshmenu.rb
|
|
|
%{__rm} -rf %{buildroot}%{_libexecdir}/sshmenu-applet
|
|
|
%{__rm} -rf %{buildroot}%{_datadir}/icons/
|
|
|
%endif
|
|
@@ -82,7 +83,7 @@ fi
|
|
|
%doc Changes License.txt README
|
|
|
%{_sysconfdir}/bash_completion.d/
|
|
|
%{_bindir}/sshmenu
|
|
|
-%{ruby_sitelib}/sshmenu.rb
|
|
|
+%{rlibdir}/sshmenu.rb
|
|
|
%{_mandir}/man1/sshmenu.1*
|
|
|
|
|
|
|
|
@@ -91,13 +92,16 @@ fi
|
|
|
%files -n gnome-applet-sshmenu
|
|
|
%{_bindir}/sshmenu-gnome
|
|
|
%{_prefix}/lib/bonobo/servers/sshmenu-applet.server
|
|
|
-%{ruby_sitelib}/gnome-sshmenu.rb
|
|
|
+%{rlibdir}/gnome-sshmenu.rb
|
|
|
%{_libexecdir}/sshmenu-applet
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/gnome-sshmenu-applet.png
|
|
|
%endif
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Apr 9 2011 IWAI, Masaharu <iwai@alib.jp> 3.18-1
|
|
|
+- build for Vine Linux
|
|
|
+
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18-3
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|