aeolus-0.6.6-3.2kkr2009.0.spec

%define subrel 2
Name:          aeolus
Summary:       Synthesised pipe organ emulator
Version:       0.6.6
Release:       %mkrel 3
License:       GPLv2+
Group:	       System/Libraries 
Source0:       http://www.kokkinizita.net/linuxaudio/downloads/%{name}-%{version}-2.tar.bz2
Source1:       http://www.kokkinizita.net/linuxaudio/downloads/stops-0.3.0.tar.bz2
Patch0:        aeolus-0.6.6-2-fix-install.patch
URL: 	       http://users.skynet.be/solaris/linuxaudio/getit.html
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Obsoletes:     %mklibname %name
BuildRequires: clthreads-devel
BuildRequires: clalsadrv-devel
BuildRequires: clxclient-devel
BuildRequires: libjack-devel

%description
Aeolus is a synthesised (i.e. not sampled) pipe organ emulator that 
should be good enough to make an organist enjoy playing it. It is a 
software synthesiser optimised for this job, with possibly hundreds 
of controls for each stop, that enable the user to "voice" 
his instrument.

Main features of the default instrument: three manuals and one pedal, 
five different temperaments, variable tuning, MIDI control of course, 
stereo, surround or Ambisonics output, flexible audio controls 
including a large church reverb.

Aeolus is not very CPU-hungry, and should run without problems on a 
e.g. a 1GHz, 256Mb machine. 

%files
%defattr(-,root,root)
%config %{_sysconfdir}/%name.conf
%_bindir/aeolus
%_datadir/stops
%_libdir/aeolus_txt.so
%_libdir/aeolus_x11.so
#--------------------------------------------------------------------

%prep
%setup -q -n %name-%version -a1
%patch0 -p0
sed -i -e 's#-O3#%{optflags}#' Makefile
chmod go+r stops-*/*

%build
%make

%install
rm -fr %buildroot
%makeinstall_std

mkdir -p %buildroot%_datadir/stops
cp -fr stops-0.3.0/[^M]* %buildroot%_datadir/stops/

mkdir -p %buildroot%_sysconfdir/
cat > %buildroot%_sysconfdir/%name.conf <<EOF
-S %_datadir/stops
EOF

%clean
rm -fr %buildroot


%changelog
* Wed Jun 17 2009 kakurasan <kakurasan AT gmail DOT com> 0.6.6-3.2kkr2009.0
- fix permission of some .ae0 files
- don't install stops-0.3.0/Makefile

* Sun Dec 21 2008 Funda Wang <fundawang AT mandriva DOT org> 0.6.6-3.1mdv2009.0
+ Revision: 317087
- fix rpm group (bug#46412)

* Sat Sep 13 2008 Funda Wang <fundawang AT mandriva DOT org> 0.6.6-3mdv2009.0
+ Revision: 284529
- Add stops source to fix bug#40543
- new license policy
- spec cleanup

* Thu Jun 19 2008 Thierry Vignaud <tvignaud AT mandriva DOT com> 0.6.6-2mdv2009.0
+ Revision: 226132
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Pixel <pixel AT mandriva DOT com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

  + Olivier Blin <oblin AT mandriva DOT com>
    - restore BuildRoot

* Sun Dec 09 2007 Nicolas L辿cureuil <neoclust AT mandriva DOT org> 0.6.6-1mdv2008.1
+ Revision: 116599
- Add missing BuildRequire
- import aeolus