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