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