]>
Commit | Line | Data |
---|---|---|
07ceb434 | 1 | Summary: Multithreaded FTP client for X Window System |
960681fe | 2 | Summary(pl.UTF-8): Wielowątkowy klient FTP dla systemu X Window |
7c296831 | 3 | Name: ftpcube |
47a0afc8 | 4 | Version: 0.5.1 |
c97a5653 | 5 | Release: 2 |
7c296831 | 6 | License: Artistic for code, GPL v2 for icons |
7 | Group: X11/Applications/Networking | |
07ceb434 | 8 | Source0: http://dl.sourceforge.net/ftpcube/%{name}-%{version}.tar.gz |
47a0afc8 | 9 | # Source0-md5: 3eb93ae44fa552ec50a24b7882198dd1 |
cb7a4322 | 10 | Source1: %{name}.desktop |
c97a5653 | 11 | Patch0: %{name}-prog-icon.patch |
7c296831 | 12 | URL: http://ftpcube.sourceforge.net/ |
13 | BuildRequires: python | |
af0657d1 | 14 | %pyrequires_eq python-libs |
c97a5653 | 15 | Requires: python-wxPython |
7c296831 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | FtpCube is a multi-platform, graphical FTP client written in Python, | |
07ceb434 | 20 | using the wxPython graphical tookit. FtpCube's interface is based on |
7c296831 | 21 | LeechFTP by Jan Debis but its codebase has been developed from scratch |
22 | and includes functionality that surpasses the original LeechFTP. | |
23 | ||
07ceb434 JB |
24 | FtpCube aims to provide a high quality user interface, as well as a |
25 | rich feature set. The FtpCube project was born out of my search to | |
80ade050 | 26 | find a good, capable Unix FTP client that offered an intuitive and |
07ceb434 JB |
27 | sexy UI. Plus, I liked the idea of having an FTP client written in |
28 | Python. So, voila FtpCube. | |
29 | ||
8614f90b | 30 | %description -l pl.UTF-8 |
07ceb434 | 31 | FtpCube to wieloplatformowy, graficzny klient FTP napisany w Pythonie, |
8614f90b JR |
32 | używający biblioteki graficznej wxPython. Interfejs FtpCube jest |
33 | oparty na LeechFTP Jana Debisa, ale kod został stworzony od początku i | |
34 | zawiera funkcjonalność przewyższającą oryginał. | |
07ceb434 | 35 | |
8614f90b JR |
36 | FtpCube ma zapewnić wysokiej jakości interfejs użytkownika, a także |
37 | bogaty zbiór możliwości. Projekt FtpCube narodził się z poszukiwań | |
38 | dobrego, uniksowego klienta FTP o dużych możliwościach, oferującego | |
39 | intuicyjny i seksowny interfejs. Autorowi spodobała się idea klienta | |
40 | FTP napisanego w Pythonie. Tak więc, voila FtpCube. | |
7c296831 | 41 | |
42 | %prep | |
07ceb434 | 43 | %setup -q |
c97a5653 | 44 | %patch0 -p1 |
7c296831 | 45 | |
46 | %build | |
47 | python setup.py build | |
47a0afc8 | 48 | # Extracting program icon from .py |
c97a5653 | 49 | python libftpcube/icons/%{name}2.py > %{name}.xpm |
50 | rm -f libftpcube/icons/%{name}2.py | |
7c296831 | 51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | python setup.py install \ | |
07ceb434 | 56 | --optimize=2 \ |
7c296831 | 57 | --prefix=%{_prefix} \ |
58 | --install-scripts=%{_bindir} \ | |
07ceb434 | 59 | --root=$RPM_BUILD_ROOT |
7c296831 | 60 | |
07ceb434 | 61 | install -D %{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm |
cb7a4322 | 62 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop |
63 | ||
7c296831 | 64 | %clean |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
47a0afc8 | 69 | %doc README CHANGELOG COPYING COPYING.ICONS |
7c296831 | 70 | %attr(755,root,root) %{_bindir}/* |
05d44dca | 71 | %{py_sitescriptdir}/libftpcube |
337e25b9 | 72 | %{_desktopdir}/*.desktop |
07ceb434 | 73 | %{_pixmapsdir}/* |