]> git.pld-linux.org Git - packages/cuyo.git/blame - cuyo.spec
- initial release
[packages/cuyo.git] / cuyo.spec
CommitLineData
23e2c34a 1Summary: Cuyo.
2Name: cuyo
3Version: 1.6.0alpha5
4Release: 1
5License: GPL
6Group: X11/Applications/Games
7Source0: http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
8Patch0: %{name}-make.patch
9URL: http://www.karimmi.de/%{name}/
10BuildRequires: automake
11BuildRequires: autoconf
12BuildRequires: qt-devel
13Requires: qt
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.
21
22%prep
23%setup -q
24%patch0 -p1
25
26%build
27aclocal -I .
28%{__automake}
29%{__autoconf}
30%configure
31%{__make}
32
33%install
34#Could somebody help me to force automake using DESTDIR? //pascalek
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT/%{_bindir}
37install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}/pics
38install -d $RPM_BUILD_ROOT/%{_mandir}/man6
39
40cp src/%{name} $RPM_BUILD_ROOT/%{_bindir}
41cp data/*.ld $RPM_BUILD_ROOT/%{_datadir}/%{name}
42cp data/pics/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/pics
43cp docs/%{name}.6 $RPM_BUILD_ROOT/%{_mandir}/man6
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc AUTHORS COPYING ChangeLog NEWS TODO README docs/cual
51%attr(755,root,root) %{_bindir}/%{name}
52%dir %{_datadir}/%{name}
53%dir %{_datadir}/%{name}/pics
54%{_datadir}/%{name}/*.ld
55%{_datadir}/%{name}/pics/*
56%{_mandir}/man6/*
This page took 0.113179 seconds and 4 git commands to generate.