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 Source0: http://nis-www.lanl.gov/~mgh/WindowMaker/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
10 URL: http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
11 BuildRequires: XFree86-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _prefix /usr/X11R6
15 %define _mandir %{_prefix}/man
18 wmSun displays the current day's Sun Rise and Set Times. You must
19 enter your LAtitude and Longitude correctly for it to work.
22 wmSun wy¶wietla aktualne godziny wschodu i zachodu S³oñca. Aby program
23 dzia³a³ poprawnie, musisz podaæ w³a¶ciw± dla miejsca, w którym
24 przebywasz, d³ugo¶æ i szeroko¶æ geograficzn±.
30 %{__make} -C %{name} clean
31 %{__make} -C %{name} \
32 CFLAGS="%{rpmcflags} -Wall" \
33 INCDIR="-I%{_includedir}"
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
38 $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
40 install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir}
41 install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
43 #install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/DockApplets
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/%{name}
52 %{_mandir}/man1/%{name}.1*
53 #%%{_applnkdir}/DockApplets/wmSun.desktop