]> git.pld-linux.org Git - packages/rubberband.git/blob - rubberband.spec
- up to 1.8.1
[packages/rubberband.git] / rubberband.spec
1 Summary:        An audio time-stretching and pitch-shifting library and utility program
2 Summary(pl.UTF-8):      Biblioteka i narzędzie do rozciagania i harmonizowania dźwięku
3 Name:           rubberband
4 Version:        1.8.1
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Sound
8 Source0:        http://code.breakfastquay.com/attachments/download/34/%{name}-%{version}.tar.bz2
9 # Source0-md5:  6c2b4e18a714bcc297d0db81a10f9348
10 URL:            http://www.breakfastquay.com/rubberband/
11 BuildRequires:  fftw3-devel
12 BuildRequires:  ladspa-devel
13 BuildRequires:  libsamplerate-devel
14 BuildRequires:  libsndfile-devel
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  pkg-config
17 BuildRequires:  vamp-devel
18 Requires:       %{name}-libs = %{version}-%{release}
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Rubber Band is a library and utility program that permits you to
23 change the tempo and pitch of an audio recording independently of one
24 another.
25
26 %description -l pl.UTF-8
27 Rubber Band to biblioteka i program narzędziowy, który pozwala ci na
28 zmianę tempa i wysokości tonu nagrywanego dźwięku niezaleźnie od
29 innego.
30
31 %package libs
32 Summary:        rubberband library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki rubberband
34 Group:          Libraries
35
36 %description libs
37 rubberband library.
38
39 %description libs -l pl.UTF-8
40 Biblioteka rubberband.
41
42 %package devel
43 Summary:        Header files for rubberband library
44 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki rubberband
45 Group:          Development/Libraries
46 Requires:       %{name}-libs = %{version}-%{release}
47
48 %description devel
49 Header files for rubberband library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki rubberband.
53
54 %package static
55 Summary:        Static rubberband library
56 Summary(pl.UTF-8):      Statyczna biblioteka rubberband
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static rubberband library.
62
63 %description static -l pl.UTF-8
64 Statyczna biblioteka rubberband.
65
66 %package -n ladspa-rubberband-plugins
67 Summary:        rubberband ladspa plugin
68 Group:          Applications/Sound
69
70 %description -n ladspa-rubberband-plugins
71 rubberband ladspa plugin.
72
73 %package -n vamp-plugins-rubberband
74 Summary:        rubberband vamp plugin
75 Group:          Applications/Sound
76
77 %description -n vamp-plugins-rubberband
78 rubberband vamp plugin.
79
80 %prep
81 %setup -q
82
83 %build
84 %configure
85 %{__make} \
86         INSTALL_LIBDIR="%{_libdir}" \
87         INSTALL_VAMPDIR="%{_libdir}/vamp" \
88         INSTALL_LADSPADIR="%{_libdir}/ladspa"
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT \
95         INSTALL_LIBDIR="%{_libdir}" \
96         INSTALL_VAMPDIR="%{_libdir}/vamp" \
97         INSTALL_LADSPADIR="%{_libdir}/ladspa" \
98         INSTALL_PKGDIR="%{_pkgconfigdir}"
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   libs -p /sbin/ldconfig
104 %postun libs -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc CHANGELOG README.txt
109 %attr(755,root,root) %{_bindir}/rubberband
110
111 %files libs
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/librubberband.so.*.*.*
114 %attr(755,root,root) %ghost %{_libdir}/librubberband.so.2
115
116 %files devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/librubberband.so
119 %{_includedir}/%{name}
120 %{_pkgconfigdir}/rubberband.pc
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/librubberband.a
125
126 %files -n ladspa-rubberband-plugins
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/ladspa/ladspa-rubberband.so
129 %{_libdir}/ladspa/ladspa-rubberband.cat
130 %{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
131
132 %files -n vamp-plugins-rubberband
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/vamp/vamp-rubberband.so
135 %{_libdir}/vamp/vamp-rubberband.cat
This page took 0.093517 seconds and 3 git commands to generate.