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