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