Author: lisu                         Date: Mon Dec 28 14:44:55 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.3
- switch to manual installation of desktop file (previous workaround is now 
broken)
- force to use pyrex instead of cython which is not available in PLD yet
- finally -- it doesn't work. yet

---- Files affected:
packages/pybik:
   pybik.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/pybik/pybik.spec
diff -u packages/pybik/pybik.spec:1.11 packages/pybik/pybik.spec:1.12
--- packages/pybik/pybik.spec:1.11      Mon Nov 16 14:49:29 2009
+++ packages/pybik/pybik.spec   Mon Dec 28 15:44:49 2009
@@ -3,12 +3,15 @@
 Summary(hu.UTF-8):     Egy 3D-s interaktív kirakó (a Rubik-kockához hasonló)
 Summary(pl.UTF-8):     Trójwymiarowa interaktywna gra logiczna (podobna do 
kostki Rubika)
 Name:          pybik
-Version:       0.2.2
-Release:       1
+Version:       0.3
+Release:       0.1
 License:       GPL v3+
 Group:         X11/Applications/Games
 Source0:       
http://launchpad.net/pybik/trunk/%{version}/+download/%{name}-%{version}.tar.gz
-# Source0-md5: 72d77ffed83c609f16d1c2f652bbab6c
+# Source0-md5: 72c2cc828d3d5e21f4bc6d0f5588da41
+Source1:       %{name}.desktop
+Patch0:                %{name}-pyrex.patch
+Patch1:                %{name}-desktop.patch
 URL:           https://launchpad.net/pybik
 BuildRequires: OpenGL-devel
 BuildRequires: gettext-devel
@@ -17,7 +20,6 @@
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
-BuildRequires: sed >= 4.0
 Requires:      python-PyOpenGL
 Requires:      python-Pyrex
 Requires:      python-modules
@@ -37,7 +39,8 @@
 
 %prep
 %setup -q
-%{__sed} -i "s...@gnome;GTK;Game;@Game;LogicGame;@" data/pybik.desktop.in
+%patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%{rpmcflags}"
@@ -45,12 +48,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/pybik
+install -d $RPM_BUILD_ROOT{%{_datadir}/pybik,%{_desktopdir}}
 
 %{__python} setup.py install \
        --optimize=2 \
        --root=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
 # req %{_datadir}/locale/no/LC_MESSAGES not found !!!
 %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
 
@@ -88,6 +93,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2009/12/28 14:44:49  lisu
+- up to 0.3
+- switch to manual installation of desktop file (previous workaround is now 
broken)
+- force to use pyrex instead of cython which is not available in PLD yet
+- finally -- it doesn't work. yet
+
 Revision 1.11  2009/11/16 13:49:29  zbyniu
 - missing BRs
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pybik/pybik.spec?r1=1.11&r2=1.12&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to