File ggz-client-libs.spec of Package ggz-client-libs

#
# spec file for package ggz-client-libs (Version 0.0.14.1)
#
# Copyright (c) 2008 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

BuildRequires:  libexpat-devel libggz2-devel
BuildRequires:  desktop-data-SuSE

Name:           ggz-client-libs
Summary:        The GGZ project makes free online gaming possible
Version:        0.0.14.1
Release:        58
License:        GPL v2 or later; LGPL v2.1 or later
Group:          Amusements/Games/Other
Source0:        %{name}-%{version}.tar.bz2
Url:            http://www.ggzgamingzone.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on

%description
The GGZ project makes free online gaming possible.



%package devel
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        The GGZ project makes free online gaming possible
Group:          Amusements/Games/Other
Requires:       %{name} = %{version}

%description devel
The GGZ project makes free online gaming possible.



%lang_package
%prep
%setup

%build
%configure
export CFLAGS=$RPM_OPT_FLAGS
make

%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
%find_lang ggzcore
%find_lang ggz-config
cat ggzcore.lang ggz-config.lang > ggz-langs.lang

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS NEWS README
%{_sysconfdir}/xdg/menus/*.menu
%{_sysconfdir}/xdg/menus/applications-merged/*.menu
%{_datadir}/desktop-directories/*.directory
%{_bindir}/ggz
%{_libdir}/*.so.*
%{_libdir}/ggz
%{_mandir}/man1/*.gz
%{_mandir}/man7/*.gz

%files devel
%defattr(-, root, root)
%{_bindir}/ggz-config
%{_bindir}/ggz-wrapper
%{_includedir}/*.h
%{_libdir}/*.so
%doc %{_mandir}/man3/*.gz
%doc %{_mandir}/man5/*.gz
%doc %{_mandir}/man6/*.gz

%files lang -f ggz-langs.lang

%changelog
* Wed Oct 01 2008 dominique-opensuse@leuenberger.net
- Update to version 0.0.14.1:
  + Bugfixes and some translations
* Mon Aug 25 2008 mboman@novell.com
- Updated to version 0.0.14:
  * Player management, permissions and host players make playing on GGZ
  more fun
  * Support for GNU Chess and Velena in our Chess and ConnectX servers
  * Windows installer for the Gtk+ client
  * The Metacle, a metaserver aggregator for cross-project game server
  access
  * More GGZBoard games: Shogi and Sudoku
  * Overhauled APIs for developers, including Pygame integration of game
  clients
  * Dynamic room reconfiguration in the GGZ server
* Wed Mar 05 2008 maw@suse.de
- Initial version: 0.0.14.1.
openSUSE Build Service is sponsored by