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