From 47a0afc806cf29b96d061016244eca701c4b23d6 Mon Sep 17 00:00:00 2001 From: duddits Date: Sun, 28 Sep 2008 18:12:56 +0000 Subject: [PATCH] - up to 0.5.1 - BR updated - program icon extracted from .py (idea from A.Zabronski #netbsd.pl) Changed files: ftpcube.spec -> 1.11 --- ftpcube.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ftpcube.spec b/ftpcube.spec index e512eb6..b1348f7 100644 --- a/ftpcube.spec +++ b/ftpcube.spec @@ -1,17 +1,17 @@ Summary: Multithreaded FTP client for X Window System Summary(pl.UTF-8): Wielowątkowy klient FTP dla systemu X Window Name: ftpcube -Version: 0.4.3 -Release: 5 +Version: 0.5.1 +Release: 1 License: Artistic for code, GPL v2 for icons Group: X11/Applications/Networking Source0: http://dl.sourceforge.net/ftpcube/%{name}-%{version}.tar.gz -# Source0-md5: 574d207377a24caf6315866d52326672 +# Source0-md5: 3eb93ae44fa552ec50a24b7882198dd1 Source1: %{name}.desktop URL: http://ftpcube.sourceforge.net/ BuildRequires: python %pyrequires_eq python-libs -Requires: python-wxPython +BuildRequires: python-wxPython BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -43,6 +43,8 @@ FTP napisanego w Pythonie. Tak więc, voila FtpCube. %build python setup.py build +# Extracting program icon from .py +python libftpcube/icons/%{name}.py > %{name}.xpm %install rm -rf $RPM_BUILD_ROOT @@ -61,7 +63,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README TODO CHANGELOG +%doc README CHANGELOG COPYING COPYING.ICONS %attr(755,root,root) %{_bindir}/* %{py_sitescriptdir}/libftpcube %{_desktopdir}/*.desktop -- 2.43.0