Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > e87f2cc6cb3aa00081f5908773680d21 > files > 14

hydrogen-drumkits-0.9.3-5.mga7.src.rpm

Name:		hydrogen-drumkits
Version:	0.9.3
Release:	%mkrel 5
Summary:	Additional DrumKits for Hydrogen
License:	GPLv2+ and GPLv3 and Green OpenMusic
Group:		Sound/Utilities
URL:		http://www.hydrogen-music.org
Source0:	http://downloads.sourceforge.net/hydrogen/Classic-626.h2drumkit
Source1:	http://downloads.sourceforge.net/hydrogen/Classic-808.h2drumkit
Source2:	http://downloads.sourceforge.net/hydrogen/ColomboAcousticDrumkit.h2drumkit
Source3:	http://downloads.sourceforge.net/hydrogen/ElectricEmpireKit.h2drumkit
Source4:	http://downloads.sourceforge.net/hydrogen/HardElectro1.h2drumkit
Source5:	http://downloads.sourceforge.net/hydrogen/K-27_Trash_Kit.h2drumkit
Source6:	http://downloads.sourceforge.net/hydrogen/Millo-Drums_v.1.h2drumkit
Source7:	http://downloads.sourceforge.net/hydrogen/Millo_MultiLayered2.h2drumkit
Source8:	http://downloads.sourceforge.net/hydrogen/Millo_MultiLayered3.h2drumkit
Source9:	http://downloads.sourceforge.net/hydrogen/VariBreaks.h2drumkit

# URL: http://pkgs.fedoraproject.org/repo/pkgs/hydrogen-drumkits/asma_davul.tar.gz/88196a71b20a656e97e70071569dd82f/
Source10:	http://www.ardaeden.net/asma_davul/files/asma_davul.tar.gz

# get-kits downloads the drumkits above from the urls in the drumkit_urls.txt file for convenience
Source11:	drumkit_urls.txt
Source12:	get-kits

BuildArch: noarch

Requires: hydrogen >= 0.9.3

%description
A collection of additional drumkits for the 
Hydrogen advanced drum machine for GNU/Linux.

%prep
%setup -q -c -n %{name} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10
# Rename the doc files to avoid confusion:
for licencedir in Classic-626 Classic-808 \
    ElectricEmpireKit HardElectro1 Millo-Drums_v.1 \
    Millo_MultiLayered2 Millo_MultiLayered3 ; do
  mv $licencedir/LICENCE LICENCE.$licencedir
done

mv asma_davul/GPLv.3 license.asma_davul

mv ColomboAcousticDrumkit/COPYING COPYING.ColomboAcousticDrumkit
mv ColomboAcousticDrumkit/README README.ColomboAcousticDrumkit
iconv -f iso-8859-1 -t utf8 README.ColomboAcousticDrumkit -o README.tmp
touch -r README.ColomboAcousticDrumkit README.tmp
mv -f README.tmp README.ColomboAcousticDrumkit

mv K-27_Trash_Kit/license.html license.K-27_Trash_Kit.html

# The demo songs need to be separated from drumkits:
find . -name *.h2song -exec mv {} . \;

%build
echo "Nothing to build."

%install

# These directories are owned by hydrogen:
install -dm 0755 %{buildroot}%{_datadir}/hydrogen/data/drumkits
install -dm 0755 %{buildroot}%{_datadir}/hydrogen/data/demo_songs

# Now copy everything into the buildroot
for drumkitdir in asma_davul Classic-626 Classic-808 \
ColomboAcousticDrumkit ElectricEmpireKit \
HardElectro1 K-27_Trash_Kit \
Millo-Drums_v.1 Millo_MultiLayered2 \
Millo_MultiLayered3 VariBreaks ; do
  cp -a $drumkitdir  %{buildroot}%{_datadir}/hydrogen/data/drumkits
done

find . -name *.h2song -exec cp -a {} %{buildroot}%{_datadir}/hydrogen/data/demo_songs \;

%files
%doc COPYING.* LICENCE.* license.* README.*
%{_datadir}/hydrogen/data/demo_songs/*
%{_datadir}/hydrogen/data/drumkits/* 


%changelog
* Tue Sep 18 2018 umeabot <umeabot> 0.9.3-5.mga7
  (not released yet)
+ Revision: 1262216
- Mageia 7 Mass Rebuild

* Sat Feb 06 2016 umeabot <umeabot> 0.9.3-4.mga6
+ Revision: 941502
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 0.9.3-3.mga5
+ Revision: 750560
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.9.3-2.mga5
+ Revision: 680336
- Mageia 5 Mass Rebuild

* Sat May 03 2014 barjac <barjac> 0.9.3-1.mga5
+ Revision: 619869
- import hydrogen-drumkits with thanks to Fedora for original spec