]> git.pld-linux.org Git - packages/sbc.git/blob - sbc.spec
752bd94b2eb07675bc436dfc18c6e73c71ee37a1
[packages/sbc.git] / sbc.spec
1 Summary:        SBC library
2 Summary(pl.UTF-8):      Biblioteka SBC
3 Name:           sbc
4 Version:        1.0
5 Release:        1
6 License:        LGPL v2.1+ (library), GPL v2+ (tools)
7 Group:          Libraries
8 Source0:        http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
9 # Source0-md5:  aa2bc39c4a09aade064efea4bbbc4b2d
10 URL:            http://www.bluez.org/
11 BuildRequires:  tar >= 1:1.22
12 BuildRequires:  xz
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 SBC library.
17
18 %description -l pl.UTF-8
19 Biblioteka SBC.
20
21 %package devel
22 Summary:        Header files for SBC library
23 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki SBC
24 License:        LGPL v2.1+
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 Header files for SBC library.
30
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki SBC.
33
34 %package static
35 Summary:        Static SBC library
36 Summary(pl.UTF-8):      Statyczna biblioteka SBC
37 License:        LGPL v2.1+
38 Group:          Development/Libraries
39 Requires:       %{name}-devel = %{version}-%{release}
40
41 %description static
42 Static SBC library.
43
44 %description static -l pl.UTF-8
45 Statyczna biblioteka SBC.
46
47 %prep
48 %setup -q
49
50 %build
51 %configure \
52         --disable-silent-rules
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 # obsoleted by pkg-config
62 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog README
73 %attr(755,root,root) %{_bindir}/sbcdec
74 %attr(755,root,root) %{_bindir}/sbcenc
75 %attr(755,root,root) %{_bindir}/sbcinfo
76 %attr(755,root,root) %{_libdir}/libsbc.so.*.*.*
77 %attr(755,root,root) %ghost %{_libdir}/libsbc.so.1
78
79 %files devel
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/libsbc.so
82 %{_includedir}/sbc
83 %{_pkgconfigdir}/sbc.pc
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/libsbc.a
This page took 0.108969 seconds and 2 git commands to generate.