]> git.pld-linux.org Git - packages/bluez-libs.git/blob - bluez-libs.spec
a6f769c48479a9d03234826b9418629665326b68
[packages/bluez-libs.git] / bluez-libs.spec
1 Summary:        Bluetooth libraries
2 Summary(pl):    Biblioteki Bluetooth
3 Name:           bluez-libs
4 Version:        2.8
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  74ee98dad6bde45eab38c55bfc0734dc
10 Patch0:         %{name}-CFLAGS.patch
11 Patch1:         %{name}-sdp.patch
12 URL:            http://bluez.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool >= 1:1.4.2-9
16 Conflicts:      bluez-sdp
17 ExcludeArch:    s390 s390x
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Libraries for use in Bluetooth applications.
22
23 The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
24
25 %description -l pl
26 Biblioteki do u¿ywania w aplikacjach Bluetooth.
27
28 Znaki towarowe BLUETOOTH s± w³asno¶ci± Bluetooth SIG, Inc. z USA.
29
30 %package devel
31 Summary:        Header files for Bluetooth applications
32 Summary(pl):    Pliki nag³ówkowe dla aplikacji Bluetooth
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Obsoletes:      bluez-sdp-devel
36
37 %description devel
38 bluez-libs-devel contains header files for use in Bluetooth
39 applications.
40
41 %description devel -l pl
42 Ten pakiet zawiera pliki nag³ówkowe do u¿ywania w aplikacjach
43 Bluetooth.
44
45 %package static
46 Summary:        Static Bluetooth libraries
47 Summary(pl):    Biblioteki statyczne Bluetooth
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50 Obsoletes:      bluez-sdp-static
51
52 %description static
53 bluez-libs-static contains development static libraries for use in
54 Bluetooth applications.
55
56 %description static -l pl
57 Ten pakiet zawiera biblioteki statyczne, których mo¿na u¿ywa¼ do
58 aplikacji Bluetooth.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63 %patch1 -p1
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__automake}
69 %{__autoconf}
70 %configure
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog README
88 %attr(755,root,root) %{_libdir}/libsdp.so.*.*
89 %attr(755,root,root) %{_libdir}/libbluetooth.so.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libsdp.so
94 %attr(755,root,root) %{_libdir}/libbluetooth.so
95 %{_libdir}/libsdp.la
96 %{_libdir}/libbluetooth.la
97 %{_includedir}/bluetooth
98 %{_pkgconfigdir}/bluez.pc
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/libsdp.a
103 %{_libdir}/libbluetooth.a
This page took 0.027689 seconds and 2 git commands to generate.