File xbill.spec of Package xbill

#
# spec file for package xbill
#
# Copyright (c) 2012 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/
#
Summary:        Classic X Game
License:        GPL
Group:          Amusements/Games/Action/Shoot
Name:           xbill
Version:        2.1
Release:        0
Source0:        http://www.xbill.org/download/%{name}-%{version}.tar.gz
Url:            http://www.xbill.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++
BuildRequires:  gtk1-compat-devel

%description
Ever get the feeling that nothing is going right? You're a sysadmin, and someone's trying to destroy your computers. The little people running around the screen are trying to infect your computers with Wingdows [TM], a virus cleverly designed to resemble a popular operating system. Additionally, some computers are connected with network cables. When one computer on a network becomes infected, a spark will be sent down the cable, and will infect the computer on the other end when it reaches there.

%prep
%setup -q

%build
%configure --enable-gtk --disable-motif --disable-athena --localstatedir=%{_localstatedir}/games
make %{?_smp_mflags}

%install
make DESTDIR=$RPM_BUILD_ROOT install	# install all files

%files
%defattr(-,root,root)
%doc README README.Ports ChangeLog
#%{prefix}/bin/%{name}
#%{prefix}/man/man6/%{name}*
#%{prefix}/share/%{name}/bitmaps/
#%{prefix}/share/%{name}/pixmaps/
#%{prefix}/var/%{name}/scores
%{_bindir}/%{name}
%{_mandir}/man6/%{name}*
%{_datadir}/%{name}
%attr(0775,games,games) %dir %{_localstatedir}/games/%{name}
%attr(0775,games,games) %dir %{_localstatedir}/games/%{name}/scores

%changelog
openSUSE Build Service is sponsored by