1 |
#%%define _disable_ld_no_undefined 1 |
2 |
|
3 |
Name: yoshimi |
4 |
Version: 0.060.10 |
5 |
Release: %mkrel 1 |
6 |
Summary: Real-time MIDI software synthesizer |
7 |
License: GPLv2+ |
8 |
Group: Sound |
9 |
URL: http://yoshimi.sourceforge.net/ |
10 |
Source0: http://downloads.sourceforge.net/project/%{name}-%{version}.tar.bz2 |
11 |
Source1: yoshimi.desktop |
12 |
Patch0: yoshimi-0.060.10-fix-str-fmt.patch |
13 |
Patch1: yoshimi-0.060.10-fix-permissions.patch |
14 |
BuildRequires: libalsa-devel |
15 |
BuildRequires: fltk-devel |
16 |
BuildRequires: fftw3-devel |
17 |
BuildRequires: libjack-devel |
18 |
BuildRequires: mxml-devel |
19 |
BuildRequires: cmake |
20 |
|
21 |
%description |
22 |
A real-time software synthesizer for Linux with many features, |
23 |
including polyphony, multi-timbral and microtonal capabilities. It |
24 |
includes randomness of some parameters,which makes warm sounds, like |
25 |
analogue synthesizers. The program has system/insertion effects, too. |
26 |
|
27 |
%prep |
28 |
%setup -q |
29 |
%patch0 -p0 |
30 |
%patch1 -p0 |
31 |
|
32 |
%build |
33 |
cd src |
34 |
%cmake |
35 |
%make |
36 |
|
37 |
%install |
38 |
rm -rf %{buildroot} |
39 |
pushd src/build |
40 |
%makeinstall_std |
41 |
popd |
42 |
install -d %{buildroot}/%{_datadir}/applications |
43 |
install -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/ |
44 |
install -d %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/ |
45 |
install -m 644 desktop/pink_robot_icon.png %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/ |
46 |
|
47 |
%clean |
48 |
rm -rf %{buildroot} |
49 |
|
50 |
%files |
51 |
%defattr(-,root,root) |
52 |
%{_bindir}/%{name} |
53 |
%{_datadir}/%{name}/ |
54 |
%{_datadir}/applications/%{name}.desktop |
55 |
%{_iconsdir}/*/*/*/*.png |