]>
Commit | Line | Data |
---|---|---|
8b61b23e | 1 | # |
164939a3 JB |
2 | # Conditional build: |
3 | %bcond_without xft # without xft support | |
4 | # | |
5 | Summary: On Screen Display menu with lirc | |
a9d0fe7f | 6 | Summary(pl.UTF-8): Menu ekranowe obsługiwane pilotem |
8b61b23e JR |
7 | Name: animenu |
8 | Version: 0.3.0 | |
2630d624 | 9 | Release: 1 |
8b61b23e JR |
10 | License: GPL |
11 | Group: Applications | |
12 | Source0: http://www.blackfiveservices.co.uk/projects/%{name}-%{version}.tar.gz | |
13 | # Source0-md5: 0e8de8be1fc848e1623431c72667ff6e | |
14 | Source1: %{name}-examples.tar.gz | |
15 | # Source1-md5: 1e8f16b3a9227072a92253db9c16bb7a | |
16 | URL: http://www.blackfiveservices.co.uk/animenu.shtml | |
164939a3 | 17 | BuildRequires: XFree86-devel |
8b61b23e JR |
18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
8b61b23e | 20 | BuildRequires: lirc-devel |
164939a3 | 21 | %{?with_xft:BuildRequires: xft-devel} |
8b61b23e JR |
22 | BuildRequires: xosd-devel |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
164939a3 JB |
26 | On Screen Display menu with lirc. Fully configurable, with directory |
27 | autoloading support and file types assotiations. | |
8b61b23e | 28 | |
2862671e JR |
29 | %description -l pl.UTF-8 |
30 | Menu ekranowe obsługiwane pilotem. Jest w pełni konfigurowalne, z | |
31 | możliwością konfiguracji wczytywanych podczas startu katalogów | |
32 | i programów przypisanych do obsługi poszczególnych typów plików. | |
8b61b23e JR |
33 | |
34 | %prep | |
35 | %setup -q | |
164939a3 | 36 | cp %{SOURCE1} . |
8b61b23e JR |
37 | tar zxf %{SOURCE1} |
38 | ||
39 | %build | |
40 | rm -f missing | |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
43 | %{__automake} | |
44 | ||
45 | %configure \ | |
164939a3 | 46 | %{!?with_xft:--disable-xft} |
8b61b23e JR |
47 | |
48 | %{__make} | |
49 | ||
50 | %install | |
164939a3 JB |
51 | rm -rf $RPM_BUILD_ROOT |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
8b61b23e JR |
55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
8b61b23e JR |
59 | %files |
60 | %defattr(644,root,root,755) | |
61 | %doc README examples examplemenus | |
62 | %attr(755,root,root) %{_bindir}/animenu |