]> git.pld-linux.org Git - packages/billiards.git/blob - billiards.spec
- up to 0.4.1
[packages/billiards.git] / billiards.spec
1 Summary:        Free cue sports simulator
2 Summary(pl.UTF-8):      Darmowy symulator bilarda
3 Name:           billiards
4 Version:        0.4.1
5 Release:        0.1
6 License:        GPL v3+
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
13 BuildRequires:  lua51
14 BuildRequires:  sed >= 4.0
15 BuildRequires:  techne
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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
22 is not available.
23
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.
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
44 rm -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
53 rm -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 %{_desktopdir}/billiards.desktop
62 %{_iconsdir}/hicolor/48x48/apps/billiards.png
63 %{_iconsdir}/hicolor/scalable/apps/billiards.svg
64 %{_mandir}/man6/*.6*
This page took 0.176778 seconds and 3 git commands to generate.