bluez-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. Summary: Bluetooth utilities
  2. Summary(ja): Bluetooth ユーティリティ
  3. Name: bluez
  4. Version: 5.35
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. URL: http://www.bluez.org/
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: daisuke, Takemikaduchi
  12. #----------------------------------------------------------------------------
  13. Source: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
  14. Source1: bluetooth.init.vine
  15. Source3: bluez-uinput.modules
  16. Source11: trusts.txt
  17. Source20: main.conf
  18. # from http://www.linuxfromscratch.org/patches/downloads/bluez/
  19. Patch0: bluez-5.35-obexd_without_systemd-1.patch
  20. # Patch for Vine
  21. Patch100: bluez-5.35-daemon.patch
  22. Patch101: bluez-5.35-config-vine.patch
  23. #----------------------------------------------------------------------------
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. BuildRequires: flex
  26. BuildRequires: bison
  27. BuildRequires: dbus-devel
  28. BuildRequires: glib2-devel
  29. BuildRequires: eudev-libudev-devel
  30. BuildRequires: readline-devel
  31. BuildRequires: libical-devel
  32. ExcludeArch: s390 s390x
  33. Obsoletes: bluez-pan < 4.0, bluez-sdp < 4.0
  34. Requires: initscripts, bluez-libs = %{version}
  35. Requires: dbus >= 0.60
  36. # Requires: fuse
  37. ## Requires: hwdata >= 0.215
  38. Requires: hwdata >= 0.146
  39. # virtual provides "dbus-bluez-pin-helper" ex. bluez-gnome
  40. Requires: dbus-bluez-pin-helper
  41. Requires(preun): /sbin/chkconfig, /sbin/service
  42. Requires(post): /sbin/chkconfig, /sbin/service
  43. #----------------------------------------------------------------------------
  44. Obsoletes: bluez-utils < 4.5-2
  45. Provides: bluez-utils = %{version}-%{release}
  46. Obsoletes: bluez-gstreamer < 5.0
  47. Obsoletes: bluez-alsa < 5.0
  48. #----------------------------------------------------------------------------
  49. %description
  50. Utilities for use in Bluetooth applications:
  51. - hcitool
  52. - hciattach
  53. - hciconfig
  54. - bluetoothd
  55. - l2ping
  56. - start scripts VineLinux (RedHat base)
  57. - pcmcia configuration files
  58. Please, read %{_defaultdocdir}/%{name}-%{version}/trusts.txt
  59. The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
  60. %description -l ja
  61. Bluetooth ユーティリティ (bluez-utils):
  62. - hcitool
  63. - hciattach
  64. - hciconfig
  65. - l2ping
  66. - 起動スクリプト (Red Hat用をVineLinuxに合わせました)
  67. - pcmcia コンフィグレーション ファイル
  68. ※付属の%{_defaultdocdir}/%{name}-%{version}/trusts.txtもご覧下さい。
  69. (BLUETOOTH は Bluetooth SIG, Inc.(USA)のトレードマークです)
  70. #----------------------------------------------------------------------------
  71. %package libs
  72. Summary: Libraries for use in Bluetooth applications
  73. Summary(ja): BlueTooth アプリケーションの使用するライブラリ(BlueZ)
  74. Group: System Environment/Libraries
  75. %description libs
  76. Libraries for use in Bluetooth applications.
  77. %description libs -l ja
  78. Bluetooth アプリケーションのためのライブラリです。
  79. ※BlueZ のユーティリティのためにも必要です
  80. #----------------------------------------------------------------------------
  81. %package libs-devel
  82. Summary: Development libraries for Bluetooth applications
  83. Summary(ja): Bluetooth アプリケーション開発のためのdevelパッケージ
  84. Group: Development/Libraries
  85. Requires: bluez-libs = %{version}
  86. Requires: pkgconfig
  87. Obsoletes: bluez-sdp-devel < 4.0
  88. %description libs-devel
  89. bluez-libs-devel contains development libraries and headers for
  90. use in Bluetooth applications.
  91. %description libs-devel -l ja
  92. bluez-libs-devel パッケージは Bluetooth アプリケーション開発のための
  93. ライブラリやヘッダーファイルを提供します。
  94. #----------------------------------------------------------------------------
  95. %package cups
  96. Summary: CUPS printer backend for Bluetooth printers
  97. Summary(ja): Bluetooth 経由の CUPS プリンタシステム用
  98. Group: System Environment/Daemons
  99. Obsoletes: bluez-utils-cups < 4.5-2
  100. Provides: bluez-utils-cups = %{version}-%{release}
  101. Requires: bluez-libs = %{version}
  102. Requires: cups
  103. %description cups
  104. This package contains the CUPS backend
  105. %description cups -l ja
  106. Bluetooth対応 プリンターを CUPS印刷システムから利用する
  107. ためのバックエンドです。
  108. #----------------------------------------------------------------------------
  109. %prep
  110. rm -rf $RPM_BUILD_ROOT
  111. %setup -q
  112. %patch0 -p1
  113. %patch100 -p1
  114. %patch101 -p1
  115. %build
  116. %configure \
  117. --disable-systemd \
  118. --enable-library \
  119. --enable-cups \
  120. --enable-tools \
  121. --enable-sixaxis \
  122. --disable-android
  123. # copy txt
  124. #cp %{SOURCE11} .
  125. make
  126. #----------------------------------------------------------------------------
  127. %install
  128. rm -rf $RPM_BUILD_ROOT
  129. make install DESTDIR=$RPM_BUILD_ROOT
  130. # Remove autocrap and libtool droppings
  131. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  132. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth/
  133. mkdir -p $RPM_BUILD_ROOT%{_libdir}/bluetooth/
  134. mkdir -p $RPM_BUILD_ROOT%{_sbindir}
  135. install -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/bluetooth
  136. ln -s ../libexec/bluetooth/bluetoothd $RPM_BUILD_ROOT%{_sbindir}/bluetoothd
  137. #install -D -m0644 %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth/
  138. install -D -m0644 src/main.conf $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth/
  139. # rename serial-api.txt
  140. #mv doc/serial-api.txt doc/serial-api_doc.txt
  141. install -D -m0755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/bluez-uinput.modules
  142. %clean
  143. rm -rf $RPM_BUILD_ROOT
  144. #----------------------------------------------------------------------------
  145. %post
  146. /sbin/chkconfig --add bluetooth
  147. if [ "$1" -ge "1" ]; then
  148. /sbin/service bluetooth condrestart >/dev/null 2>&1 || :
  149. fi
  150. exit 0
  151. %preun
  152. if [ "$1" = "0" ]; then
  153. /sbin/service bluetooth stop >/dev/null 2>&1 || :
  154. /sbin/chkconfig --del bluetooth
  155. fi
  156. exit 0
  157. %post libs
  158. /sbin/ldconfig
  159. %postun libs
  160. /sbin/ldconfig
  161. #----------------------------------------------------------------------------
  162. %files
  163. %defattr(-, root, root)
  164. %doc AUTHORS COPYING INSTALL ChangeLog NEWS README
  165. %dir %{_sysconfdir}/bluetooth/
  166. %config(noreplace) %{_sysconfdir}/bluetooth/*
  167. %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
  168. %{_sysconfdir}/rc.d/init.d/bluetooth
  169. %{_sysconfdir}/sysconfig/modules/bluez-uinput.modules
  170. %{_bindir}/*
  171. %{_sbindir}/bluetoothd
  172. %{_libexecdir}/bluetooth/bluetoothd
  173. %{_libexecdir}/bluetooth/obexd
  174. %dir %{_libdir}/bluetooth
  175. %dir %{_libdir}/bluetooth/plugins
  176. %{_libdir}/bluetooth/plugins/sixaxis.so
  177. %{_mandir}/man1/*
  178. %{_mandir}/man8/*
  179. /lib/udev/hid2hci
  180. /lib/udev/rules.d/97-hid2hci.rules
  181. %files libs
  182. %defattr(-, root, root)
  183. %{_libdir}/libbluetooth.so.*
  184. %files libs-devel
  185. %defattr(-, root, root)
  186. %{_libdir}/libbluetooth.so
  187. %dir %{_includedir}/bluetooth
  188. %{_includedir}/bluetooth/*
  189. %{_libdir}/pkgconfig/bluez.pc
  190. %files cups
  191. %defattr(-, root, root)
  192. %{_libdir}/cups/backend/bluetooth
  193. %changelog
  194. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.35-1
  195. - update to 5.35
  196. - remove %%{name}-gstreamer, %%{name}-alsa subpackages
  197. - add Patch0 (bluez-5.35-obexd_without_systemd-1.patch)
  198. - add Patch100 (bluez-5.35-daemon.patch)
  199. - add Patch101 (bluez-5.35-config-vine.patch)
  200. * Sat Jul 18 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.101-5
  201. - rebuild with readline-6.3
  202. * Tue Jun 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.101-4
  203. - change BuildRequires: eudev-libudev-devel instead of libudev-devel
  204. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.101-3
  205. - rebuild with VineSeed environment
  206. * Thu Jul 11 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.101-2
  207. - build with sbc
  208. - add BR: sbc-devel
  209. * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.101-1
  210. - new upstream release
  211. * Sun Mar 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.99-1
  212. - new upstream release
  213. * Thu Feb 23 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.98-1
  214. - new upstream release
  215. * Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.97-1
  216. - new upstream release
  217. - add BuildRequires: check-devel, readline-devel
  218. * Sun Aug 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.96-1
  219. - new upstream release
  220. - add BuildRequires: libudev-devel
  221. * Thu Feb 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.89-1
  222. - new upstream release
  223. * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.87-1
  224. - new upstream release
  225. * Thu Dec 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.84-1
  226. - new upstream release
  227. * Sun Dec 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.82-1
  228. - new upstream release
  229. * Fri Dec 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.81-1
  230. - new upstream release
  231. * Tue Nov 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.79-1
  232. - new upstream release
  233. - drop Patch2
  234. * Wed Nov 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.77-1
  235. - new upstream release
  236. - fix %files (change path of alsa/bluetooth.conf)
  237. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.69-2
  238. - rebuild with rpm-4.8.1 for pkg-config file
  239. * Mon Jul 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.69-1
  240. - new upstream release
  241. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.66-1
  242. - new upstream release
  243. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.64-1
  244. - new upstream release
  245. - drop Patch1, Patch5, Patch6
  246. * Sun Jul 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.42-2
  247. - add bluetooth.init again.
  248. - on-demand startup on bootup process will fail, because
  249. D-BUS service is not started yet.
  250. * Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.42-1
  251. - new upstream release
  252. * Mon Jun 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.41-2
  253. - remove bluetooth.init
  254. - on-demand start/stop bluetoothd using udev
  255. - run hid2hci using udev
  256. - add missing files to %%files
  257. * Fri Jun 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.41-1
  258. - new upstream release
  259. - add udev rule
  260. - add upstream Patch[2-6]
  261. * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.37-1
  262. - new upstream release
  263. * Fri Oct 24 2008 Seiichirou Babasaki 4.15-1
  264. - Update to 4.15
  265. - added # Maintainers: comments.
  266. - FedoraCore - LOGS
  267. -- 4.14-2
  268. -- Add script to autoload uinput on startup, so the PS3 remote
  269. works out-of-the-box
  270. -- 4.14-1 - Update to 4.14
  271. -- 4.13-3
  272. -- Update udev rules (#246840)
  273. -- 4.13-2
  274. -- Fix PS3 BD remote input event generation
  275. -- 4.13-1 - Update to 4.13
  276. -- 4.12-1 - Update to 4.12
  277. -- 4.11-1 - Update to 4.11
  278. -- 4.10-1 - Update to 4.10
  279. -- 4.9-1 - Update to 4.9
  280. -- 4.8-1 - Update to 4.8
  281. -- 4.7-1 - Update to 4.7
  282. -- 4.6-4
  283. -- Fix patch application
  284. -- 4.6-3
  285. -- Add fuzz
  286. -- 4.6-2
  287. -- Fix possible crasher on resume from suspend
  288. -- 4.6-1 - Update to 4.6
  289. -- 4.5-4
  290. -- SDP browse fixes
  291. -- 4.5-3
  292. -- Bluez-alsa needs to provide/obsolete bluez-utils-alsa
  293. -- Use versioned Obsoletes:
  294. -- 4.5-2
  295. -- Change main utils package name to 'bluez'; likewise its subpackages
  296. -- Remove references to obsolete initscripts (hidd,pand,dund)
  297. -- 4.5-1
  298. -- Update to 4.5
  299. -- Fix initscript to actually start bluetoothd by hand
  300. -- Add chkconfig information to the initscript
  301. -- 4.4-2
  302. -- Fix rpmlint problems
  303. -- Fix input device handling
  304. -- 4.4-1
  305. -- Update to 4.4
  306. -- Update source address, and remove unneeded deps (thanks Marcel)
  307. -- 4.1-1
  308. -- Initial build
  309. - updated specfile
  310. - VineLinux-4.2 logfile
  311. -- *Thu Oct 2 2008 Seiichirou Babasaki 3.24-4
  312. -- update bleuz-gnome, rebuild bluez-utils
  313. -- Requires: fuse
  314. -- updated specfile
  315. -- *Tue Sep 30 2008 Seiichirou Babasaki 3.24-3
  316. -- trusts.txt update (added audio profile)
  317. -- updated specfile
  318. #----------------------------------------------------------------------------
  319. * Fri Sep 26 2008 Seiichirou Babasaki 3.32-2
  320. - *.conf update
  321. - updated specfile
  322. * Fri Jun 13 2008 Seiichirou Babasaki 3.32-1
  323. - Updated 3.32
  324. - Updated specfile
  325. - ** LOGS 3.31-2
  326. - ** Add a .service file, starting up hcid only when used (#446918)
  327. - ** Fix descriptions in the initscript headers (#433647)
  328. - ** LOGS 3.30-2
  329. - ** Add support for Dell HID/HCI switch
  330. - ** LOGS 3.27-1
  331. - ** Ship audio.conf (#278831)
  332. - ** Ship network service
  333. * Sat Jan 26 2008 Seiichirou Babasaki 3.24-2
  334. - Updated specfile
  335. - marge bluez-utils-3.24-conf-vl.patch
  336. - << bluez-utils-2.3-conf.patch
  337. - add trusts.txt(ja)
  338. - Updated specfile
  339. * Mon Jan 21 2008 Seiichirou Babasaki 3.24-1vl2
  340. - Updated specfile for (dbus-devel >= 0.90)
  341. * Wed Jan 16 2008 Seiichirou Babasaki 3.24-1vl1
  342. - Import bluez-utils - Packager: Babasaki
  343. - Updated specfile for (dbus-devel >= 0.60)
  344. - Update to 3.24