]> git.pld-linux.org Git - packages/fluidsynth.git/blob - fluidsynth.spec
- added bcond _with_sse
[packages/fluidsynth.git] / fluidsynth.spec
1 #
2 # Conditional build:
3 # _with_sse     -Use the SSE instructions of Pentium3+
4 #
5 Summary:        FluidSynth is a software, real-time synthesizer
6 Summary(pl):    FluidSynth to programowy , czasu rzeczywistego syntezator
7 Name:           fluidsynth
8 Version:        1.0.1
9 Release:        1
10 License:        GPL
11 Group:          Applications/Sound
12 Source0:        http://savannah.nongnu.org/download/fluid/stable.pkg/%{version}/%{name}-%{version}.tar.gz
13 URL:            http://www.fluidsynth.org/
14 BuildRequires:  alsa-lib-devel >= 0.9.0
15 BuildRequires:  jack-audio-connection-kit-devel
16 Requires:       alsa-lib
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Fluid Synth is a software, real-time synthesizer based on the
21 Soundfont 2 specifications.
22
23 %description -l pl
24 Fluid Synth to programowy, czasu rzeczywistego syntezator bazuj±cy na
25 specyfikacji Soundfont 2
26
27 %package devel
28 Summary:        Development files for the FluidSynth
29 Summary(pl):    Pliki nag³ówkowe dla FluidSynth
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 This package contains the header files necessary to develop
35 applications using FluidSynth - header files.
36
37 %description devel -l pl
38 Pakiet tem zawiera pliki nag³ówkowe potrzebne do tworzenia i
39 kompilacji aplikacji korzystaj±cych z bibliotek FluidSynth.
40
41
42 %package static
43 Summary:        Static libraries for the FluidSynth
44 Summary(pl):    Statyczne wersje bibliotek z FluidSynth
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 This package contains static libraries for the FluidSynth library.
50
51 %description static -l pl
52 Ten pakiet zawiera biblioteki statyczne dla FluidSynth
53
54 %prep
55 %setup -q
56
57 %build
58 %configure \
59         --enable-ladspa \
60         --enable-midishare \
61         --enable-jack-support \
62         --enable-coreaudio \
63         %{?_with_sse:--enable-SSE}
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT
69
70 %{__make} install DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc ChangeLog README
78 %{_mandir}/man1/*
79 %attr(755,root,root) %{_bindir}/*
80 %attr(755,root,root) %{_libdir}/lib%{name}.so.1*
81
82 %files devel
83 %attr(755,root,root) %{_libdir}/lib%{name}.la
84 %{_libdir}/lib%{name}.a
85 %{_libdir}/pkgconfig/fluidsynth.pc
86 %defattr(644,root,root,755)
87 %{_includedir}/%{name}.h
88 %dir %{_includedir}/%{name}
89 %{_includedir}/%{name}/*.h
90
91 %files static
92 %{_libdir}/lib%{name}.a
This page took 0.038402 seconds and 4 git commands to generate.