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(de): X11/Fenstermanager/Werkzeuge
9 Group(pl): X11/Zarz±dcy Okien/Narzêdzia
10 Source0: ftp://leadbelly.lanl.gov/pub/mgh/%{name}-%{version}.tar.gz
11 Source1: %{name}.desktop
12 BuildRequires: XFree86-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _prefix /usr/X11R6
16 %define _mandir %{_prefix}/man
19 wmSun displays the current day's Sun Rise and Set Times. You must
20 enter your LAtitude and Longitude correctly for it to work.
23 wmSun wy¶wietla aktualne godziny wschodu i zachodu S³oñca. Aby program
24 dzia³a³ poprawnie, musisz podaæ w³a¶ciw± dla miejsca, w którym
25 przebywasz, d³ugo¶æ i szeroko¶æ geograficzn±.
31 %{__make} -C %{name} clean
32 %{__make} -C %{name} \
33 CFLAGS="%{rpmcflags} -Wall" \
34 INCDIR="-I%{_includedir}"
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
39 $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
41 install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
42 install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
44 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/%{name}
55 %{_mandir}/man1/%{name}.1.gz
56 %{_applnkdir}/DockApplets/wmSun.desktop