]> git.pld-linux.org Git - packages/ftpcube.git/blame_incremental - ftpcube.spec
BR: rpmbuild(macros) >= 1.710
[packages/ftpcube.git] / ftpcube.spec
... / ...
CommitLineData
1Summary: Multithreaded FTP client for X Window System
2Summary(pl.UTF-8): Wielowątkowy klient FTP dla systemu X Window
3Name: ftpcube
4Version: 0.5.1
5Release: 2
6License: Artistic for code, GPL v2 for icons
7Group: X11/Applications/Networking
8Source0: http://dl.sourceforge.net/ftpcube/%{name}-%{version}.tar.gz
9# Source0-md5: 3eb93ae44fa552ec50a24b7882198dd1
10Source1: %{name}.desktop
11URL: http://ftpcube.sourceforge.net/
12BuildRequires: python >= 1:2.5
13BuildRequires: python-wxPython
14BuildRequires: rpm-pythonprov
15BuildRequires: rpmbuild(macros) >= 1.710
16%pyrequires_eq python-libs
17Requires: python-wxPython
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22FtpCube is a multi-platform, graphical FTP client written in Python,
23using the wxPython graphical tookit. FtpCube's interface is based on
24LeechFTP by Jan Debis but its codebase has been developed from scratch
25and includes functionality that surpasses the original LeechFTP.
26
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
29find a good, capable Unix FTP client that offered an intuitive and
30sexy UI. Plus, I liked the idea of having an FTP client written in
31Python. So, voila FtpCube.
32
33%description -l pl.UTF-8
34FtpCube to wieloplatformowy, graficzny klient FTP napisany w Pythonie,
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ł.
38
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.
44
45%prep
46%setup -q
47
48%build
49# Extracting program icon from .py
50%{__python} -c "import libftpcube.icons.ftpcube as icon; print icon.getData()" > %{name}.png
51%py_build
52
53%install
54rm -rf $RPM_BUILD_ROOT
55install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
56%py_install \
57 --prefix=%{_prefix} \
58 --install-scripts=%{_bindir} \
59 --root=$RPM_BUILD_ROOT
60
61cp -a %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
62cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
63
64%py_postclean
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files
70%defattr(644,root,root,755)
71%doc README CHANGELOG COPYING COPYING.ICONS
72%attr(755,root,root) %{_bindir}/ftpcube
73%{py_sitescriptdir}/libftpcube
74%{py_sitescriptdir}/ftpcube-*.egg-info
75%{_desktopdir}/ftpcube.desktop
76%{_pixmapsdir}/ftpcube.png
This page took 0.081915 seconds and 4 git commands to generate.