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