# BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/desktop-file-install perl(diagnostics.pm) perl(open.pm) # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Summary: A clock for the X Window System Name: xdaliclock Version: 2.43 Release: alt1_5 Group: Graphics License: BSD URL: http://www.jwz.org/xdaliclock/ Source0: http://www.jwz.org/xdaliclock/xdaliclock-%{version}.tar.gz Source1: xdaliclock.desktop BuildRequires: desktop-file-utils BuildRequires: libICE-devel, libXmu-devel, libSM-devel xorg-bigreqsproto-devel xorg-compositeproto-devel xorg-damageproto-devel xorg-dmxproto-devel xorg-dri2proto-devel xorg-dri3proto-devel xorg-evieproto-devel xorg-fixesproto-devel xorg-fontsproto-devel xorg-glproto-devel xorg-inputproto-devel xorg-kbproto-devel xorg-pmproto-devel xorg-presentproto-devel xorg-randrproto-devel xorg-recordproto-devel xorg-renderproto-devel xorg-resourceproto-devel xorg-scrnsaverproto-devel xorg-videoproto-devel xorg-xcmiscproto-devel xorg-xextproto-devel xorg-xf86bigfontproto-devel xorg-xf86dgaproto-devel xorg-xf86driproto-devel xorg-xf86miscproto-devel xorg-xf86vidmodeproto-devel xorg-xineramaproto-devel xorg-xproto-devel BuildRequires: libXext-devel, libXaw-devel, libXt-devel Source44: import.info %description XDaliClock is a large digital clock for the X Window System, with digits that "melt" into their new shapes when the time changes. XDaliClock supports 12 and 24 hour modes, and displays the date when you hold a mouse button down over it. It also can be configured to do colormap cycling, and for window transparency. %prep %setup %build # easier than patching configure to read those files from own directory # cp /usr/lib/rpm/redhat/config.{guess,sub} . cd X11 %configure %make_build %install cd X11 mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults install -p -m 0755 xdaliclock $RPM_BUILD_ROOT%{_bindir} install -p -m 0644 xdaliclock.man \ $RPM_BUILD_ROOT%{_mandir}/man1/xdaliclock.1 install -p -m 0644 XDaliClock.ad \ $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults/XDaliClock desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category "X-Fedora" \ --add-category "Graphics" \ %{SOURCE1} %files %doc README %{_bindir}/xdaliclock %{_mandir}/man1/xdaliclock.1* %{_datadir}/X11/app-defaults/XDaliClock %{_datadir}/applications/* %changelog * Fri Oct 20 2017 Igor Vlasenko 2.43-alt1_5 - update to new release by fcimport * Tue Jul 26 2016 Igor Vlasenko 2.43-alt1_2 - update to new release by fcimport * Mon Nov 09 2015 Igor Vlasenko 2.43-alt1_1 - new version * Tue Jan 13 2015 Igor Vlasenko 2.25-alt3_12 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko 2.25-alt3_9 - update to new release by fcimport * Wed Mar 13 2013 Igor Vlasenko 2.25-alt3_8 - fixed build * Mon Feb 11 2013 Igor Vlasenko 2.25-alt2_8 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko 2.25-alt2_7 - update to new release by fcimport * Wed Mar 21 2012 Igor Vlasenko 2.25-alt2_6 - rebuild to get rid of #27020 * Sat Jan 21 2012 Igor Vlasenko 2.25-alt1_6 - update to new release by fcimport * Thu Jul 28 2011 Igor Vlasenko 2.25-alt1_5 - update to new release by fcimport * Sat Jul 02 2011 Igor Vlasenko 2.25-alt1_4 - initial release by fcimport