Summary: wmSun displays the current day's Sun Rise and Set Times Summary(pl): wmSun wyświetla aktualny czas wschodu i zachodu Słońca Name: wmSun Version: 1.03 Release: 4 License: GPL Group: X11/Window Managers/Tools Source0: http://nis-www.lanl.gov/~mgh/WindowMaker/%{name}-%{version}.tar.gz # Source0-md5: defc6747ebdb64b5d3afe91f916d3acc Source1: %{name}.desktop URL: http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml BuildRequires: XFree86-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description wmSun displays the current day's Sun Rise and Set Times. You must enter your LAtitude and Longitude correctly for it to work. %description -l pl wmSun wyświetla aktualne godziny wschodu i zachodu Słońca. Aby program działał poprawnie, musisz podać właściwą dla miejsca, w którym przebywasz, długość i szerokość geograficzną. %prep %setup -q %build %{__make} -C %{name} clean %{__make} -C %{name} \ CFLAGS="%{rpmcflags} -Wall" \ INCDIR="-I%{_includedir}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \ $RPM_BUILD_ROOT%{_applnkdir}/DockApplets install %{name}/%{name} $RPM_BUILD_ROOT%{_bindir} install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 #install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/DockApplets %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc BUGS TODO %attr(755,root,root) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* #%%{_applnkdir}/DockApplets/wmSun.desktop