]> git.pld-linux.org Git - packages/fluidsynth.git/blame - fluidsynth.spec
- Up to 1.1.1
[packages/fluidsynth.git] / fluidsynth.spec
CommitLineData
5fadb22d 1#
2# Conditional build:
9e796385 3%bcond_with ladcca # enable ladcca sesion managment support
ecf407a5 4%bcond_with readline # build with readline lib line editing
9e796385
KK
5%bcond_with sse # use the SSE instructions of Pentium3+ or Athlon XP
6%bcond_without static_libs # don't build static library
5fadb22d 7#
7e677f47 8%ifarch pentium3 pentium4 %{x8664}
13cb656b
PS
9%define with_sse 1
10%endif
11#
a02834be 12Summary: FluidSynth - a software, real-time synthesizer
c832e2f0 13Summary(pl.UTF-8): FluidSynth - programowy syntezator działający w czasie rzeczywistym
43d51d96 14Name: fluidsynth
e40f3811
CM
15Version: 1.1.1
16Release: 1
621b72c0 17License: LGPL
43d51d96 18Group: Applications/Sound
ee3a7532 19Source0: http://savannah.nongnu.org/download/fluid/%{name}-%{version}.tar.gz
e40f3811 20# Source0-md5: 0db3da78028d255026230809c6e21b44
43d51d96 21URL: http://www.fluidsynth.org/
22BuildRequires: alsa-lib-devel >= 0.9.0
9e796385 23BuildRequires: autoconf >= 2.52
4737413f 24BuildRequires: automake
43d51d96 25BuildRequires: jack-audio-connection-kit-devel
ae169360 26%{?with_ladcca:BuildRequires: ladcca-devel < 0.4.0}
fde40a28 27%{?with_ladcca:BuildRequires: ladcca-devel >= 0.3.1}
f9c8cc03 28BuildRequires: ladspa-devel
9e796385 29BuildRequires: libtool
4737413f 30BuildRequires: pkgconfig
ecf407a5 31%{?with_readline:BuildRequires: readline-devel}
7e677f47 32BuildRequires: rpmbuild(macros) >= 1.213
43d51d96 33Requires: alsa-lib
cbc84b11 34Suggests: soundfont-fluid
43d51d96 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38Fluid Synth is a software, real-time synthesizer based on the
39Soundfont 2 specifications.
40
b01c0090
JR
41%description -l pl.UTF-8
42Fluid Synth to programowy, działający w czasie rzeczywistym syntezator
51d3a7f0 43oparty na specyfikacji Soundfont 2.
43d51d96 44
45%package devel
46Summary: Development files for the FluidSynth
c832e2f0 47Summary(pl.UTF-8): Pliki nagłówkowe dla FluidSynth
43d51d96 48Group: Development/Libraries
e3ebd3aa 49Requires: %{name} = %{version}-%{release}
ecf407a5 50%{?with_readline:Requires: readline-devel}
43d51d96 51
52%description devel
53This package contains the header files necessary to develop
51d3a7f0 54applications using FluidSynth.
43d51d96 55
b01c0090
JR
56%description devel -l pl.UTF-8
57Pakiet ten zawiera pliki nagłówkowe potrzebne do tworzenia i
58kompilacji aplikacji korzystających z bibliotek FluidSynth.
43d51d96 59
5fadb22d 60%package static
7cab7902 61Summary: Static FluidSynth library
c832e2f0 62Summary(pl.UTF-8): Statyczna wersje biblioteki FluidSynth
7cab7902 63Group: Development/Libraries
e3ebd3aa 64Requires: %{name}-devel = %{version}-%{release}
5fadb22d 65
66%description static
51d3a7f0 67This package contains static version of the FluidSynth library.
5fadb22d 68
b01c0090
JR
69%description static -l pl.UTF-8
70Ten pakiet zawiera bibliotekę statyczną FluidSynth.
5fadb22d 71
43d51d96 72%prep
0afc704e 73%setup -q
43d51d96 74
75%build
9e796385
KK
76%{__libtoolize}
77%{__aclocal}
78%{__autoconf}
79%{__autoheader}
80%{__automake}
5b109aa3 81
43d51d96 82%configure \
ae169360 83 %{!?with_ladcca:--disable-ladcca} \
9e796385 84 %{!?with_static_libs:--disable-static} \
810405f4 85 %{?with_sse:--enable-SSE} \
5fadb22d 86 --enable-coreaudio \
810405f4 87 --enable-jack-support \
88 --enable-ladspa \
9e796385 89 --enable-profiling \
ecf407a5 90 %{!?with_readline:--without-readline}
fde40a28 91
43d51d96 92%{__make}
93
94%install
95rm -rf $RPM_BUILD_ROOT
96install -d $RPM_BUILD_ROOT
97
9b5cb572
PG
98%{__make} install \
99 DESTDIR=$RPM_BUILD_ROOT
43d51d96 100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
51d3a7f0
JB
104%post -p /sbin/ldconfig
105%postun -p /sbin/ldconfig
106
43d51d96 107%files
108%defattr(644,root,root,755)
109%doc ChangeLog README
9e796385
KK
110%attr(755,root,root) %{_bindir}/fluidsynth
111%attr(755,root,root) %{_libdir}/libfluidsynth.so.*.*.*
112%attr(755,root,root) %ghost %{_libdir}/libfluidsynth.so.1
113%{_mandir}/man1/fluidsynth.1*
5fadb22d 114
115%files devel
43d51d96 116%defattr(644,root,root,755)
9e796385
KK
117%attr(755,root,root) %{_libdir}/libfluidsynth.so
118%{_libdir}/libfluidsynth.la
119%{_includedir}/fluidsynth.h
51d3a7f0 120%{_includedir}/%{name}
fde40a28 121%{_pkgconfigdir}/fluidsynth.pc
5fadb22d 122
9e796385 123%if %{with static_libs}
5fadb22d 124%files static
51d3a7f0 125%defattr(644,root,root,755)
9e796385
KK
126%{_libdir}/libfluidsynth.a
127%endif
This page took 0.100551 seconds and 4 git commands to generate.