%define name libmaitretarot %define version 0.1.98 %define release 1 Summary: The Maitretarot library Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Group: Games/Cards Source: http://www.nongnu.org/download/maitretarot/%{name}.pkg/%{version}/%{name}-%{version}.tar.gz URL: http://www.nongnu.org/maitretarot/ BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Requires: glib2 BuildRequires: glib2-devel %description Maitretarot is a tarot server game. Libmaitretarot is a library for both the server and any client. %description -l fr Maitretarot est le serveur pour un jeu de tarot. Libmaitretarot est une biblothèque pour à la fois le serveur et n'importe quel client. %package -n %name-devel Summary: Development files from Libmaitretarot Group: System/Libraries Requires: %name = %version-%release %description -n %name-devel This package is needed to build application that use Libmaitretarot. %description -n %name-devel -l fr Ce package est utilisé pour compiler les applications qui utilisent Libmaitretarot. %prep %setup -q %build %configure make %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_libdir}/*.so.* %files -n %name-devel %defattr(-,root,root) %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %{_includedir}/maitretarot.h %changelog * Mon May 20 2002 Yves Mettier - First spec file