File asclock.spec of Package asclock
#
# spec file for package asclock (Version 2.0.12)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: asclock
BuildRequires: xorg-x11-devel
License: GPL v2 or later
Group: Amusements/Toys/Clocks
Provides: astools:/usr/X11R6/bin/asclock
AutoReqProv: on
Version: 2.0.12
Release: 289
Summary: AfterStep digital clock
Url: http://www.tigr.net/afterstep/
Source: asclock-%{version}.tar.bz2
Patch: gcc4.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A swallowable applet shows clock and calendar. Supports themes for
different looks.
Authors:
--------
Beat Christen <spiff@longstreet.ch>
Patrick Rogan <rogan@lycos.com>
%prep
%setup -q
%patch
%build
rm -f languages/english/*~
./configure <<EOF
shaped
1
EOF
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/share/asclock
cp -ar themes $RPM_BUILD_ROOT/usr/share/asclock/
cp -ar languages $RPM_BUILD_ROOT/usr/share/asclock/
%files
%defattr(-,root,root)
/usr/bin/asclock
/usr/share/asclock
%changelog
* Fri Aug 04 2006 schwab@suse.de
- New package.