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