File aeolus.spec of Package aeolus

#
# spec file for package aeolus (Version 0.6.6)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           aeolus
BuildRequires:  FA_clalsadrv FA_clxclient alsa-devel gcc-c++ jack-devel update-desktop-files xorg-x11-devel
URL:            http://users.skynet.be/solaris/linuxaudio
License:        GNU General Public License (GPL)
Group:          Productivity/Multimedia/Sound/Midi
Autoreqprov:    on
Version:        0.6.6
Release:        21
Summary:        Virtual Pipe Organ
Source:         aeolus-%{version}-1.tar.bz2
Source1:        stops-0.3.0.tar.bz2 
Patch0:         aeolus-makefile.patch
Patch1:         aeolus-default_dir.patch
# Update desktop file when stops version number is changed !!!
Source2:        aeolus.desktop
Source3:        aeolus.png
Requires:       FA_clalsadrv >= 1.1.0, FA_clxclient >= 3.3.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
aeolus is a virtual pipe organ.



Authors:
--------
    Fons Adriaensen <fons.adriaensen@skynet.be>

%prep
%setup -q -n aeolus-%{version} -a 1 
%patch0
%patch1

%build
make SUSE_CXXFLAGS="$RPM_OPT_FLAGS" LIBDIR=%{_lib}

%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_docdir}/%{name}
make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
cp -R stops-* %{buildroot}%{_datadir}/%{name}
install -m 644 README %{buildroot}%{_docdir}/%{name} 
cd %{buildroot}
%suse_update_desktop_file -i %{name} AudioVideo Music
mkdir -p %{buildroot}%{_datadir}/pixmaps
cp %{SOURCE3} %{buildroot}%{_datadir}/pixmaps

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/aeolus
%doc %{_docdir}/%{name}
%if %suse_version > 820
%{_datadir}/applications/*.desktop
%endif
%{_datadir}/pixmaps/*.png
%{_libdir}/*.so
%{_datadir}/%{name}
%{_datadir}/%{name}/*

%changelog -n aeolus
* Tue Dec 05 2006 - mkoenig@suse.de
- adjust BuildRequires [#224413]
* Thu Sep 14 2006 - mkoenig@suse.de
- update to version 0.6.6-1:
  Complete rewrite of the previous official release (0.3.1)
  offering better looks, a more flexible instrument structure,
  and lots of other improvements.
- move stops definitions to /usr/share/aeolus
* Thu May 18 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 19 2005 - pth@suse.de
- Fix *all* coding bugs.
* Tue Oct 18 2005 - pth@suse.de
- Fix coding bugs.
* Tue Apr 05 2005 - pth@suse.de
- Update to 0.3.1 and stops 0.1.1
- Fix minor bugs.
* Thu Sep 16 2004 - mana@suse.de
- Fixed Exec in desktop file
- Copy .aeolusrc to docdir (as aeolusrc)
* Wed Sep 15 2004 - mana@suse.de
- Added icon and desktop file
* Wed Aug 11 2004 - mana@suse.de
- update to version 0.2.1
* Thu Jun 17 2004 - mana@suse.de
- initial package 0.2.0
openSUSE Build Service is sponsored by