From b99b1d6382cc99fb1fa2c0c22902ecca69a137b0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:42:38 +0100 Subject: [PATCH] update to 2.7.0b [release 2.7.0b-1mamba;Fri May 21 2021] --- gftp.spec | 78 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 28 deletions(-) diff --git a/gftp.spec b/gftp.spec index d8d9553..727595c 100644 --- a/gftp.spec +++ b/gftp.spec @@ -1,30 +1,40 @@ Name: gftp -Version: 2.0.19 -Release: 2mamba +Version: 2.7.0b +Release: 1mamba Summary: A free multithreaded ftp client Group: Graphical Desktop/Applications/Networking Vendor: openmamba Distribution: openmamba -Packager: Tiziana Ferro -URL: http://gftp.seul.org/ -Source: http://gftp.seul.org/gftp-%{version}.tar.bz2 +Packager: Silvan Calarco +URL: https://www.gftp.org/ +Source: https://github.com/masneyb/gftp.git/%{version}/gftp-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel +BuildRequires: libbrotli-devel +BuildRequires: libbzip2-devel BuildRequires: libcairo-devel +BuildRequires: libe2fs-devel +BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel BuildRequires: libgtk2-devel -BuildRequires: libncurses-devel -BuildRequires: libopenssl-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libkrb5-devel +BuildRequires: libnsl-devel BuildRequires: libpango-devel +BuildRequires: libpcre-devel +BuildRequires: libpng-devel BuildRequires: libreadline-devel +BuildRequires: libtermcap-devel +BuildRequires: libtirpc-devel +BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: bash -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description gFTP is a free multithreaded ftp client for *NIX based machines running X11R6 or later. It has the following features: @@ -44,8 +54,11 @@ gFTP is a free multithreaded ftp client for *NIX based machines running X11R6 or * Full graphical configuration * Fully Internationalized +%debug_package + %prep %setup -q +./autogen.sh %build %configure @@ -55,40 +68,49 @@ gFTP is a free multithreaded ftp client for *NIX based machines running X11R6 or [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -%find_lang %{name} -rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop -install -d %{buildroot}%{_datadir}/applications -cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << _EOF -[Desktop Entry] -Name=gFTP -GenericName=gFTP -Comment=Download and upload files using multiple FTPs -Comment[it]=Client FTP grafico per dowload e upload di file -Exec=gftp %u -TryExec=gftp -Type=Application -Terminal=0 -Icon=gftp.png -Encoding=UTF-8 -Categories=Application;GTK;GNOME;Network;FileTransfer; -_EOF +%find_lang %{name} + +#rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop +# +#install -d %{buildroot}%{_datadir}/applications +#cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << _EOF +#[Desktop Entry] +#Name=gFTP +#GenericName=gFTP +#Comment=Download and upload files using multiple FTPs +#Comment[it]=Client FTP grafico per dowload e upload di file +#Exec=gftp %u +#TryExec=gftp +#Type=Application +#Terminal=0 +#Icon=gftp.png +#Encoding=UTF-8 +#Categories=Application;GTK;GNOME;Network;FileTransfer; +#_EOF %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) +%{_bindir}/gftp +%{_bindir}/gftp-gtk +%{_bindir}/gftp-text %dir %{_datadir}/gftp %{_datadir}/gftp/* -%{_bindir}/* -#%{_datadir}/locale/*/LC_MESSAGES/gftp.mo %{_datadir}/pixmaps/gftp.png %{_datadir}/applications/%{name}.desktop -#%{_datadir}/gnome/apps/Internet/gftp.desktop +%{_datadir}/icons/hicolor/*/apps/gftp.png +%{_datadir}/icons/hicolor/scalable/apps/gftp.svg %{_mandir}/man1/* +%dir %{_datadir}/doc/gftp +%{_datadir}/doc/gftp/* %changelog +* Fri May 21 2021 Silvan Calarco 2.7.0b-1mamba +- update to 2.7.0b + * Sat Mar 23 2013 Silvan Calarco 2.0.19-2mamba - rebuilt with libreadline 6.2