From cb7a43228b9af28420e22e2d878fc3cf27c7b956 Mon Sep 17 00:00:00 2001 From: radek Date: Sun, 12 Oct 2003 17:18:01 +0000 Subject: [PATCH] - release 2: added .desktop and icon Changed files: ftpcube.spec -> 1.2 --- ftpcube.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ftpcube.spec b/ftpcube.spec index 1575a49..8e832eb 100644 --- a/ftpcube.spec +++ b/ftpcube.spec @@ -1,11 +1,12 @@ Summary: Multithreaded FTP client for X Window Name: ftpcube Version: 0.4.3 -Release: 1 +Release: 2 License: Artistic for code, GPL v2 for icons Group: X11/Applications/Networking Source0: http://dl.sourceforge.net/ftpcube/ftpcube-0.4.3.tar.gz # Source0-md5: 574d207377a24caf6315866d52326672 +Source1: %{name}.desktop URL: http://ftpcube.sourceforge.net/ BuildRequires: python Requires: python-wxPython @@ -38,6 +39,9 @@ python setup.py install \ --install-scripts=%{_bindir} \ --root=$RPM_BUILD_ROOT +install -D %{name}.xpm $RPM_BUILD_ROOT%{_iconsdir}/%{name}.xpm +install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop + %clean rm -rf $RPM_BUILD_ROOT @@ -46,3 +50,5 @@ rm -rf $RPM_BUILD_ROOT %doc README TODO CHANGELOG %attr(755,root,root) %{_bindir}/* %{py_sitedir}/libftpcube/ +%{_desktopdir}/* +%{_iconsdir}/* -- 2.43.0