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

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

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