File ggz.spec of Package ggz
#
# spec file for package ggz (Version 0.0.14.1)
#
# Copyright (c) 2008 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
BuildRequires: libgcrypt-devel
Name: ggz
Summary: The GGZ project makes free online gaming possible
Version: 0.0.14.1
Release: 4
License: GPL v2 or later; LGPL v2.1 or later
Group: Amusements/Games/Other
Source0: libggz-%{version}.tar.bz2
Url: http://www.ggzgamingzone.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Requires: libggz2 = %{version}
%description
The GGZ project makes free online gaming possible.
%package -n libggz2-devel
Summary: The GGZ project makes free online gaming possible
Group: Amusements/Games/Other
Requires: %{name} = %{version}
%description -n libggz2-devel
The GGZ project makes free online gaming possible.
%package -n libggz2
Summary: The GGZ project makes free online gaming possible
Group: Amusements/Games/Other
Requires: %{name} >= %{version}
%description -n libggz2
The GGZ project makes free online gaming possible.
%prep
%setup -n libggz-%{version}
%build
%configure
export CFLAGS=$RPM_OPT_FLAGS
make
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ggz
%post -n libggz2 -p /sbin/ldconfig
%postun -n libggz2 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README
%files -n libggz2
%defattr(-, root, root)
%{_libdir}/*.so.*
%dir %{_datadir}/ggz
%files -n libggz2-devel
%defattr(-, root, root)
%{_includedir}/*.h
%{_libdir}/*.so
%doc %{_mandir}/man3/*.gz
%changelog
* Tue Mar 25 2008 maw@suse.de
- Own %%{_datadir}/ggz.
* Wed Mar 05 2008 maw@suse.de
- Initial version of ggz: version 0.0.14.1