/[packages]/cauldron/fluidsynth/current/SPECS/fluidsynth.spec
ViewVC logotype

Contents of /cauldron/fluidsynth/current/SPECS/fluidsynth.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2000223 - (show annotations) (download)
Sun Oct 22 17:00:07 2023 UTC (2 months ago) by daviddavid
File size: 2304 byte(s)
- new version: 2.3.4

1 %define major 3
2 %define libname %mklibname %{name} %{major}
3 %define libnamedev %mklibname %{name} -d
4
5 Name: fluidsynth
6 Version: 2.3.4
7 Release: %mkrel 1
8 Summary: Realtime, SoundFont-based synthesizer
9 License: LGPL-2.1-or-later
10 Group: Sound/Midi
11 URL: https://www.fluidsynth.org/
12 Source0: https://github.com/FluidSynth/fluidsynth/archive/v%{version}/%{name}-%{version}.tar.gz
13 BuildRequires: cmake
14 BuildRequires: ladspa-devel
15 BuildRequires: pkgconfig(alsa) >= 0.9.1
16 BuildRequires: pkgconfig(dbus-1) >= 1.0.0
17 BuildRequires: pkgconfig(glib-2.0) >= 2.6.5
18 BuildRequires: pkgconfig(gthread-2.0) >= 2.6.5
19 BuildRequires: pkgconfig(jack)
20 BuildRequires: pkgconfig(libpulse-simple) >= 0.9.8
21 BuildRequires: pkgconfig(libpipewire-0.3)
22 BuildRequires: pkgconfig(libinstpatch-1.0)
23 BuildRequires: pkgconfig(portaudio-2.0) >= 19
24 BuildRequires: pkgconfig(readline)
25 BuildRequires: pkgconfig(sndfile) >= 1.0.0
26
27 %description
28 FluidSynth is a real-time software synthesizer based on the SoundFont 2
29 specifications. It is a "software synthesizer". FluidSynth can read MIDI
30 events from the MIDI input device and render them to the audio device. It
31 can also play MIDI files.
32
33 %package -n %{libname}
34 Summary: Dynamic libraries from %{name}
35 Group: System/Libraries
36
37 %description -n %{libname}
38 Dynamic libraries from %{name}.
39
40 %package -n %{libnamedev}
41 Summary: Header files and libraries from %{name}
42 Group: Development/C
43 Requires: %{libname} = %{version}-%{release}
44 Provides: lib%{name}-devel = %{version}-%{release}
45 Provides: %{name}-devel = %{version}-%{release}
46
47 %description -n %{libnamedev}
48 Libraries and includes files for developing programs based on %{name}.
49
50 %prep
51 %setup -q
52 %autopatch -p1
53
54 %build
55 %cmake \
56 -DLIB_SUFFIX='' \
57 -Denable-lash=0 \
58 -Denable-portaudio=1
59 %cmake_build
60
61 %install
62 %cmake_install
63
64 %files
65 %doc AUTHORS README.md THANKS TODO
66 %license LICENSE
67 %{_bindir}/%{name}
68 %{_mandir}/man1/%{name}.1.*
69
70 %files -n %{libname}
71 %{_libdir}/lib%{name}.so.%{major}{,.*}
72
73 %files -n %{libnamedev}
74 %{_includedir}/*.h
75 %{_includedir}/%{name}/
76 %{_libdir}/lib%{name}.so
77 %{_libdir}/pkgconfig/%{name}.pc
78 %{_libdir}/cmake/fluidsynth/

  ViewVC Help
Powered by ViewVC 1.1.28