1 Summary: Free cue sports simulator
2 Summary(pl.UTF-8): Darmowy symulator bilarda
7 Group: X11/Applications/Games
8 Source0: http://download.savannah.gnu.org/releases/billiards/%{name}-%{version}.tar.gz
9 # Source0-md5: c00786f1ca0cd62a276f6d6383a75249
10 URL: http://www.nongnu.org/billiards/
11 BuildRequires: autoconf
12 BuildRequires: automake
14 BuildRequires: sed >= 4.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Billiards is a free cue sports simulator. It aims for physical
20 accuracy and simplicity and should hopefully be useful for practicing
21 billiards on your own and against your friends when a real pool table
24 %description -l pl.UTF-8
25 Billiards to darmowy symulator bilarda. Jego celem jest dokładne
26 odwzorowanie praw fizyki i prostota. Jest przydatny dla osób, które
27 chcą rozwijać swoje umiejętności bilardowe grając w pojedynkę lub z
28 przyjaciółmi, gdy prawdziwy stół bilardowy nie jest dostępny.
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
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man6/billiards-browser.6
53 rm -rf $RPM_BUILD_ROOT
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
61 %{_desktopdir}/billiards.desktop
62 %{_iconsdir}/hicolor/48x48/apps/billiards.png
63 %{_iconsdir}/hicolor/scalable/apps/billiards.svg