File xdaliclock.spec of Package xdaliclock
#
# spec file for package xdaliclock
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: xdaliclock
Version: 2.41
Release: 0
Summary: Morphing Clock
License: MIT
Group: Amusements/Toys/Clocks
Url: http://www.jwz.org/xdaliclock/
Source: http://www.jwz.org/xdaliclock/%{name}-%{version}.tar.gz
Patch0: %{name}-2.30-makefile.patch
Patch1: %{name}-2.30-strict_aliasing.patch
Patch2: %{name}-2.30-permissions.patch
BuildRequires: xorg-x11-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
An interesting clock, where the digits change smoothly from one to the
next.
%prep
%setup -q
%patch0
%patch1
%patch2
%build
cd X11
%configure
make %{?_smp_mflags}
%install
cd X11
make install_prefix=%{buildroot} install
chmod a-x %{buildroot}%{_mandir}/man1/xdaliclock.1*
%files
%defattr(-,root,root)
%{_bindir}/xdaliclock
%doc %attr(644,root,root) %{_mandir}/man1/xdaliclock.1*
%changelog