1 Summary: wmSun displays the current day's Sun Rise and Set Times
2 Summary(pl): wmSun wy¶wietla aktualny czas wschodu i zachodu s³oñca
7 Group: X11/Window Managers/Tools
8 Group(pl): X11/Zarz±dcy Okien/Narzêdzia
9 Source0: ftp://leadbelly.lanl.gov/pub/mgh/%{name}-%{version}.tar.gz
10 Source1: wmSun.desktop
11 BuildRequires: XFree86-devel
12 BuildRequires: xpm-devel
13 BuildRoot: /tmp/%{name}-%{version}-root
15 %define _prefix /usr/X11R6
16 %define _mandir %{_prefix}/man
17 %define _applnkdir %{_datadir}/applnk
20 wmSun displays the current day's Sun Rise and Set Times.
21 You must enter your LAtitude and Longitude correctly for it to work.
24 wmSun wy¶wietla aktualne godziny wschodu i zachodu s³oñca.
25 Aby program dzia³a³ poprawnie, musisz podaæ w³a¶ciw± dla
26 miejsca, w którym przebywasz, d³ugo¶æ i szeroko¶æ geograficzn±.
34 CFLAGS="$RPM_OPT_FLAGS -Wall" \
35 INCDIR="-I/usr/X11R6/include"
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
40 $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
42 install -s %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
43 install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
45 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
47 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/%{name}
57 %{_mandir}/man1/%{name}.1.gz
58 %{_applnkdir}/DockApplets/wmSun.desktop