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