]>
Commit | Line | Data |
---|---|---|
36cd194c | 1 | # |
36cd194c | 2 | # Conditional build |
3 | %bcond_without gnome_keyring # without gnome-keyring | |
4 | # | |
2e6bda3a | 5 | Summary: File transfer client supporting the FTP, FTP (FTPS) and SSH (SFTP) |
6 | Summary(pl.UTF-8): Program do transferu plkików po FTP, FTP (FTPS) oraz SSH (SFTP) | |
36cd194c | 7 | Name: bareftp |
c0fc517c | 8 | Version: 0.3.4 |
36cd194c | 9 | Release: 0.1 |
10 | License: GPL v2+ | |
11 | Group: Applications/Networking | |
12 | Source0: http://www.bareftp.org/release/%{name}-%{version}.tar.gz | |
c0fc517c | 13 | # Source0-md5: 2dd18be2eacd37e6ca7dd12b07ff086d |
36cd194c | 14 | URL: http://www.bareftp.org/ |
15 | %{?with_gnome_keyring:BuildRequires: dotnet-gnome-keyring-sharp-devel} | |
16 | BuildRequires: dotnet-gnome-sharp-devel | |
17 | BuildRequires: dotnet-gtk-sharp2-devel | |
c0fc517c | 18 | BuildRequires: gettext-devel |
19 | BuildRequires: intltool >= 0.35 | |
20 | BuildRequires: pkgconfig | |
9c24026c | 21 | BuildRequires: rpmbuild(macros) >= 1.32 |
36cd194c | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
2e6bda3a | 25 | bareFTP is a file transfer client writen in C# supporting the FTP, FTP |
26 | over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP). | |
36cd194c | 27 | |
28 | %description -l pl.UTF-8 | |
2e6bda3a | 29 | bareFTP jest programem do transferu plików napisanym w C# wspierającym |
30 | protokoły FTP, FTP z obsługą SSL/TLS (FTPS) oraz SSH (SFTP). | |
36cd194c | 31 | |
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | %configure \ | |
37 | %{!?with_gnome_keyring:--without-gnomekeyring} | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %find_lang %{name} --all-name | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files -f %{name}.lang | |
52 | %defattr(644,root,root,755) | |
53 | %doc AUTHORS CREDITS ChangeLog README | |
54 | %attr(755,root,root) %{_bindir}/bareftp | |
55 | %dir %{_libdir}/bareftp | |
56 | %{_libdir}/bareftp/bareFTP*.dll | |
57 | %{_libdir}/bareftp/bareftp.exe | |
58 | %{_mandir}/man1/bareftp.1* | |
59 | %{_iconsdir}/hicolor/*/apps/* | |
60 | %{_desktopdir}/bareftp.desktop |