Init package

This commit is contained in:
dillon chen 2020-07-28 14:00:02 +08:00
parent f0a9332298
commit d441181f45
3 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -Nur gigolo-0.4.2.orig/gigolo.desktop.in gigolo-0.4.2/gigolo.desktop.in
--- gigolo-0.4.2.orig/gigolo.desktop.in 2014-01-09 12:58:20.000000000 -0700
+++ gigolo-0.4.2/gigolo.desktop.in 2015-01-30 17:15:12.499169337 -0700
@@ -5,7 +5,7 @@
_GenericName=Gigolo
_Comment=A simple frontend to easily connect to remote filesystems
Exec=gigolo
-Icon=gtk-network
+Icon=folder-remote
Terminal=false
Categories=System;GTK;Filesystem;
StartupNotify=true

BIN
gigolo-0.5.1.tar.bz2 Normal file

Binary file not shown.

55
gigolo.spec Normal file
View File

@ -0,0 +1,55 @@
Name: gigolo
Version: 0.5.1
Release: 1
Summary: frontend to manage connections to remote filesystems using GIO/GVfs
License: GPLv2
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/applications/gigolo/
Source0: http://archive.xfce.org/src/apps/%{name}/0.5/%{name}-%{version}.tar.bz2
# Add patch to switch icon from nonstandard gtk-network to folder-remote
Patch1: gigolo-0.4.2-desktop-icon.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: python2
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: gtk3-devel
BuildRequires: desktop-file-utils
BuildRequires: gcc
Requires: gvfs-fuse
%description
Gigolo is a frontend to easily manage connections to remote filesystems
using GIO/GVfs. It allows you to quickly connect/mount a remote filesystem
and manage bookmarks of such.
%prep
%setup -q
%patch1 -p1
%build
#rm -f waf
%configure
%make_build
%install
%make_install
%find_lang %{name}
# remove duplicate docs
rm -rf %{buildroot}/%{_datadir}/doc/gigolo
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO THANKS
%{_bindir}/gigolo
%{_datadir}/applications/gigolo.desktop
%{_mandir}/man1/gigolo.1.gz
%changelog
* Tue Jul 28 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.5.1-1
- Init package