hydrogen-drumkits-0.9.3.20091026-1kkr2010.0.spec
%define name hydrogen-drumkits
%define debversion 0.9.3.20070703
%define version 0.9.3.20091026
%define release %mkrel 1
Summary: Extra drum kits for the Hydrogen drum machine
Name: %{name}
Version: %{version}
Release: %{release}
License: GPLv2+
Group: Sound
URL: http://www.hydrogen-music.org
Source0: http://ftp.de.debian.org/debian/pool/main/h/hydrogen-drumkits/%{name}_%{debversion}.orig.tar.gz
Source1: %{name}-%{debversion}-%{version}.tar.xz
Source2: Makefile.hydrogen-drumkits
BuildRoot: %_tmppath/%{name}-buildroot
BuildArch: noarch
%description
Hydrogen is an advanced drum machine for GNU/Linux. It's main goal is to bring
professional yet simple and intuitive pattern-based drum programming.
%prep
%setup -q -n %{name}-%{debversion} -a 1
install -m 644 %{SOURCE2} ./Makefile
perl -pi -e 's,KITS_DIR=.*,KITS_DIR=%{buildroot}%{_datadir}/hydrogen/data/drumkits,g' ./Makefile
perl -pi -e 's,SONG_DIR=.*,SONG_DIR=%{buildroot}%{_datadir}/hydrogen/data/demo_songs,g' ./Makefile
%build
%install
%__rm -rf %{buildroot}
make unpack
chmod 0755 %{buildroot}%{_datadir}/hydrogen/data/drumkits/*
%{__rm} %{buildroot}%{_datadir}/hydrogen/data/drumkits/._BJA_Pacific
%clean
%__rm -rf %buildroot
%files
%defattr(-,root,root)
%{_datadir}/hydrogen/data/drumkits/*
%{_datadir}/hydrogen/data/demo_songs/*
%changelog
* Thu Feb 18 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.3.20091026-1kkr2010.0
- new version
* Tue May 26 2009 kakurasan <kakurasan AT hmail DOT com> 0.9.3.20080907-1kkr2009.1
- new version
- BuildArch: noarch
* Thu Jul 24 2008 Thierry Vignaud <tvignaud AT mandriva DOT com> 0.9.3.20070703-3mdv2009.0
+ Revision: 247130
- rebuild
- kill re-definition of %%buildroot on Pixel's request
+ Olivier Blin <oblin AT mandriva DOT com>
- restore BuildRoot
* Wed Oct 17 2007 Adam Williamson <awilliamson AT mandriva DOT com> 0.9.3.20070703-1mdv2008.1
+ Revision: 99479
- import hydrogen-drumkits