!1 add fluidsynth

Merge pull request !1 from sigui/sgs-own
This commit is contained in:
openeuler-ci-bot 2019-12-05 16:53:58 +08:00 committed by Gitee
commit 39ae89018e
3 changed files with 101 additions and 0 deletions

BIN
fluidsynth-1.1.11.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,34 @@
diff -rupN fluidsynth-1.1.9.org/doc/Doxyfile fluidsynth-1.1.9/doc/Doxyfile
--- fluidsynth-1.1.9.org/doc/Doxyfile 2018-01-02 10:14:56.000000000 -0500
+++ fluidsynth-1.1.9/doc/Doxyfile 2018-01-06 18:01:17.505234645 -0500
@@ -121,7 +121,7 @@ GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
-HTML_FOOTER =
+HTML_FOOTER = no_date_footer.html
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
diff -rupN fluidsynth-1.1.9.org/doc/Doxyfile.cmake fluidsynth-1.1.9/doc/Doxyfile.cmake
--- fluidsynth-1.1.9.org/doc/Doxyfile.cmake 2018-01-02 10:14:56.000000000 -0500
+++ fluidsynth-1.1.9/doc/Doxyfile.cmake 2018-01-06 18:01:54.625555496 -0500
@@ -121,7 +121,7 @@ GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
-HTML_FOOTER =
+HTML_FOOTER = @CMAKE_SOURCE_DIR@/doc/no_date_footer.html
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
diff -rupN fluidsynth-1.1.9.org/doc/no_date_footer.html fluidsynth-1.1.9/doc/no_date_footer.html
--- fluidsynth-1.1.9.org/doc/no_date_footer.html 1969-12-31 19:00:00.000000000 -0500
+++ fluidsynth-1.1.9/doc/no_date_footer.html 2018-01-06 18:02:46.340762582 -0500
@@ -0,0 +1,6 @@
+<hr size="1"><address style="text-align: right;"><small>
+Generated for $projectname by <a href="http://www.doxygen.org/
+index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
+$doxygenversion</small></address>
+</body>
+</html>

67
fluidsynth.spec Normal file
View File

@ -0,0 +1,67 @@
Name: fluidsynth
Version: 1.1.11
Release: 3
Summary: Real-time software synthesizer
License: LGPLv2+
URL: http://www.fluidsynth.org/
Source0: https://github.com/Fluidsynth/fluidsynth/archive/v%{version}/fluidsynth-%{version}.tar.gz
Patch0000: fluidsynth-no_date_footer.patch
BuildRequires: alsa-lib-devel cmake dbus-devel gcc jack-audio-connection-kit-devel readline-devel
BuildRequires: ladspa-devel ncurses-devel libsndfile-devel pkgconfig pulseaudio-libs-devel doxygen
Provides: fluidsynth-libs = %{version}-%{release}
Obsoletes: fluidsynth-libs < %{version}-%{release}
%description
FluidSynth is a free software synthesizer. Its currently based on the SoundFont
2 specifications and supports real time MIDI effect controls. It can be used as a
shared library for embedding in other applications, can play MIDI files and has
a command line shell. Many other applications use FluidSynth for audio synthesis.
%package devel
Summary: Provides development package for fluidsynth
Requires: fluidsynth-libs = %{version}-%{release}
%description devel
This package holds header files for building programs that link against fluidsynth.
%package help
Summary: Provides man-pages for fluidsynth
%description help
This package holds help documents for fluidsynth
%prep
%autosetup -n %{name}-%{version} -p1
%build
mkdir -p %{_target_platform}
cd %{_target_platform}
%{cmake} -Denable-ladspa=on ..
cd ..
%make_build -C %{_target_platform}
make doxygen -C %{_target_platform}/doc
%install
%make_install -C %{_target_platform}
%files
%{_bindir}/fluid*
%doc AUTHORS LICENSE
%{_libdir}/libfluidsynth.so.1*
%files devel
%doc %{_target_platform}/doc/api/html doc/*.c doc/*fluid*.txt doc/*.odt ChangeLog
%{_includedir}/fluidsynth.h
%{_includedir}/fluidsynth/
%{_libdir}/libfluidsynth.so
%{_libdir}/pkgconfig/*
%files help
%{_mandir}/man1/fluidsynth*
%doc NEWS README.md THANKS TODO doc/FluidSynth-LADSPA.pdf
%changelog
* Fri Nov 22 2019 sunguoshuai <sunguoshuai@huawei.com> - 1.1.11-3
- Package init.