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 |
BuildRequires: boost-devel |
21 |
|
22 |
%description |
23 |
A real-time software synthesizer for Linux with many features, |
24 |
including polyphony, multi-timbral and microtonal capabilities. It |
25 |
includes randomness of some parameters,which makes warm sounds, like |
26 |
analogue synthesizers. The program has system/insertion effects, too. |
27 |
|
28 |
%prep |
29 |
%setup -q |
30 |
%patch0 -p0 |
31 |
%patch1 -p0 |
32 |
|
33 |
%build |
34 |
cd src |
35 |
%cmake |
36 |
%make |
37 |
|
38 |
%install |
39 |
rm -rf %{buildroot} |
40 |
pushd src/build |
41 |
%makeinstall_std |
42 |
popd |
43 |
install -d %{buildroot}/%{_datadir}/applications |
44 |
install -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/ |
45 |
install -d %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/ |
46 |
install -m 644 desktop/pink_robot_icon.png %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/ |
47 |
|
48 |
%clean |
49 |
rm -rf %{buildroot} |
50 |
|
51 |
%files |
52 |
%defattr(-,root,root) |
53 |
%{_bindir}/%{name} |
54 |
%{_datadir}/%{name}/ |
55 |
%{_datadir}/applications/%{name}.desktop |
56 |
%{_iconsdir}/*/*/*/*.png |