]> git.pld-linux.org Git - packages/kulic.git/blame - kulic.spec
- datadir patch
[packages/kulic.git] / kulic.spec
CommitLineData
85b62de7
ZU
1# TODO:
2# - patch src/main.cc too (/usr -> PACKAGE_DATA_DIR), doesn't work: don't found map
bc45e916
ZU
3Summary: 2d shooting game
4Name: kulic
5Version: 1.1
85b62de7 6Release: 0.6
bc45e916
ZU
7License: GPL v2
8Group: X11/Applications/Games
9Source0: http://hippo.nipax.cz/src/%{name}-%{version}.tar.gz
10# Source0-md5: 16aff4bded3ae1c6712ca71d4d429730
11Patch0: %{name}-cstring.patch
85b62de7 12Patch1: %{name}-datadir.patch
bc45e916
ZU
13URL: http://hippo.nipax.cz/download.en.php
14BuildRequires: allegro-devel
bc45e916 15BuildRequires: autoconf
84eb64d0 16BuildRequires: automake
bc45e916 17BuildRequires: libtool
84eb64d0 18BuildRequires: sed >= 4.0
bc45e916
ZU
19# Need for sound, imho allegro-alsa is the best solution
20Suggests: allegro-alsa
21# Suggests: allegro-arts
22# Suggests: allegro-esd
23# Suggests: allegro-jack
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
272d shooting game.
28
29%prep
30%setup -q
84eb64d0 31%{__sed} -i -e 's,\r$,,' src/*.c*
bc45e916 32%patch0 -p1
85b62de7 33%patch1 -p1
bc45e916
ZU
34
35%build
36
37%{__libtoolize}
38%{__aclocal}
39%{__autoconf}
40%{__autoheader}
41%{__automake}
42
43%configure
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
8b08665d
ZU
52install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53install misc/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
54install misc/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
55
bc45e916
ZU
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc AUTHORS ChangeLog NEWS README
62%attr(755,root,root) %{_bindir}/*
63%{_datadir}/%{name}
64%{_mandir}/man6/kulic*
8b08665d
ZU
65%{_desktopdir}/%{name}.desktop
66%{_pixmapsdir}/%{name}.xpm
This page took 0.837813 seconds and 4 git commands to generate.