%define oname KXL %define name kxl %define version 1.1.6 %define release 3mdk %define libname %mklibname %name %{version}_0 Summary: KXL -- a visual & sound library Name: %{name} Version: %{version} Release: %{release} Source: %{oname}-%{version}.tar.bz2 Patch: KXL-1.1.6-libname.patch.bz2 License: LGPL Group: System/Libraries URL: http://kxl.hn.org/ BuildRoot: %_tmppath/%{name}-%{version}-root BuildRequires: XFree86-devel %description Kacchan X Windows System Liblary (KXL) is a visual & sound library. %package -n %libname Summary: Shared library for KXL -- a visual & sound library Group: System/Libraries %description -n %libname Kacchan X Windows System Liblary (KXL) is a visual & sound library. This package contains the shared library needed to run applications based on KXL. %package -n %libname-devel Summary: Development files for KXL -- a visual & sound library Group: Development/C Requires: XFree86-devel Requires: %libname = %version-%release Provides: lib%name-devel = %version-%release Provides: lib%name%version-devel = %version-%release Provides: %oname-devel = %version-%release %description -n %libname-devel Kacchan X Windows System Liblary (KXL) is a visual & sound library. This package contains the C headers and libraries needed to compile applications based on KXL. %prep rm -rf ${RPM_BUILD_ROOT} %setup -q -n %oname-%version %patch %build aclocal automake -c -a --foreign autoconf %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files -n %libname %defattr(-,root,root) %doc COPYING ChangeLog README %_libdir/*.so.* %files -n %libname-devel %defattr(-,root,root) %doc docs/* %{_datadir}/aclocal/KXL.m4 %{_includedir}/* %{_libdir}/*a %{_libdir}/*so %changelog * Tue Mar 11 2003 Götz Waschk <waschk@linux-mandrake.com> 1.1.6-3mdk - fix requires and buildrequires * Sun Jan 19 2003 Götz Waschk <waschk@linux-mandrake.com> 1.1.6-2mdk - fix URL - fix license tag, it's LGPL * Sat Jan 18 2003 Götz Waschk <waschk@linux-mandrake.com> 1.1.6-1mdk - initial Mandrake package * Sat Jan 19 2002 SATO Katsuyoshi <fc3srx7@mwnet.or.jp> - (1.1.5-1) - KXL_UpDateRect function was added. - KXL_UpDateImm function was added. - KXL_ClearFrameRect function was added. - KXL_ClearFrameImm function was added. - KXL_CopyImageRect function was added. - KXL_CopyImageImm function was added. - KXL_CopyStretchImageRect function was added. - KXL_CopyStretchImageImm function was added. - KXL_PutImageRect function was added. - KXL_PutImageImm function was added. - KXL_PutStretchImageRect function was added. - KXL_PutStretchImageImm function was added. - Improvement in the speed of various functions. * Sat Dec 8 2001 SATO Katsuyoshi <fc3srx7@mwnet.or.jp> - (1.1.4-1) - The bug in which the expansion image has collapsed was corrected with the KXL_StrechImage function. * Mon Sep 10 2001 SATO Katsuyoshi <fc3srx7@mwnet.or.jp> - (1.1.3-1) - When sound was sounded with single shot, operation corrected the bug which becomes blunt. - Painting-out processing was added to the KXL_DrawPolygon function.