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