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
RevLine 
[1617]1Summary: Real-time software synthesizer
2Name: fluidsynth
[1791]3Version: 2.2.3
[1668]4Release: 1%{?dist}
[1617]5URL: http://www.fluidsynth.org/
[1715]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
[1617]11License: LGPLv2+
12Requires: fluidsynth-libs%{?_isa} = %{version}-%{release}
[1601]13
[1711]14%if !0%{?os2_version}
[1617]15# Re-fix multi-lib conflict RHBZ#528240
[1711]16Patch0: fluidsynth-no_date_footer.patch
17%endif
[1606]18
[1617]19BuildRequires: libogg-devel
20BuildRequires: flac-devel
21BuildRequires: libvorbis-devel
22BuildRequires: cmake
23BuildRequires: gcc
[1631]24BuildRequires: libsndfile-devel
[1617]25BuildRequires: ncurses-devel
26BuildRequires: pkgconfig
[1711]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
[1617]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
[1601]46%description
[1617]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).
[1601]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
[1617]63Summary: Real-time software synthesizer development files
64Requires: fluidsynth-libs%{?_isa} = %{version}-%{release}
[1601]65
66%description devel
[1617]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.
[1601]70
[1711]71%debug_package
72
[1601]73%prep
74%scm_setup
75
76%build
[1768]77export CFLAGS="-idirafter /@unixroot/usr/include/os2tk45"
[1601]78export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
79export LIBS="-lcx"
[1617]80mkdir -p build
81cd build
[1601]82
[1617]83#%if 0%{?flatpak}
84#%define enable_jack off
85#%else
86#%define enable_jack on
87#%endif
[1601]88
[1711]89%if !0%{?os2_version}
90%{cmake} -Denable-ladspa=on -Denable-jack=%{enable_jack} ..
91%endif
[1617]92%{cmake} ..
93cd ..
94
95# build fluidsynth
96make %{?_smp_mflags} -C build
97
98# build docs
99doxygen ./doc
100
[1601]101%install
[1617]102make DESTDIR=$RPM_BUILD_ROOT -C build install
103install -p -m0755 build/src/fluidsy2.dll $RPM_BUILD_ROOT/%{_libdir}
[1601]104
105%files
[1708]106%{_bindir}/fluid*.exe
[1617]107%{_mandir}/man1/fluidsynth*
[1601]108
109%files libs
110%license LICENSE
[1682]111%doc AUTHORS README.md THANKS TODO doc/*.pdf
[1601]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
[1617]119%doc ChangeLog
[1601]120%{_includedir}/fluidsynth.h
121%{_includedir}/fluidsynth/
[1617]122%{_libdir}/*.a
[1601]123%{_libdir}/pkgconfig/*
124
[1631]125%changelog
[1791]126* Sat Sep 18 2021 Elbert Pol <elbert.pol@gmail.com> - 2.2.3-1
127- Updated to latest version
128
[1774]129* Sun May 23 2021 Elbert Pol <elbert.pol@gmail.com> - 2.2.1-1
130- Update to latest version
131
[1750]132* Sun Jan 24 2021 Elbert Pol <elbert.pol@gmail.com> - 2.1.6-1
133- Update to latest version
134
[1711]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
[1708]145* Sun May 03 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.2-1
146- Updated to latest source
147
[1695]148* Mon Mar 02 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.1-1
149- Updated to latest source
150
[1682]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
[1677]157* Mon Oct 28 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.8-1
158- Updated to latest source
159
[1668]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
[1632]166* Mon May 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-2
167- The right version ported
168
[1631]169* Sun May 05 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-1
170- Updated to latest source
[1617]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
[1606]175
[1601]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.