]> git.pld-linux.org Git - SPECS.git/blob - libbs2b.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libbs2b.spec
1 Summary:        Bauer stereophonic-to-binaural DSP library
2 Summary(pl.UTF-8):      Biblioteka DSP stereofoniczno-dwuusznego Bauera
3 Name:           libbs2b
4 Version:        3.1.0
5 Release:        2
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/bs2b/%{name}-%{version}.tar.lzma
9 # Source0-md5:  00d32ffa6461dde6a632c846da3e0a13
10 Patch0:         %{name}-format.patch
11 URL:            http://bs2b.sourceforge.net/
12 BuildRequires:  libsndfile-devel
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  pkgconfig
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xz
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The Bauer stereophonic-to-binaural DSP (bs2b) is designed to improve
21 headphone listening of stereo audio records.
22
23 %description -l pl.UTF-8
24 Stereofoniczno-dwuuszny DSP Bauera (bs2b) służy do poprawiania jakości
25 dźwiękowych nagrań stereofonicznych przez słuchawki.
26
27 %package devel
28 Summary:        Header files for bs2b library
29 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki bs2b
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       libstdc++-devel
33
34 %description devel
35 Header files for bs2b library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki bs2b.
39
40 %package static
41 Summary:        Static bs2b library
42 Summary(pl.UTF-8):      Statyczna biblioteka bs2b
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static bs2b library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka bs2b.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 %configure
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 # obsoleted by pkg-config
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libbs2b.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS COPYING ChangeLog README
79 %attr(755,root,root) %{_bindir}/bs2bconvert
80 %attr(755,root,root) %{_bindir}/bs2bstream
81 %attr(755,root,root) %{_libdir}/libbs2b.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libbs2b.so.0
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/libbs2b.so
87 %{_includedir}/bs2b
88 %{_pkgconfigdir}/libbs2b.pc
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/libbs2b.a
This page took 0.16258 seconds and 3 git commands to generate.