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