File deadlands-font.spec of Package deadlands-font

#
# spec file for package deadlands-font (Version 1.0)
#
# Copyright (c) 2004 SUSE LINUX AG, 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://www.suse.de/feedback/
#

# norootforbuild
# neededforbuild  

# %if %suse_version > 1120
# %endif

BuildRequires: aaa_base coreutils unzip

Name:         deadlands-font
License:      Unknown, Other License(s), see package
Group:        SuSE internal
PreReq:       aaa_base perl
Summary:      Fonts for RPG Deadlands based websites
Version:      1.0
Release:      1
URL:          http://www.weirdwest.de/
Source0:      http://www.weirdwest.de/sonst/downloads/fonts.zip
BuildArch:    noarch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fontpackages-devel 

%description
TrueType Fonts for Deadlands (wild west) RPG based websites



%prep
%setup -c

%build
for i in *.[Tt][Tt][Ff]; do
  lower=`echo $i|tr [:upper:] [:lower:]`
  test "$i" != "$lower" && mv $i $lower
done
chmod 644 *.ttf

%install
install -d $RPM_BUILD_ROOT/%{_ttfontsdir}
install -c -m 644 *.ttf $RPM_BUILD_ROOT/%{_ttfontsdir}

%reconfigure_fonts_scriptlets


%files
%defattr(-, root, root)
%{_ttfontsdir}

%changelog 
openSUSE Build Service is sponsored by