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