]> git.pld-linux.org Git - packages/cuyo.git/blob - cuyo.spec
c9c334e4d2c5a12194ffcab86517379c2d82d478
[packages/cuyo.git] / cuyo.spec
1 Summary:        Cuyo - a Tetris clone
2 Summary(pl):    Cuyo - klon Tetrisa
3 Name:           cuyo
4 Version:        1.6.0alpha5
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-make.patch
10 URL:            http://www.karimmi.de/%{name}/
11 BuildRequires:  automake
12 BuildRequires:  autoconf
13 BuildRequires:  qt-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16
17 %description
18 Cuyo is an interesting Tetris clone.
19
20 %description -l pl
21 Cuyo to ciekawy klon Tetrisa.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26
27 %build
28 rm -f missing
29 %{__aclocal} -I .
30 %{__autoconf}
31 %{__automake}
32 %configure
33 %{__make}
34
35 %install
36 #Could somebody help me to force automake using DESTDIR? //pascalek
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/%{_bindir}
39 install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}/pics
40 install -d $RPM_BUILD_ROOT/%{_mandir}/man6
41
42 cp src/%{name} $RPM_BUILD_ROOT/%{_bindir}
43 cp data/*.ld $RPM_BUILD_ROOT/%{_datadir}/%{name}
44 cp data/pics/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/pics
45 cp docs/%{name}.6 $RPM_BUILD_ROOT/%{_mandir}/man6
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc AUTHORS COPYING ChangeLog NEWS TODO README docs/cual
53 %attr(755,root,root) %{_bindir}/%{name}
54 %dir %{_datadir}/%{name}
55 %{_datadir}/%{name}/*.ld
56 %dir %{_datadir}/%{name}/pics
57 %{_datadir}/%{name}/pics/*
58 %{_mandir}/man6/*
This page took 0.053254 seconds and 2 git commands to generate.