ggz-client-libs/ggz-client-libs.spec

90 lines
2.4 KiB
RPMSpec

Name: ggz-client-libs
Version: 0.0.14.1
Release: 2mamba
Summary: GGZ Gaming Zone: Core client frontend library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.ggzgamingzone.org/
Source: http://ftp.belnet.be/packages/ggzgamingzone/ggz/%{version}/ggz-client-libs-%{version}.tar.gz
License: LGPL
BuildRequires: libggz-devel
BuildRequires: gettext-devel
BuildRequires: libexpat-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The GGZ project makes free online gaming possible.
This package provides the run-time library used by most of the GGZ core clients.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The GGZ project makes free online gaming possible.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure --disable-static
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang ggz-config
%find_lang ggzcore
cat ggz-config.lang ggzcore.lang > %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/ggz
%{_bindir}/ggz-wrapper
%{_libdir}/libggzcore.so.*
%{_libdir}/libggzmod.so.*
%{_libdir}/ggz
%{_datadir}/desktop-directories/ggz-games.directory
%{_datadir}/desktop-directories/ggz.directory
%{_sysconfdir}/xdg/menus/applications-merged/ggz.merge.menu
%{_sysconfdir}/xdg/menus/ggz.menu
%{_mandir}/man1/ggzwrap.*
%{_mandir}/man5/ggz.modules.*
%{_mandir}/man6/ggz.*
%{_mandir}/man6/ggz-wrapper.*
%{_mandir}/man7/ggz.*
%doc AUTHORS COPYING ChangeLog NEWS README README.GGZ
%files devel
%defattr(-,root,root)
%{_bindir}/ggz-config
%{_includedir}/*.h
%{_libdir}/libggzcore.la
%{_libdir}/libggzmod.la
%{_libdir}/libggzcore.so
%{_libdir}/libggzmod.so
%{_mandir}/man3/ggzcore_h.*
%{_mandir}/man3/ggzmod_h.*
%{_mandir}/man6/ggz-config.*
%changelog
* Fri Aug 23 2013 Automatic Build System <autodist@mambasoft.it> 0.0.14.1-2mamba
- automatic rebuild by autodist
* Thu Aug 28 2008 Aleph0 <aleph0@openmamba.org> 0.0.14.1-1mamba
- update to 0.0.14.1
* Mon Nov 05 2007 Aleph0 <aleph0@openmamba.org> 0.0.14-1mamba
- package created by autospec