SPECS: SPE.spec - up to 0.7.5.c (new working url for Source0) - SP...

twittner twittner at pld-linux.org
Sat Aug 27 23:28:22 CEST 2005


Author: twittner                     Date: Sat Aug 27 21:28:22 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.7.5.c (new working url for Source0)
- SPE doesn't work without *.py files - do remove them from %%{py_sitescriptdir}
- added desktop and icon files

---- Files affected:
SPECS:
   SPE.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/SPE.spec
diff -u SPECS/SPE.spec:1.15 SPECS/SPE.spec:1.16
--- SPECS/SPE.spec:1.15	Thu Jun  2 20:14:45 2005
+++ SPECS/SPE.spec	Sat Aug 27 23:28:16 2005
@@ -1,24 +1,24 @@
 # $Revision$, $Date$
 # TODO:
 # - fix %%files (doc to %%doc, no .py, remove unused files)
-
-%define	_wx	2.5.4.1
+%define	_wx	2.6.1.0
 %define	_bl	2.35
 
 Summary:	SPE - Stani's Python Editor
 Summary(pl):	SPE - pythonowy edytor Staniego
 Name:		SPE
-Version:	0.7.3.a
+Version:	0.7.5.c
 Release:	0.1
 License:	LGPL 2.1+ (except sm library <free to use> and sm_idle <PSF>)
 Group:		Applications/Text
-Source0:	http://projects.blender.org/frs/download.php/271/%{name}-%{version}-wx%{_wx}.-bl%{_bl}.zip
-# Source0-md5:	52b1d02f179bab7a71b57f5698343230
+Source0:	http://download.berlios.de/python/%{name}-%{version}-wx%{_wx}.-bl%{_bl}.tar.gz
+# Source0-md5:	c40a24a3ed79ebba8c4fb208c000f67c
+Source1:	%{name}.desktop
+Source2:	%{name}.png
 URL:		http://spe.pycs.net/
 BuildRequires:	python
 BuildRequires:	python-devel
 BuildRequires:	python-modules
-BuildRequires:	unzip
 %pyrequires_eq	python-modules
 Requires:	python-wxPython >= %{_wx}
 BuildArch:	noarch
@@ -52,12 +52,17 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 python setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-find $RPM_BUILD_ROOT -name '*.py' -exec rm "{}" ";"
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
+# SPE doesn't work without *.py files so don't remove them
+#%%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -67,6 +72,8 @@
 %doc README.txt
 %attr(755,root,root) %{_bindir}/*
 %{py_sitescriptdir}/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -74,6 +81,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/08/27 21:28:16  twittner
+- up to 0.7.5.c (new working url for Source0)
+- SPE doesn't work without *.py files - do remove them from %%{py_sitescriptdir}
+- added desktop and icon files
+
 Revision 1.15  2005/06/02 18:14:45  glen
 - findutils already required by rpm-build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/SPE.spec?r1=1.15&r2=1.16&f=u




More information about the pld-cvs-commit mailing list