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