File asclock.spec of Package asclock

#
# spec file for package asclock (Version 2.0.12)
#
# Copyright (c) 2006 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:           asclock
BuildRequires:  xorg-x11-devel
License:        GPL
Group:          Amusements/Toys/Clocks
Provides:       astools:/usr/X11R6/bin/asclock
Autoreqprov:    on
Version:        2.0.12
Release:        126
Summary:        AfterStep's clock
Url:            http://www.tigr.net/afterstep/
Source:         asclock-%{version}.tar.bz2
Patch:          gcc4.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
asclock was originally the AfterStep window manager's clock.

Documentation in: /usr/share/doc/packages/asclock man asclock



Authors:
--------
    Beat Christen <bchriste@iiic.ethz.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 -n asclock
* Fri Aug 04 2006 - schwab@suse.de
- New package.
openSUSE Build Service is sponsored by