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: 3 Copyright: GPL Group: X11/Window Managers/Tools Group(pl): X11/Zarządcy Okien/Narzędzia Source0: ftp://leadbelly.lanl.gov/pub/mgh/%{name}-%{version}.tar.gz Source1: wmSun.desktop BuildRequires: XFree86-devel BuildRequires: xpm-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %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="$RPM_OPT_FLAGS -Wall" \ INCDIR="-I/usr/X11R6/include" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \ $RPM_BUILD_ROOT%{_applnkdir}/DockApplets install -s %{name}/%{name} $RPM_BUILD_ROOT%{_bindir} install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/DockApplets gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ BUGS TODO %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc {BUGS,TODO}.gz %attr(755,root,root) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz %{_applnkdir}/DockApplets/wmSun.desktop