]> git.pld-linux.org Git - packages/SPE.git/commitdiff
- up to 0.7.5.c (new working url for Source0)
authortwittner <twittner@pld-linux.org>
Sat, 27 Aug 2005 21:28:16 +0000 (21:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- SPE doesn't work without *.py files - do remove them from %%{py_sitescriptdir}
- added desktop and icon files

Changed files:
    SPE.spec -> 1.16

SPE.spec

index 5f8eee4dc6a3a17226f990b5987970925e8214f4..be7b95a7d5084a55c31d5ce8757fa27afa6d0f30 100644 (file)
--- a/SPE.spec
+++ b/SPE.spec
@@ -1,23 +1,23 @@
 # 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
@@ -51,12 +51,17 @@ python setup.py build
 
 %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
@@ -66,3 +71,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.txt
 %attr(755,root,root) %{_bindir}/*
 %{py_sitescriptdir}/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*
This page took 0.089743 seconds and 4 git commands to generate.