update to 2.7.0b [release 2.7.0b-1mamba;Fri May 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:42:38 +01:00
parent 7f6e8688cf
commit b99b1d6382

View File

@ -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 <tiziana.ferro@email.it>
URL: http://gftp.seul.org/
Source: http://gftp.seul.org/gftp-%{version}.tar.bz2
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2.7.0b-1mamba
- update to 2.7.0b
* Sat Mar 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.19-2mamba
- rebuilt with libreadline 6.2