Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
gftp
gftp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gftp.spec of Package gftp
# # spec file for package gftp # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gftp Version: 2.0.19 Release: 0 Summary: Multithreaded File Transfer Client License: GPL-2.0+ Group: Productivity/Networking/Ftp/Clients Url: http://www.gftp.org/ Source0: %{name}-%{version}.tar.bz2 Source1: gftp.appdata.xml BuildRequires: fdupes BuildRequires: gtk2-devel BuildRequires: openssl-devel BuildRequires: readline-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files Requires: %{name}-common = %{version} Supplements: packageand(%{name}-common:gtk2) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GFTP is a free multithreaded file transfer client for *NIX based machines, with advanced features. %package common Summary: Multithreaded File Transfer Client - Common Files Group: Productivity/Networking/Ftp/Clients Recommends: %{name}-common-lang %description common GFTP is a free multithreaded file transfer client for *NIX based machines, with advanced features. %package text Summary: Multithreaded File Transfer Client - Text UI Group: Productivity/Networking/Ftp/Clients Requires: %{name}-common = %{version} Enhances: %{name}-common %description text GFTP is a free multithreaded file transfer client for *NIX based machines, with advanced features. This package contains a text user interface, that can be used without a graphical environment. %lang_package -n gftp-common %prep %setup -q translation-update-upstream %build export CFLAGS="%{optflags} -fno-strict-aliasing" %configure make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} %suse_update_desktop_file -N gFTP -G "File Transfer" -r %{name} Network FileTransfer # rename sr@Latin to sr@latin mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin # Drop version of COPYING installed by package rm %{buildroot}%{_datadir}/gftp/COPYING %find_lang %{name} %{?no_lang_C} if [ -f %{buildroot}%{_datadir}/appdata/gftp.appdata.xml ]; then echo "Please remove the added gftp.appdata.xml file from the sources - the tarball installs it" false else mkdir -p %{buildroot}%{_datadir}/appdata cp %{SOURCE1} %{buildroot}%{_datadir}/appdata/ fi %fdupes -s %{buildroot} %if 0%{?suse_version} > 1130 %post %desktop_database_post %endif %if 0%{?suse_version} > 1130 %postun %desktop_database_postun %endif %files %defattr(-, root, root) %{_bindir}/gftp-gtk %dir %{_datadir}/appdata %{_datadir}/appdata/gftp.appdata.xml %{_datadir}/applications/gftp.desktop %{_datadir}/gftp/*.png %{_datadir}/gftp/*.svg %{_datadir}/gftp/*.xpm %{_datadir}/pixmaps/*.png %files common %defattr(-, root, root) %doc ChangeLog COPYING README README.html THANKS TODO docs/USERS-GUIDE %{_bindir}/gftp %dir %{_datadir}/gftp %{_datadir}/gftp/bookmarks %{_datadir}/gftp/gftprc %doc %{_mandir}/man?/*.* %files text %defattr(-, root, root) %{_bindir}/gftp-text %files common-lang -f %{name}.lang %defattr(-,root,root) %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor