source: spec/trunk/SPECS/fluidsynth.spec@ 1711

Last change on this file since 1711 was 1711, checked in by tellie, 5 years ago

spec: speexdsp: Release version 1.2.0-1.

File size: 4.6 KB
Line 
1Summary: Real-time software synthesizer
2Name: fluidsynth
3Version: 2.1.5
4Release: 1%{?dist}
5URL: http://www.fluidsynth.org/
6#Source0: https://github.com/Fluidsynth/fluidsynth/archive/v%{version}/fluidsynth-%{version}.tar.gz
7License: LGPLv2+
8Requires: fluidsynth-libs%{?_isa} = %{version}-%{release}
9
10%scm_source github http://github.com/komh/fluidsynth-os2 master
11
12%if !0%{?os2_version}
13# Re-fix multi-lib conflict RHBZ#528240
14Patch0: fluidsynth-no_date_footer.patch
15%endif
16
17BuildRequires: libogg-devel
18BuildRequires: flac-devel
19BuildRequires: libvorbis-devel
20BuildRequires: cmake
21BuildRequires: gcc
22BuildRequires: libsndfile-devel
23BuildRequires: ncurses-devel
24BuildRequires: pkgconfig
25BuildRequires: readline-devel
26
27%if !0%{?os2_version}
28BuildRequires: jack-audio-connection-kit-devel
29BuildRequires: ladspa-devel
30BuildRequires: alsa-lib-devel
31BuildRequires: dbus-devel
32BuildRequires: pulseaudio-libs-devel
33BuildRequires: portaudio-devel
34%endif
35
36# Disabled for now:
37# http://sourceforge.net/apps/trac/fluidsynth/ticket/51
38# To enable portaudio support one also has to pass
39# -Denable-portaudio=on to cmake
40
41# For documentation:
42BuildRequires: doxygen
43
44%description
45FluidSynth is a real-time software synthesizer based on the SoundFont 2
46specifications. It is a "software synthesizer". FluidSynth can read MIDI events
47from the MIDI input device and render them to the audio device. It features
48real-time effect modulation using SoundFont 2.01 modulators, and a built-in
49command line shell. It can also play MIDI files (note: FluidSynth was previously
50called IIWU Synth).
51
52%package libs
53Summary: Real-time software synthesizer run-time libraries
54
55%description libs
56FluidSynth is a real-time software synthesizer based on the SoundFont 2
57specifications. It is a "software synthesizer". This package holds the run-time
58shared libraries.
59
60%package devel
61Summary: Real-time software synthesizer development files
62Requires: fluidsynth-libs%{?_isa} = %{version}-%{release}
63
64%description devel
65FluidSynth is a real-time software synthesizer based on the SoundFont 2
66specifications. It is a "software synthesizer". This package holds header files
67for building programs that link against fluidsynth.
68
69%debug_package
70
71%prep
72%scm_setup
73
74%build
75export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
76export LIBS="-lcx"
77mkdir -p build
78cd build
79
80#%if 0%{?flatpak}
81#%define enable_jack off
82#%else
83#%define enable_jack on
84#%endif
85
86%if !0%{?os2_version}
87%{cmake} -Denable-ladspa=on -Denable-jack=%{enable_jack} ..
88%endif
89%{cmake} ..
90cd ..
91
92# build fluidsynth
93make %{?_smp_mflags} -C build
94
95# build docs
96doxygen ./doc
97
98%install
99make DESTDIR=$RPM_BUILD_ROOT -C build install
100install -p -m0755 build/src/fluidsy2.dll $RPM_BUILD_ROOT/%{_libdir}
101
102%files
103%{_bindir}/fluid*.exe
104%{_mandir}/man1/fluidsynth*
105
106%files libs
107%license LICENSE
108%doc AUTHORS README.md THANKS TODO doc/*.pdf
109%{_libdir}/fluidsy2.dll
110
111%files devel
112%doc html/*.html
113%doc doc/*.c
114%doc doc/*fluid*.txt
115%doc doc/*.odt
116%doc ChangeLog
117%{_includedir}/fluidsynth.h
118%{_includedir}/fluidsynth/
119%{_libdir}/*.a
120%{_libdir}/pkgconfig/*
121
122%changelog
123* Tue Sep 22 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.5-1
124- Update to latest version
125- Add debug package
126
127* Mon Jul 20 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.4-1
128- Updated to latest source
129
130* Tue Jun 16 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.3-1
131- Updated to latest source
132
133* Sun May 03 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.2-1
134- Updated to latest source
135
136* Mon Mar 02 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.1-1
137- Updated to latest source
138
139* Fri Dec 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.1.0-1
140- Updated to latest source
141
142* Mon Nov 18 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.9-1
143- Updated to latest source
144
145* Mon Oct 28 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.8-1
146- Updated to latest source
147
148* Thu Oct 03 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.7-1
149- Updated to latest source
150
151* Mon Aug 26 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.6-1
152- Updated to latest source
153
154* Mon May 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-2
155- The right version ported
156
157* Sun May 05 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-1
158- Updated to latest source
159
160* Mon Mar 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3.2-2
161- Use spec file from fedora
162- Add debug to specfile
163
164* Thu Feb 28 2019 Elbert Pol <elbert.pol@gmail.com>
165- First OS2 RPM release
166- OS/2 port done by KO Myung-Hun
167- https://github.com/komh/fluidsynth-os2 KO Myung-Hun
Note: See TracBrowser for help on using the repository browser.