]> git.pld-linux.org Git - packages/aubio.git/blob - aubio.spec
- NFY
[packages/aubio.git] / aubio.spec
1 # TODO:
2 #       - unpackaged /usr/share/sounds/aubio/woodblock.aiff
3 #       - package python stuff
4 #
5 Summary:        aubio is a library for audio labelling
6 Name:           aubio
7 Version:        0.3.2
8 Release:        0.1
9 License:        GPL v2+
10 Group:          Libraries
11 Source0:        http://aubio.piem.org/pub/%{name}-%{version}.tar.gz
12 # Source0-md5:  ffc3e5e4880fec67064f043252263a44
13 URL:            http://aubio.piem.org/
14 BuildRequires:  alsa-lib-devel
15 BuildRequires:  fftw3-single-devel
16 BuildRequires:  jack-audio-connection-kit-devel
17 BuildRequires:  libsamplerate-devel
18 BuildRequires:  libsndfile-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 aubio is a library for audio labelling
23
24 %package devel
25 Summary:        Header files for FOO library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki FOO
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for aubio library.
32
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki aubio.
35
36 %package static
37 Summary:        Static aubio library
38 Summary(pl.UTF-8):      Statyczna biblioteka aubio
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static aubio library.
44
45 %description static -l pl.UTF-8
46 Statyczna biblioteka aubio.
47
48 %prep
49 %setup -q
50
51 %build
52 %configure \
53         --enable-alsa \
54         --enable-jack \
55         --enable-lash
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 rm -rf $RPM_BUILD_ROOT/%{py_sitedir}
66 rm -rf $RPM_BUILD_ROOT/%{py_libdir}
67 rm -rf $RPM_BUILD_ROOT/%{py_scriptdir}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README THANKS TODO
78 %attr(755,root,root) %{_bindir}/*
79 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/lib*.so
84 %{_libdir}/lib*.la
85 %{_includedir}/%{name}
86 %{_pkgconfigdir}/*.pc
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/lib*.a
This page took 0.16001 seconds and 3 git commands to generate.