%define srcname wmCalClock %define srcdirname Src Name: wmcalclock Version: 1.25 Release: %mkrel 4 Summary: A dock application giving the current date and time License: GPLv2 Group: Graphical desktop/Other URL: http://en.wikipedia.org/wiki/Wmcalclock Source0: http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/%{srcname}-%{version}.tar.gz BuildRequires: glibc-devel BuildRequires: libxpm-devel BuildRequires: libx11-devel BuildRequires: libxext-devel # Older windowmaker packages contain built-in wmcalclock Conflicts: windowmaker < 0.95.0-2 %description wmCalClock is another dockapp for WindowMaker, or any window manager and desktop environment that handles dock applications. It displays the current date and time, but can be set to give the Greenwich and local sidereal times at any location. %prep %setup -q -n %{srcname}-%{version} %build %make -C %{srcdirname} CFLAGS="%{optflags}" LDFLAGS="%{ldflags}" %install install -D -m 755 %{srcdirname}/%{srcname} %{buildroot}%{_bindir}/%{name} install -D -m 644 %{srcdirname}/%{srcname}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %doc BUGS CHANGES COPYING HINTS README TODO %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Mon Jan 14 2013 umeabot <umeabot> 1.25-4.mga3 + Revision: 385723 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 02 2012 kamil <kamil> 1.25-3.mga3 + Revision: 324967 - clean .spec a bit * Fri Jan 13 2012 kamil <kamil> 1.25-2.mga2 + Revision: 195480 - add conflicts with older windowmaker that has built-in wmCalClock * Fri Jan 13 2012 kamil <kamil> 1.25-1.mga2 + Revision: 195458 - update group - clean spec + eatdirt <eatdirt> - imported package wmcalclock