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: 2 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.wmconfig BuildPrereq: XFree86-devel BuildPrereq: xpm-devel BuildRoot: /tmp/%{name}-%{version}-root %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/etc/X11/wmconfig install -s %{name}/%{name} $RPM_BUILD_ROOT%{_bindir} install %{name}/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name} 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 /etc/X11/wmconfig/%{name} %changelog * Sun May 16 1999 Piotr Czerwiński [1.03-2] - modified spec file for PLD use, - package is now FHS 2.0 compliant. * Tue Feb 9 1998 Ian Macdonald - first RPM release.