]> git.pld-linux.org Git - packages/billiards.git/blame_incremental - billiards.spec
- up to 0.4
[packages/billiards.git] / billiards.spec
... / ...
CommitLineData
1Summary: Free cue sports simulator
2Summary(pl.UTF-8): Darmowy symulator bilarda
3Name: billiards
4Version: 0.4
5Release: 0.1
6License: GPL v3+
7Group: X11/Applications/Games
8Source0: http://download.savannah.gnu.org/releases/billiards/%{name}-%{version}.tar.gz
9# Source0-md5: 6bcee44199f85a7b6710dc0e06f0db75
10URL: http://www.nongnu.org/billiards/
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: lua51
14BuildRequires: sed >= 4.0
15BuildRequires: techne
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Billiards is a free cue sports simulator. It aims for physical
20accuracy and simplicity and should hopefully be useful for practicing
21billiards on your own and against your friends when a real pool table
22is not available.
23
24%description -l pl.UTF-8
25Billiards to darmowy symulator bilarda. Jego celem jest dokładne
26odwzorowanie praw fizyki i prostota. Jest przydatny dla osób, które
27chcą rozwijać swoje umiejętności bilardowe grając w pojedynkę lub z
28przyjaciółmi, gdy prawdziwy stół bilardowy nie jest dostępny.
29
30%prep
31%setup -q
32%{__sed} -i 's,techne/,,' src/Makefile.am
33%{__sed} -i 's,/techne,,;s,@techne@,%{_bindir}/techne.bin,' src/billiards.in
34%{__sed} -i 's,billiards/,%{_datadir}/billiards/,' src/billiards.lua
35
36%build
37%{__aclocal}
38%{__autoconf}
39%{__automake}
40%configure
41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49# remove symlink
50%{__rm} $RPM_BUILD_ROOT%{_mandir}/man6/billiards-browser.6
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc AUTHORS ChangeLog NEWS README
58%attr(755,root,root) %{_bindir}/billiards
59%attr(755,root,root) %{_bindir}/billiards-browser
60%{_datadir}/%{name}
61%{_mandir}/man6/*.6*
This page took 0.043529 seconds and 4 git commands to generate.