source: spec/trunk/SPECS/fluidsynth.spec

Last change on this file was 1791, checked in by tellie, 4 years ago

spec: whois: Release version 5.5.11-1.

File size: 4.9 KB
Line 
1Summary: Real-time software synthesizer
2Name: fluidsynth
3Version: 2.2.3
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 CFLAGS="-idirafter /@unixroot/usr/include/os2tk45"
78export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
79export LIBS="-lcx"
80mkdir -p build
81cd build
82
83#%if 0%{?flatpak}
84#%define enable_jack off
85#%else
86#%define enable_jack on
87#%endif
88
89%if !0%{?os2_version}
90%{cmake} -Denable-ladspa=on -Denable-jack=%{enable_jack} ..
91%endif
92%{cmake} ..
93cd ..
94
95# build fluidsynth
96make %{?_smp_mflags} -C build
97
98# build docs
99doxygen ./doc
100
101%install
102make DESTDIR=$RPM_BUILD_ROOT -C build install
103install -p -m0755 build/src/fluidsy2.dll $RPM_BUILD_ROOT/%{_libdir}
104
105%files
106%{_bindir}/fluid*.exe
107%{_mandir}/man1/fluidsynth*
108
109%files libs
110%license LICENSE
111%doc AUTHORS README.md THANKS TODO doc/*.pdf
112%{_libdir}/fluidsy2.dll
113
114%files devel
115%doc html/*.html
116%doc doc/*.c
117%doc doc/*fluid*.txt
118%doc doc/*.odt
119%doc ChangeLog
120%{_includedir}/fluidsynth.h
121%{_includedir}/fluidsynth/
122%{_libdir}/*.a
123%{_libdir}/pkgconfig/*
124
125%changelog
126* Sat Sep 18 2021 Elbert Pol <elbert.pol@gmail.com> - 2.2.3-1
127- Updated to latest version
128
129* Sun May 23 2021 Elbert Pol <elbert.pol@gmail.com> - 2.2.1-1
130- Update to latest version
131
132* Sun Jan 24 2021 Elbert Pol <elbert.pol@gmail.com> - 2.1.6-1
133- Update to latest version
134
135* Tue Sep 22 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.5-1
136- Update to latest version
137- Add debug package
138
139* Mon Jul 20 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.4-1
140- Updated to latest source
141
142* Tue Jun 16 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.3-1
143- Updated to latest source
144
145* Sun May 03 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.2-1
146- Updated to latest source
147
148* Mon Mar 02 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.1-1
149- Updated to latest source
150
151* Fri Dec 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.1.0-1
152- Updated to latest source
153
154* Mon Nov 18 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.9-1
155- Updated to latest source
156
157* Mon Oct 28 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.8-1
158- Updated to latest source
159
160* Thu Oct 03 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.7-1
161- Updated to latest source
162
163* Mon Aug 26 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.6-1
164- Updated to latest source
165
166* Mon May 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-2
167- The right version ported
168
169* Sun May 05 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-1
170- Updated to latest source
171
172* Mon Mar 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3.2-2
173- Use spec file from fedora
174- Add debug to specfile
175
176* Thu Feb 28 2019 Elbert Pol <elbert.pol@gmail.com>
177- First OS2 RPM release
178- OS/2 port done by KO Myung-Hun
179- https://github.com/komh/fluidsynth-os2 KO Myung-Hun
Note: See TracBrowser for help on using the repository browser.