]>
Commit | Line | Data |
---|---|---|
02a232ec JB |
1 | Summary: xclock application - analog/digital clock for X |
2 | Summary(pl.UTF-8): Aplikacja xclock - analogowy lub cyfrowy zegar dla X | |
8167c4ce | 3 | Name: xorg-app-xclock |
e9d521ba | 4 | Version: 1.0.7 |
792587ab | 5 | Release: 2 |
8167c4ce AM |
6 | License: MIT |
7 | Group: X11/Applications | |
64768a25 | 8 | Source0: http://xorg.freedesktop.org/releases/individual/app/xclock-%{version}.tar.bz2 |
e9d521ba | 9 | # Source0-md5: 6f150d063b20d08030b98c45b9bee7af |
ed6c7ee8 JB |
10 | Source1: xclock.desktop |
11 | Source2: xclock.png | |
8167c4ce | 12 | URL: http://xorg.freedesktop.org/ |
e3b915a6 | 13 | BuildRequires: autoconf >= 2.60 |
8167c4ce | 14 | BuildRequires: automake |
62c193df | 15 | BuildRequires: pkgconfig >= 1:0.19 |
8167c4ce AM |
16 | BuildRequires: xorg-lib-libXaw-devel |
17 | BuildRequires: xorg-lib-libXft-devel | |
64e959b3 | 18 | BuildRequires: xorg-lib-libXt-devel >= 1.0.0 |
e3b915a6 | 19 | BuildRequires: xorg-lib-libXmu-devel |
8167c4ce | 20 | BuildRequires: xorg-lib-libxkbfile-devel |
e3b915a6 | 21 | BuildRequires: xorg-util-util-macros >= 1.8 |
62fbcde6 | 22 | Requires: xorg-lib-libXt >= 1.0.0 |
9661bc43 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8167c4ce AM |
24 | |
25 | %description | |
0f0772a3 JB |
26 | xclock is the classic X Window System clock utility. It displays the |
27 | time in analog or digital form. The time is continuously updated at a | |
28 | frequency which may be specified by the user. | |
8167c4ce | 29 | |
ce667224 | 30 | %description -l pl.UTF-8 |
0f0772a3 JB |
31 | xclock to klasyczny zegar dla systemu X Window. Wyświetla czas w |
32 | postaci analogowej lub cyfrowej. Czas jest stale uaktualniany z | |
33 | częstotliwością określoną przez użytkownika. | |
8167c4ce | 34 | |
8167c4ce AM |
35 | %prep |
36 | %setup -q -n xclock-%{version} | |
8167c4ce | 37 | |
8167c4ce AM |
38 | %build |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | %configure | |
44 | ||
45 | %{__make} | |
46 | ||
8167c4ce AM |
47 | %install |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
f331a190 | 51 | DESTDIR=$RPM_BUILD_ROOT |
8167c4ce | 52 | |
ed6c7ee8 JB |
53 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/xclock.desktop |
54 | install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/xclock.png | |
55 | ||
8167c4ce AM |
56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
8167c4ce AM |
59 | %files |
60 | %defattr(644,root,root,755) | |
0f0772a3 | 61 | %doc COPYING ChangeLog README |
e103c373 JB |
62 | %attr(755,root,root) %{_bindir}/xclock |
63 | %{_datadir}/X11/app-defaults/XClock* | |
ed6c7ee8 JB |
64 | %{_desktopdir}/xclock.desktop |
65 | %{_pixmapsdir}/xclock.png | |
e9d521ba | 66 | %{_mandir}/man1/xclock.1* |