/[packages]/cauldron/bluez/current/SPECS/bluez.spec
ViewVC logotype

Diff of /cauldron/bluez/current/SPECS/bluez.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 273157 by colin, Fri Jun 29 13:58:51 2012 UTC revision 273158 by colin, Sat Jul 21 17:42:31 2012 UTC
# Line 5  Line 5 
5  Name:           bluez  Name:           bluez
6  Summary:        Official Linux Bluetooth protocol stack  Summary:        Official Linux Bluetooth protocol stack
7  Version:        4.101  Version:        4.101
8  Release:        %mkrel 1  Release:        %mkrel 2
9  License:        GPLv2+  License:        GPLv2+
10  Group:          Communications  Group:          Communications
11  URL:            http://bluez.org/  URL:            http://bluez.org/
# Line 39  BuildRequires: pkgconfig(systemd) Line 39  BuildRequires: pkgconfig(systemd)
39  Requires:       python-gobject  Requires:       python-gobject
40  Requires:       bluez-pin  Requires:       bluez-pin
41  Requires:       obex-data-server  Requires:       obex-data-server
42  Requires(post):  rpm-helper >= 0.24.8-1  Requires(pre):  filesystem >= 2.1.9-18
43  Requires(preun): rpm-helper >= 0.24.8-1  Requires(post): rpm-helper >= 0.24.8-1
44    Requires(preun):        rpm-helper >= 0.24.8-1
45  Suggests:       bluez-firmware  Suggests:       bluez-firmware
46    
47  %description  %description
# Line 64  fi Line 65  fi
65  %files  %files
66  %{_bindir}/*  %{_bindir}/*
67  %{_sbindir}/*  %{_sbindir}/*
 /sbin/hidd  
 /sbin/bluetoothd  
 /lib/systemd/system/bluetooth.service  
68  %{_mandir}/man?/*  %{_mandir}/man?/*
69  %exclude %{_mandir}/man8/hid2hci.8*  %exclude %{_mandir}/man8/hid2hci.8*
70  %config(noreplace) %{_sysconfdir}/sysconfig/*  %config(noreplace) %{_sysconfdir}/sysconfig/*
# Line 122  This package contains ALSA support for B Line 120  This package contains ALSA support for B
120  Summary: Put HID proxying bluetooth HCI's into HCI mode  Summary: Put HID proxying bluetooth HCI's into HCI mode
121  Group: Communications  Group: Communications
122  Conflicts: %{name} < 4.99-1  Conflicts: %{name} < 4.99-1
123    Requires(post): filesystem >= 2.1.9-18
124    
125  %description hid2hci  %description hid2hci
126  Most allinone PC's and bluetooth keyboard / mouse sets which include a  Most allinone PC's and bluetooth keyboard / mouse sets which include a
# Line 148  and mouse. Line 147  and mouse.
147  %{_mandir}/man8/hid2hci.8*  %{_mandir}/man8/hid2hci.8*
148    
149  %post hid2hci  %post hid2hci
150  /sbin/udevadm trigger --subsystem-match=usb  %{_bindir}/udevadm trigger --subsystem-match=usb
151    
152  #--------------------------------------------------------------------  #--------------------------------------------------------------------
153    
154  %package -n     %{libname}  %package -n     %{libname}
155  Summary:        Official Linux Bluetooth protocol stack  Summary:        Official Linux Bluetooth protocol stack
156  Group:          System/Libraries  Group:          System/Libraries
157    Requires(pre):  filesystem >= 2.1.9-18
158    
159  %description -n %{libname}  %description -n %{libname}
160  These are the official Bluetooth communication libraries for Linux.  These are the official Bluetooth communication libraries for Linux.
161    
162  %files -n %{libname}  %files -n %{libname}
163  /%{_lib}/lib*.so.%{major}*  %{_libdir}/lib*.so.%{major}*
164    
165  #--------------------------------------------------------------------  #--------------------------------------------------------------------
166    
167  %package -n     %{devname}  %package -n     %{devname}
168  Summary:        Headers for developing programs that will use %name  Summary:        Headers for developing programs that will use %name
169  Group:          Development/C++  Group:          Development/C++
170    Requires(pre):  filesystem >= 2.1.9-18
171  Requires:       %{libname} = %{version}  Requires:       %{libname} = %{version}
172  Provides:       lib%{name}-devel = %{version}-%{release}  Provides:       lib%{name}-devel = %{version}-%{release}
173  Provides:       %{name}-devel = %{version}-%{release}  Provides:       %{name}-devel = %{version}-%{release}
# Line 179  applications which will use libraries fr Line 180  applications which will use libraries fr
180  %doc AUTHORS ChangeLog README  %doc AUTHORS ChangeLog README
181  %dir %{_includedir}/bluetooth  %dir %{_includedir}/bluetooth
182  %{_includedir}/bluetooth/*.h  %{_includedir}/bluetooth/*.h
183  /%{_lib}/*.so  %{_libdir}/*.so
184  %{_libdir}/pkgconfig/bluez.pc  %{_libdir}/pkgconfig/bluez.pc
185    
186  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 193  libtoolize -f -c Line 194  libtoolize -f -c
194  autoreconf  autoreconf
195  # fix mdv bug 35444  # fix mdv bug 35444
196  %define _localstatedir %{_var}  %define _localstatedir %{_var}
197  %configure2_5x  --libdir=/%{_lib} \  %configure2_5x \
198      --enable-cups \      --enable-cups \
199      --enable-dfutool \      --enable-dfutool \
200      --enable-tools \      --enable-tools \
# Line 214  autoreconf Line 215  autoreconf
215  %makeinstall_std rulesdir=/lib/udev/rules.d udevdir=/lib/udev  %makeinstall_std rulesdir=/lib/udev/rules.d udevdir=/lib/udev
216    
217    
218  mkdir -p %{buildroot}%{_libdir}  #mkdir -p %{buildroot}%{_libdir}
219  mv %{buildroot}/%{_lib}/gstreamer-0.10 %{buildroot}%{_libdir}  #mv %{buildroot}/%{_lib}/gstreamer-0.10 %{buildroot}%{_libdir}
220    
221  echo "1234" > %{buildroot}%{_sysconfdir}/bluetooth/pin  echo "1234" > %{buildroot}%{_sysconfdir}/bluetooth/pin
222    
# Line 231  install -m644 bluez.pc -D  %{buildroot}% Line 232  install -m644 bluez.pc -D  %{buildroot}%
232    
233    
234  # Remove the cups backend from libdir, and install it in /usr/lib whatever the install  # Remove the cups backend from libdir, and install it in /usr/lib whatever the install
235  if test -d %{buildroot}/%{_lib}/cups ; then  %ifarch x86_64
236      install -D -m0755 %{buildroot}/%{_lib}/cups/backend/bluetooth %{buildroot}/usr/lib/cups/backend/bluetooth  if test -d %{buildroot}%{_libdir}/cups ; then
237      rm -rf %{buildroot}/%{_lib}/cups      install -D -m0755 %{buildroot}%{_libdir}/cups/backend/bluetooth %{buildroot}/usr/lib/cups/backend/bluetooth
238        rm -rf %{buildroot}%{_libdir}/cups
239  fi  fi
240    %endif
241    
242    # (cg) can we drop this move+symlink?
243  mkdir -p %{buildroot}/sbin  mkdir -p %{buildroot}%{_sbindir}
244  mv %{buildroot}%{_bindir}/hidd %{buildroot}/sbin/  mv %{buildroot}%{_bindir}/hidd %{buildroot}%{_sbindir}
245  ln -s /sbin/hidd %{buildroot}%{_bindir}/hidd  ln -s %{_sbindir}/hidd %{buildroot}%{_bindir}/hidd
 mv %{buildroot}%{_sbindir}/bluetoothd %{buildroot}/sbin/  
 ln -s /sbin/bluetoothd %{buildroot}%{_sbindir}/bluetoothd  
246    
247  cp test/test-* %{buildroot}%{_bindir}  cp test/test-* %{buildroot}%{_bindir}
248  cp test/simple-agent %{buildroot}%{_bindir}/simple-agent  cp test/simple-agent %{buildroot}%{_bindir}/simple-agent
# Line 255  install -m0644 network/network.conf %{bu Line 256  install -m0644 network/network.conf %{bu
256  install -m0644 input/input.conf %{buildroot}%{_sysconfdir}/bluetooth/  install -m0644 input/input.conf %{buildroot}%{_sysconfdir}/bluetooth/
257  install -m0644 serial/serial.conf %{buildroot}%{_sysconfdir}/bluetooth/  install -m0644 serial/serial.conf %{buildroot}%{_sysconfdir}/bluetooth/
258    
259  %__mkdir -p %{buildroot}%{_libdir}/alsa-lib/  #%__mkdir -p %{buildroot}%{_libdir}/alsa-lib/
260  %__mv %{buildroot}/%{_lib}/alsa-lib/*.so %{buildroot}%{_libdir}/alsa-lib/  #%__mv %{buildroot}/%{_lib}/alsa-lib/*.so %{buildroot}%{_libdir}/alsa-lib/
261    
262  # remove unpackaged files  # remove unpackaged files
263  find %{buildroot} -name '*.la' -delete  find %{buildroot} -name '*.la' -delete

Legend:
Removed from v.273157  
changed lines
  Added in v.273158

  ViewVC Help
Powered by ViewVC 1.1.30