gnome-bluetooth-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. Summary: GNOME Bluetooth Subsystem
  2. Summary(ja): GNOME Bluetooth サブシステム
  3. Name: gnome-bluetooth
  4. Version: 3.4.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://live.gnome.org/GnomeBluetooth
  9. Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-bluetooth/3.4/%{name}-%{version}.tar.xz
  10. Source1: 61-gnome-bluetooth-rfkill.rules
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: bluez-libs-devel >= 2.8
  13. BuildRequires: libbonobo-devel >= 2.32.0
  14. BuildRequires: libbonoboui-devel >= 2.24.4
  15. BuildRequires: unique3-devel
  16. BuildRequires: libnotify-devel
  17. BuildRequires: nautilus-sendto-devel
  18. BuildRequires: gnome-doc-utils
  19. BuildRequires: intltool, automake, libtool, gettext
  20. Requires: %{name}-libs = %{version}-%{release}
  21. Requires: bluez >= 4.42
  22. Requires: obexd
  23. Requires(post): desktop-file-utils
  24. Requires(postun): desktop-file-utils
  25. ExcludeArch: s390 s390x
  26. ## Patch1: gnome-bluetooth-0.8.0-desktop.patch
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi
  30. %description
  31. This package contains a library with widgets for Bluetooth applications.
  32. %description -l ja
  33. このパッケージには、 Bluetooth アプリケーションのためのウィジェットと
  34. ライブラリが含まれます。
  35. %package libs
  36. Summary: Libraries for applications, which use gnome-bluetooth
  37. Summary(ja):Gnome-bluetooth を使用するアプリケーション用ライブラリ
  38. Group: Development/Libraries
  39. %description libs
  40. This package contains the libraries for applications,
  41. which use gnome-bluetooth.
  42. %description libs -l ja
  43. このパッケージには Gnome-bluetoothを使用するアプリケーション用の
  44. ライブラリが含まれています。
  45. %package devel
  46. Summary: Files for the development of applications, which use gnome-bluetooth
  47. Summary(ja): Gnome-bluetoothを使用するアプリケーション開発用ファイル
  48. Group: Development/Libraries
  49. License: LGPLv2+
  50. Requires: %{name}-libs = %{version}-%{release}
  51. Requires: pkgconfig
  52. Requires: gtk3-devel
  53. %description devel
  54. This package contains the files for the development of applications,
  55. which will use gnome-bluetooth.
  56. %description devel -l ja
  57. このパッケージにはGnome-bluetoothを使用するアプリケーションを
  58. 開発するためのヘッダーファイルなどが含まれています(develパッケージ)
  59. %package -n nautilus-sendto-gnome-bluetooth
  60. Summary: Nautilus-sendto plugin for gnome-bluetooth
  61. Summary(ja): gnome-bluetooth 用 nautilus-sendto プラグイン
  62. Group: User Interface/Desktop
  63. License: LGPLv2+
  64. Requires: %{name}-libs = %{version}-%{release}
  65. Requires: nautilus-sendto
  66. %description -n nautilus-sendto-gnome-bluetooth
  67. This package contains nautilus-sendto plugin for the gnome-bluetooth.
  68. %description -n nautilus-sendto-gnome-bluetooth -l ja
  69. このパッケージには gnome-bluetooth 用の nautilus-sendto プラグインが含まれています。
  70. %prep
  71. %setup -q -n gnome-bluetooth-%{version}
  72. %build
  73. %configure \
  74. --disable-desktop-update \
  75. --disable-icon-update \
  76. --enable-nautilus-sendto \
  77. --enable-introspection=yes
  78. make %{?_smp_mflags}
  79. %install
  80. rm -rf $RPM_BUILD_ROOT
  81. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  82. make DESTDIR=$RPM_BUILD_ROOT install
  83. # we do not want .la files
  84. rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libbluetooth.*a
  85. rm -f $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la
  86. rm -f $RPM_BUILD_ROOT/%{_libdir}/gnome-bluetooth/plugins/*.la
  87. rm -f $RPM_BUILD_ROOT/%{_libdir}/control-center-1/panels/*.la
  88. install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
  89. %find_lang gnome-bluetooth2
  90. %find_lang %{name} --with-gnome
  91. cat %{name}.lang >> gnome-bluetooth2.lang
  92. # save space by linking identical images in translated docs
  93. helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
  94. for f in $helpdir/C/figures/*.png; do
  95. b="$(basename $f)"
  96. for d in $helpdir/*; do
  97. if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
  98. g="$d/figures/$b"
  99. if [ -f "$g" ]; then
  100. if cmp -s $f $g; then
  101. rm "$g"; ln -s "../../C/figures/$b" "$g"
  102. fi
  103. fi
  104. fi
  105. done
  106. done
  107. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  108. %clean
  109. rm -rf $RPM_BUILD_ROOT
  110. %post
  111. update-desktop-database -q
  112. %postun
  113. update-desktop-database -q
  114. if [ $1 -eq 0 ] ; then
  115. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  116. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  117. fi
  118. %post libs
  119. /sbin/ldconfig
  120. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  121. %posttrans libs
  122. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  123. %postun libs
  124. /sbin/ldconfig
  125. if [ $1 -eq 0 ] ; then
  126. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  127. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  128. fi
  129. o
  130. %postun -n nautilus-sendto-gnome-bluetooth
  131. if [ $1 -eq 0 ]; then
  132. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  133. fi
  134. %posttrans -n nautilus-sendto-gnome-bluetooth
  135. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  136. %files -f %{name}.lang
  137. %defattr(-, root, root)
  138. %doc README NEWS COPYING
  139. %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
  140. %{_bindir}/bluetooth-*
  141. %{_libdir}/gnome-bluetooth/
  142. %{_datadir}/applications/*.desktop
  143. %{_datadir}/gnome-bluetooth/
  144. %{_datadir}/locale/*
  145. %{_mandir}/man1/*
  146. /lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
  147. %files libs
  148. %defattr(-,root,root,-)
  149. %doc COPYING.LIB
  150. %{_libdir}/libgnome-bluetooth.so.*
  151. %{_libdir}/girepository-1.0/GnomeBluetooth-1.0.typelib
  152. %{_datadir}/icons/hicolor/*/apps/*
  153. %{_datadir}/icons/hicolor/*/status/*
  154. %files devel
  155. %defattr(-,root,root,-)
  156. %{_includedir}/gnome-bluetooth/
  157. %{_libdir}/libgnome-bluetooth.so
  158. %{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc
  159. %{_datadir}/gir-1.0/GnomeBluetooth-1.0.gir
  160. %{_datadir}/gtk-doc/html/gnome-bluetooth/
  161. %files -n nautilus-sendto-gnome-bluetooth
  162. %defattr(-,root,root,-)
  163. %{_libdir}/nautilus-sendto/plugins/libnstbluetooth.so
  164. %{_datadir}/GConf/gsettings/gnome-bluetooth-nst
  165. %{_datadir}/glib-2.0/schemas/org.gnome.Bluetooth.nst.gschema.xml
  166. %changelog
  167. * Sun Jul 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  168. - new upstream release
  169. * Fri Jun 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  170. - new upstream release
  171. - add BuildRequires: nautilus-sendto-devel
  172. - create nautilus-sendto-gnome-bluetooth package
  173. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  174. - new upstream release
  175. - remove BuildRequires: GConf2-devel
  176. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  177. - new upstream release
  178. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  179. - new upstream release
  180. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  181. - new upstream release
  182. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  183. - new upstream release
  184. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  185. - new upstream release
  186. - change BuildRequires: unique3-devel instead of unique-devel
  187. - add BuildRequires: control-center-devel
  188. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  189. - new upstream release
  190. - remove BuildRequires: gir-repository-devel
  191. - add Requires(post) and Requires(postun): desktop-file-utils
  192. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2
  193. - rebuild with rpm-4.8.1 for pkg-config file
  194. * Wed Apr 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  195. - new upstream release
  196. - add BuildRequires: gir-repository-devel
  197. - add configure option (--disable-nautilus-sendto)
  198. * Wed Dec 30 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.6-1
  199. - new upstream release
  200. - merge spec file from FC package
  201. * Fri Oct 24 2008 Seiichirou Babasaki 0.11.0-6
  202. - Update to 0.11.0 (VineSeed)
  203. - added "# Maintainers: " comments.
  204. - changed UTF-8 encode at gnome-bluetooth.vsc.spec
  205. - FedoraCore - LOGS
  206. -- 0.11.0-5
  207. -- Rebuild against new bluez-libs
  208. -- 0.11.0-4
  209. -- Changed name of icon file(#444811)
  210. -- 0.11.0-3
  211. -- Remove gnome-obex-server, we should use gnome-user-share now
  212. -- 0.11.0-1
  213. -- gcc43 rebuild
  214. -- 0.11.0 - Update to 0.11.0
  215. -- 0.10.0 - Update to 0.10.0
  216. -- 0.9.1-4
  217. -- marked gnome-obex-server.schemas as config file
  218. -- changed upstream URL
  219. -- 0.9.1-3
  220. -- fixed wrong source URL
  221. -- 0.9.1-2
  222. -- rebuilt for F8
  223. -- changed license tag to GPLv2 and LGPLv2+
  224. -- 0.9.1-1
  225. -- Upgrade to 0.9.1 to fix a crasher in the server
  226. -- 0.9.0-1
  227. -- Update for 0.9.0
  228. -- Fix installation of the python bindings
  229. -- 0.8.0-4
  230. -- Remove unncessary gconfd killing from scripts (#224561)
  231. -- 0.8.0-3
  232. -- corrected BuildRoot
  233. -- smp flags added
  234. -- specfile cleanup
  235. -- fixed desktop file
  236. - Updated specfile
  237. * Fri Sep 26 2008 Seiichirou Babasaki 0.8.0-2
  238. - Updated specfile
  239. * Wed Jan 16 2008 Seiichirou Babasaki 0.8.0-1
  240. - Import gnome-bluetooth - Packager: Babasaki
  241. - Updated specfile (downgrade -> 0.8.0-0vl1)
  242. #----------------------------------------------------------------------------
  243. * Mon Nov 13 2006 Harald Hoyer <harald@redhat.com> - 0.8.0-1
  244. - version 0.8.0
  245. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-10.1
  246. - rebuild
  247. * Wed Jun 14 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-10
  248. - bump for new openobex
  249. * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-9
  250. - Missing automake, libtool, gettext BR
  251. * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-6
  252. - Bump for new libbluetooth
  253. * Wed May 31 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-6
  254. - add dependency on bluez-utils, cosmetic tweaks (bug #190280)
  255. * Tue May 30 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-5
  256. - install schemata correctly (bug #193518)
  257. * Mon May 29 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-3
  258. - more build requires (bug #193374)
  259. * Mon Feb 27 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-2
  260. - pydir fixes for lib64
  261. * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-1
  262. - version 0.7.0
  263. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2.1
  264. - bump again for double-long bug on ppc(64)
  265. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2
  266. - rebuilt for new gcc4.1 snapshot and glibc changes
  267. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  268. - rebuilt
  269. * Fri Oct 07 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-2
  270. - Fix relative path for the icons in desktop files which no longer works
  271. with the icon cache.
  272. * Wed Sep 28 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-1
  273. - new version 0.6.0
  274. * Tue Aug 16 2005 Warren Togami <wtogami@redhat.com> 0.5.1-14
  275. - rebuild for new cairo
  276. * Thu Jul 7 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-13
  277. - Minor spec file cleanups.
  278. - Fix relative path for the icons in desktop files which no longer works
  279. with the icon cache.
  280. - Remove useless zero epochs.
  281. - Remove explicit python abi requirement, it's automatic for FC4 and up.
  282. * Thu Mar 31 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-12
  283. - removed base requirement from libs
  284. * Tue Mar 29 2005 Warren Togami <wtogami@redhat.com> - 0.5.1-11
  285. - devel req glib2-devel libbtctl-devel for pkgconfig (#152488)
  286. * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
  287. - rebuilt
  288. * Mon Feb 21 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-9
  289. - added gnome hbox patch for bug rh#149215
  290. * Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-8
  291. - added requires for python-abi
  292. * Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-7
  293. - split package into app, libs and devel
  294. * Mon Oct 25 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-6
  295. - fixed again gnome-bluetooth-manager script for 64bit (bug 134864)
  296. * Fri Oct 08 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-5
  297. - buildrequire pygtk2-devel (bug 135032)
  298. - fixed gnome-bluetooth-manager script for 64bit (bug 134864)
  299. - fixed segfault on file receive (bug 133041)
  300. * Mon Sep 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-4
  301. - buildrequire libbtctl-devel
  302. - buildrequire openobex-devel >= 1.0.1
  303. - pythondir -> pyexecdir
  304. * Wed Jul 28 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-3
  305. - added build dependency for librsvg2-devel
  306. * Tue Jul 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-2
  307. - added pydir patch
  308. * Thu Jul 22 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-1
  309. - version 0.5.1
  310. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  311. - rebuilt
  312. * Tue May 25 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-8
  313. - corrected BuildRequires
  314. * Wed Mar 10 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-7
  315. - added EggToolBar patch for gcc34
  316. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  317. - rebuilt
  318. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  319. - rebuilt
  320. * Mon Jan 26 2004 Harald Hoyer <harald@redhat.de> 0.4.1-4
  321. - added autofoo patch
  322. * Thu Aug 28 2003 Harald Hoyer <harald@redhat.de> 0.4.1-3
  323. - add .so to gnome-vfs module, if libtool does not!
  324. * Thu Aug 07 2003 Harald Hoyer <harald@redhat.de> 0.4.1-2
  325. - call libtool finish
  326. * Wed Aug 6 2003 Harald Hoyer <harald@redhat.de> 0.4.1-1
  327. - new version 0.4.1
  328. * Wed Jun 5 2003 Harald Hoyer <harald@redhat.de> 0.4-1
  329. - initial RPM