File xdaliclock.spec of Package xdaliclock

#
# spec file for package xdaliclock (Version 2.25)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           xdaliclock
BuildRequires:  xorg-x11 xorg-x11-devel
License:        Any permissive
Group:          Amusements/Toys/Clocks
Provides:       daliclck 
Obsoletes:      daliclck 
AutoReqProv:    on
Version:        2.25
Release:        1
Summary:        Morphing Clock
Url:            http://www.jwz.org/xdaliclock/
Source:         %{name}-%{version}.tar.bz2
Patch:          %{name}-%{version}-makefile.patch
Patch1:         %{name}-%{version}-strict_aliasing.patch
Patch2:         %{name}-%{version}-permissions.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
An interesting clock, where the digits change smoothly from one to the
next.



Authors:
--------
    Jamie Zawinski <jwz@netscape.com>

%prep
%setup
%patch
%patch1
%patch2

%build
%{suse_update_config -f}
cd X11
autoconf
CFLAGS=$RPM_OPT_FLAGS \
./configure --prefix=/usr --mandir=%{_mandir}
make

%install
#[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}
cd X11
make install_prefix="$RPM_BUILD_ROOT" install
chmod a-x $RPM_BUILD_ROOT%{_mandir}/man1/xdaliclock.1*

%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}

%files
%defattr(-,root,root)
/usr/bin/xdaliclock
%doc %attr(644,root,root) %{_mandir}/man1/xdaliclock.1*

%changelog
* Mon Jan 21 2008 pgajdos@suse.cz
- updated to version 2.25 (some minor bugfixes - gcc warnings)
* Mon Jul 23 2007 pgajdos@suse.cz
- updated to version 2.24 (some bug fixes)
* Tue Nov 07 2006 lmichnovic@suse.cz
- fixed executable manpage (permissions.patch)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 09 2006 lmichnovic@suse.cz
- added missing RPM_OPT_FLAGS
* Mon Jan 09 2006 lmichnovic@suse.cz
- update to version 2.23 :
  smoother morphing
  better color cycling contrast
  added three new, larger built-in fonts
* Thu Jan 05 2006 lmichnovic@suse.cz
- update to version 2.21
* Tue Nov 08 2005 dmueller@suse.de
- don't build as root
* Fri Aug 06 2004 postadal@suse.cz
- updated to version 2.20
* Mon May 03 2004 postadal@suse.cz
- fixed code that broke strict aliasing
* Tue Feb 04 2003 postadal@suse.cz
- updated to version 2.19
* Wed Apr 24 2002 schwab@suse.de
- Don't for c89 mode.
* Wed Feb 07 2001 uli@suse.de
- fixed for glibc 2.2.1
* Fri Dec 01 2000 vinil@suse.cz
- upgraded to 2.18
- renamed from daliclck to xdaliclock
* Thu May 25 2000 vinil@suse.cz
- sorted in group
- spec file beautifying
* Tue Apr 04 2000 vinil@suse.cz
- buildroot added
* Tue Jan 18 2000 ro@suse.de
- update to 2.14
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
openSUSE Build Service is sponsored by