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

Last change on this file since 1687 was 1682, checked in by tellie, 6 years ago

spec: fluidsynth: Release version 2.1.0-1.

File size: 4.2 KB
Line 
1Summary: Real-time software synthesizer
2Name: fluidsynth
3Version: 2.1.0
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# Re-fix multi-lib conflict RHBZ#528240
13#Patch0: fluidsynth-no_date_footer.patch
14
15BuildRequires: libogg-devel
16BuildRequires: flac-devel
17BuildRequires: libvorbis-devel
18#BuildRequires: alsa-lib-devel
19BuildRequires: cmake
20#BuildRequires: dbus-devel
21BuildRequires: gcc
22#%if !0%{?flatpak}
23#BuildRequires: jack-audio-connection-kit-devel
24#%endif
25#BuildRequires: ladspa-devel
26BuildRequires: libsndfile-devel
27BuildRequires: ncurses-devel
28BuildRequires: pkgconfig
29# Disabled for now:
30# http://sourceforge.net/apps/trac/fluidsynth/ticket/51
31# To enable portaudio support one also has to pass
32# -Denable-portaudio=on to cmake
33# BuildRequires: portaudio-devel
34#BuildRequires: pulseaudio-libs-devel
35BuildRequires: readline-devel
36
37# For documentation:
38BuildRequires: doxygen
39
40%description
41FluidSynth is a real-time software synthesizer based on the SoundFont 2
42specifications. It is a "software synthesizer". FluidSynth can read MIDI events
43from the MIDI input device and render them to the audio device. It features
44real-time effect modulation using SoundFont 2.01 modulators, and a built-in
45command line shell. It can also play MIDI files (note: FluidSynth was previously
46called IIWU Synth).
47
48%package libs
49Summary: Real-time software synthesizer run-time libraries
50
51%description libs
52FluidSynth is a real-time software synthesizer based on the SoundFont 2
53specifications. It is a "software synthesizer". This package holds the run-time
54shared libraries.
55
56%package devel
57Summary: Real-time software synthesizer development files
58Requires: fluidsynth-libs%{?_isa} = %{version}-%{release}
59
60%description devel
61FluidSynth is a real-time software synthesizer based on the SoundFont 2
62specifications. It is a "software synthesizer". This package holds header files
63for building programs that link against fluidsynth.
64
65%debug_package
66
67%prep
68#%setup -q
69#%patch0 -p1 -b .no.date
70%scm_setup
71
72%build
73export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
74export LIBS="-lcx"
75mkdir -p build
76cd build
77
78#%if 0%{?flatpak}
79#%define enable_jack off
80#%else
81#%define enable_jack on
82#%endif
83
84#%{cmake} -Denable-ladspa=on -Denable-jack=%{enable_jack} ..
85%{cmake} ..
86#popd
87cd ..
88
89# build fluidsynth
90make %{?_smp_mflags} -C build
91
92# build docs
93doxygen ./doc
94
95%install
96make DESTDIR=$RPM_BUILD_ROOT -C build install
97install -p -m0755 build/src/fluidsy2.dll $RPM_BUILD_ROOT/%{_libdir}
98
99%files
100%{_bindir}/fluid*
101%{_mandir}/man1/fluidsynth*
102%exclude %{_bindir}/fluidsy2.dll
103%exclude %{_bindir}/fluidsynth.dbg
104%exclude %{_bindir}/fluidsy2.dbg
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* Fri Dec 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.1.0-1
124- Updated to latest source
125
126* Mon Nov 18 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.9-1
127- Updated to latest source
128
129* Mon Oct 28 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.8-1
130- Updated to latest source
131
132* Thu Oct 03 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.7-1
133- Updated to latest source
134
135* Mon Aug 26 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.6-1
136- Updated to latest source
137
138* Mon May 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-2
139- The right version ported
140
141* Sun May 05 2019 Elbert Pol <elbert.pol@gmail.com> - 2.0.5-1
142- Updated to latest source
143
144* Mon Mar 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3.2-2
145- Use spec file from fedora
146- Add debug to specfile
147
148* Thu Feb 28 2019 Elbert Pol <elbert.pol@gmail.com>
149- First OS2 RPM release
150- OS/2 port done by KO Myung-Hun
151- https://github.com/komh/fluidsynth-os2 KO Myung-Hun
Note: See TracBrowser for help on using the repository browser.