]> git.pld-linux.org Git - packages/kulic.git/blobdiff - kulic.spec
- datadir patch
[packages/kulic.git] / kulic.spec
index 4f09021475ea3cfca265ede7d43e2c9f6c08e8b2..26e0b5d6b77b2500565da7bea0523e7c26013e03 100644 (file)
@@ -1,17 +1,21 @@
+# TODO:
+# - patch src/main.cc too (/usr -> PACKAGE_DATA_DIR), doesn't work: don't found map
 Summary:       2d shooting game
 Name:          kulic
 Version:       1.1
-Release:       0.3
+Release:       0.6
 License:       GPL v2
 Group:         X11/Applications/Games
 Source0:       http://hippo.nipax.cz/src/%{name}-%{version}.tar.gz
 # Source0-md5: 16aff4bded3ae1c6712ca71d4d429730
 Patch0:                %{name}-cstring.patch
+Patch1:                %{name}-datadir.patch
 URL:           http://hippo.nipax.cz/download.en.php
 BuildRequires: allegro-devel
-BuildRequires: automake
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libtool
+BuildRequires: sed >= 4.0
 # Need for sound, imho allegro-alsa is the best solution
 Suggests:      allegro-alsa
 # Suggests:    allegro-arts
@@ -24,8 +28,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %prep
 %setup -q
+%{__sed} -i -e 's,\r$,,' src/*.c*
 %patch0 -p1
-%{__sed} -i "s,/usr/local,/usr,g" src/*.c*
+%patch1 -p1
 
 %build
 
This page took 0.025563 seconds and 4 git commands to generate.