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