File ggz-client-libs.spec of Package ggz-client-libs
#
# spec file for package ggz-client-libs (Version 0.0.14.1)
#
# Copyright (c) 2010 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: 67
License: GPLv2+ ; LGPLv2.1+
Group: Amusements/Games/Other
Source0: %{name}-%{version}.tar.bz2
Url: http://www.ggzgamingzone.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Recommends: %{name}-lang
%description
The GGZ project makes free online gaming possible.
%package devel
License: GPLv2+ ; LGPLv2.1+
Summary: The GGZ project makes free online gaming possible
Group: Amusements/Games/Other
Requires: %{name} = %{version} libggz2-devel
%description devel
The GGZ project makes free online gaming possible.
%lang_package
%prep
%setup -q
%build
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
%find_lang ggzcore ggz-langs.lang
%find_lang ggz-config 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