]> git.pld-linux.org Git - packages/billiards.git/blame - billiards.spec
- up to 0.4.1
[packages/billiards.git] / billiards.spec
CommitLineData
22b35b25 1Summary: Free cue sports simulator
2Summary(pl.UTF-8): Darmowy symulator bilarda
3Name: billiards
e6bb0bd7 4Version: 0.4.1
22b35b25 5Release: 0.1
6License: GPL v3+
7Group: X11/Applications/Games
8Source0: http://download.savannah.gnu.org/releases/billiards/%{name}-%{version}.tar.gz
e6bb0bd7 9# Source0-md5: c00786f1ca0cd62a276f6d6383a75249
22b35b25 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
ad420f62 33%{__sed} -i 's,/techne,,;s,@techne@,%{_bindir}/techne.bin,' src/billiards.in
34%{__sed} -i 's,billiards/,%{_datadir}/billiards/,' src/billiards.lua
22b35b25 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
ad420f62 49# remove symlink
50%{__rm} $RPM_BUILD_ROOT%{_mandir}/man6/billiards-browser.6
51
22b35b25 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
ad420f62 59%attr(755,root,root) %{_bindir}/billiards-browser
22b35b25 60%{_datadir}/%{name}
e6bb0bd7
LG
61%{_desktopdir}/billiards.desktop
62%{_iconsdir}/hicolor/48x48/apps/billiards.png
63%{_iconsdir}/hicolor/scalable/apps/billiards.svg
ad420f62 64%{_mandir}/man6/*.6*
This page took 0.05787 seconds and 5 git commands to generate.