1 |
Name: xclock |
2 |
Version: 1.0.5 |
3 |
Release: %mkrel 1 |
4 |
Summary: analog / digital clock for X |
5 |
Group: Development/X11 |
6 |
Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 |
7 |
License: MIT |
8 |
BuildRoot: %{_tmppath}/%{name}-root |
9 |
|
10 |
BuildRequires: libx11-devel >= 1.0.0 |
11 |
BuildRequires: libxt-devel >= 1.0.0 |
12 |
BuildRequires: libxaw-devel >= 1.0.0 |
13 |
BuildRequires: x11-util-macros >= 1.0.1 |
14 |
BuildRequires: libxrender-devel >= 0.9.0 |
15 |
BuildRequires: xft2-devel >= 2.1.8.2 |
16 |
BuildRequires: libxkbfile-devel >= 1.0.1 |
17 |
|
18 |
%description |
19 |
The xclock program displays the time in analog or digital form. The time is |
20 |
continuously updated at a frequency which may be specified by the user. |
21 |
|
22 |
%prep |
23 |
%setup -q -n %{name}-%{version} |
24 |
|
25 |
%build |
26 |
%configure --x-includes=%{_includedir}\ |
27 |
--x-libraries=%{_libdir} |
28 |
|
29 |
%make |
30 |
|
31 |
%install |
32 |
rm -rf %{buildroot} |
33 |
%makeinstall_std |
34 |
|
35 |
%clean |
36 |
rm -rf %{buildroot} |
37 |
|
38 |
%files |
39 |
%defattr(-,root,root) |
40 |
%{_bindir}/xclock |
41 |
%{_datadir}/X11/app-defaults/XClock-color |
42 |
%{_datadir}/X11/app-defaults/XClock |
43 |
%{_mandir}/man1/xclock.1* |
44 |
|
45 |
|