Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 287cf8009c977e0fc17dcd61f2ddcce5 > files > 3

kxl-1.1.7-1mdk.src.rpm

%define oname KXL
%define name kxl
%define version  1.1.7
%define release  %mkrel 1
%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
BuildRequires: autoconf2.5 automake1.4

%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
rm -f configure

%build
aclocal-1.4
automake-1.4 -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
* Mon Jul 25 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.1.7-1mdk
- New release 1.1.7

* Mon Oct 11 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.6-5mdk
- fix buildrequires

* Fri Apr  2 2004 Götz Waschk <waschk@linux-mandrake.com> 1.1.6-4mdk
- rebuild

* 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.