]> git.pld-linux.org Git - packages/fluidsynth.git/blob - fluidsynth.spec
- updated to new version
[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.2
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:  9765e1601ba0fc546f5bf2e0d966784b
14 URL:            http://www.fluidsynth.org/
15 BuildRequires:  alsa-lib-devel >= 0.9.0
16 BuildRequires:  jack-audio-connection-kit-devel
17 Requires:       alsa-lib
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Fluid Synth is a software, real-time synthesizer based on the
22 Soundfont 2 specifications.
23
24 %description -l pl
25 Fluid Synth to programowy, dzia³aj±cy w czasie rzeczywistym syntezator
26 oparty na specyfikacji Soundfont 2.
27
28 %package devel
29 Summary:        Development files for the FluidSynth
30 Summary(pl):    Pliki nag³ówkowe dla FluidSynth
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}
33
34 %description devel
35 This package contains the header files necessary to develop
36 applications using FluidSynth.
37
38 %description devel -l pl
39 Pakiet tem zawiera pliki nag³ówkowe potrzebne do tworzenia i
40 kompilacji aplikacji korzystaj±cych z bibliotek FluidSynth.
41
42 %package static
43 Summary:        Static FluidSynth library
44 Summary(pl):    Statyczna wersje biblioteki FluidSynth
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 This package contains static version of the FluidSynth library.
50
51 %description static -l pl
52 Ten pakiet zawiera bibliotekê statyczn± 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 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc ChangeLog README
81 %{_mandir}/man1/*
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib%{name}.so
88 %attr(755,root,root) %{_libdir}/lib%{name}.la
89 %{_includedir}/%{name}.h
90 %{_includedir}/%{name}
91 %{_libdir}/pkgconfig/fluidsynth.pc
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/lib%{name}.a
This page took 0.058833 seconds and 4 git commands to generate.