]>
Commit | Line | Data |
---|---|---|
2e6d25db AF |
1 | Summary: Bluetooth libraries |
2 | Name: bluez-libs | |
3 | Version: 2.3 | |
4 | Release: 3 | |
5 | Copyright: GPL | |
6 | Group: System Environment/Libraries | |
7 | Source: http://bluez.sourceforge.net/%{name}-%{version}.tar.gz | |
8 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
9 | URL: http://bluez.sourceforge.net/ | |
10 | BuildRequires: glib-devel >= 1.2 | |
11 | ExcludeArch: s390 s390x | |
12 | ||
13 | %description | |
14 | Libraries for use in Bluetooth applications. | |
15 | ||
16 | The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. | |
17 | ||
18 | %package devel | |
19 | Summary: Development libraries for Bluetooth applications | |
20 | Group: Development/Libraries | |
21 | Requires: bluez-libs = %{version} | |
22 | ||
23 | %description devel | |
24 | bluez-libs-devel contains development libraries and headers for | |
25 | use in Bluetooth applications. | |
26 | ||
27 | %prep | |
28 | ||
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %configure | |
33 | make | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | make install DESTDIR=$RPM_BUILD_ROOT | |
38 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la | |
39 | /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %post -p /sbin/ldconfig | |
45 | ||
46 | %postun -p /sbin/ldconfig | |
47 | ||
48 | %files | |
49 | %defattr(-, root, root) | |
50 | %doc AUTHORS COPYING INSTALL ChangeLog NEWS README | |
51 | %{_libdir}/libbluetooth.so.* | |
52 | ||
53 | %files devel | |
54 | %defattr(-,root,root) | |
55 | /usr/include/bluetooth/* | |
56 | %{_libdir}/libbluetooth.a | |
57 | %{_libdir}/libbluetooth.so | |
58 | ||
59 | %changelog | |
60 | * Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de> | |
61 | - add symlinks to shared libs | |
62 | ||
63 | * Wed Jan 22 2003 Tim Powers <timp@redhat.com> | |
64 | - rebuilt | |
65 | ||
66 | * Thu Jan 16 2003 Bill Nottingham <notting@redhat.com> 2.3-1 | |
67 | - initial build |