!10 [sync] PR-8: Package init

From: @openeuler-sync-bot
Reviewed-by: @zhang__3125
Signed-off-by: @zhang__3125
This commit is contained in:
openeuler-ci-bot 2021-12-03 11:20:18 +00:00 committed by Gitee
commit 983b2020e4
3 changed files with 24 additions and 12 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.

View File

@ -1,21 +1,21 @@
%global minorversion 0.5
Name: gigolo
Version: 0.5.2
Release: 1
Version: 0.5.1
Release: 2
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}/%{minorversion}/%{name}-%{version}.tar.bz2
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: python3
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: gtk3-devel
BuildRequires: desktop-file-utils
BuildRequires: gcc
Requires: gvfs-fuse
%description
@ -25,6 +25,7 @@ and manage bookmarks of such.
%prep
%setup -q
%patch1 -p1
%build
#rm -f waf
@ -44,15 +45,14 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS TODO THANKS
%doc AUTHORS ChangeLog NEWS README TODO THANKS
%{_bindir}/gigolo
%{_datadir}/icons/hicolor/*/apps/org.xfce.gigolo.*
%{_datadir}/applications/gigolo.desktop
%{_mandir}/man1/gigolo.1.gz
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.5.2-1
- Update to 0.5.2
* Wed Feb 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.5.1-2
- change python2 to python3, abandon python2 after openeuler-21.03
* Tue Jul 28 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.5.1-1
- Init package