gnome-bluetooth-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. Summary: GNOME Bluetooth Subsystem
  2. Summary(ja): GNOME Bluetooth サブシステム
  3. Name: gnome-bluetooth
  4. Version: 3.4.1
  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. * Fri Jun 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  168. - new upstream release
  169. - add BuildRequires: nautilus-sendto-devel
  170. - create nautilus-sendto-gnome-bluetooth package
  171. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  172. - new upstream release
  173. - remove BuildRequires: GConf2-devel
  174. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  175. - new upstream release
  176. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  177. - new upstream release
  178. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  179. - new upstream release
  180. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  181. - new upstream release
  182. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  183. - new upstream release
  184. - change BuildRequires: unique3-devel instead of unique-devel
  185. - add BuildRequires: control-center-devel
  186. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  187. - new upstream release
  188. - remove BuildRequires: gir-repository-devel
  189. - add Requires(post) and Requires(postun): desktop-file-utils
  190. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2
  191. - rebuild with rpm-4.8.1 for pkg-config file
  192. * Wed Apr 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  193. - new upstream release
  194. - add BuildRequires: gir-repository-devel
  195. - add configure option (--disable-nautilus-sendto)
  196. * Wed Dec 30 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.6-1
  197. - new upstream release
  198. - merge spec file from FC package
  199. * Fri Oct 24 2008 Seiichirou Babasaki 0.11.0-6
  200. - Update to 0.11.0 (VineSeed)
  201. - added "# Maintainers: " comments.
  202. - changed UTF-8 encode at gnome-bluetooth.vsc.spec
  203. - FedoraCore - LOGS
  204. -- 0.11.0-5
  205. -- Rebuild against new bluez-libs
  206. -- 0.11.0-4
  207. -- Changed name of icon file(#444811)
  208. -- 0.11.0-3
  209. -- Remove gnome-obex-server, we should use gnome-user-share now
  210. -- 0.11.0-1
  211. -- gcc43 rebuild
  212. -- 0.11.0 - Update to 0.11.0
  213. -- 0.10.0 - Update to 0.10.0
  214. -- 0.9.1-4
  215. -- marked gnome-obex-server.schemas as config file
  216. -- changed upstream URL
  217. -- 0.9.1-3
  218. -- fixed wrong source URL
  219. -- 0.9.1-2
  220. -- rebuilt for F8
  221. -- changed license tag to GPLv2 and LGPLv2+
  222. -- 0.9.1-1
  223. -- Upgrade to 0.9.1 to fix a crasher in the server
  224. -- 0.9.0-1
  225. -- Update for 0.9.0
  226. -- Fix installation of the python bindings
  227. -- 0.8.0-4
  228. -- Remove unncessary gconfd killing from scripts (#224561)
  229. -- 0.8.0-3
  230. -- corrected BuildRoot
  231. -- smp flags added
  232. -- specfile cleanup
  233. -- fixed desktop file
  234. - Updated specfile
  235. * Fri Sep 26 2008 Seiichirou Babasaki 0.8.0-2
  236. - Updated specfile
  237. * Wed Jan 16 2008 Seiichirou Babasaki 0.8.0-1
  238. - Import gnome-bluetooth - Packager: Babasaki
  239. - Updated specfile (downgrade -> 0.8.0-0vl1)
  240. #----------------------------------------------------------------------------
  241. * Mon Nov 13 2006 Harald Hoyer <harald@redhat.com> - 0.8.0-1
  242. - version 0.8.0
  243. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-10.1
  244. - rebuild
  245. * Wed Jun 14 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-10
  246. - bump for new openobex
  247. * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-9
  248. - Missing automake, libtool, gettext BR
  249. * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-6
  250. - Bump for new libbluetooth
  251. * Wed May 31 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-6
  252. - add dependency on bluez-utils, cosmetic tweaks (bug #190280)
  253. * Tue May 30 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-5
  254. - install schemata correctly (bug #193518)
  255. * Mon May 29 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-3
  256. - more build requires (bug #193374)
  257. * Mon Feb 27 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-2
  258. - pydir fixes for lib64
  259. * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-1
  260. - version 0.7.0
  261. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2.1
  262. - bump again for double-long bug on ppc(64)
  263. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2
  264. - rebuilt for new gcc4.1 snapshot and glibc changes
  265. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  266. - rebuilt
  267. * Fri Oct 07 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-2
  268. - Fix relative path for the icons in desktop files which no longer works
  269. with the icon cache.
  270. * Wed Sep 28 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-1
  271. - new version 0.6.0
  272. * Tue Aug 16 2005 Warren Togami <wtogami@redhat.com> 0.5.1-14
  273. - rebuild for new cairo
  274. * Thu Jul 7 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-13
  275. - Minor spec file cleanups.
  276. - Fix relative path for the icons in desktop files which no longer works
  277. with the icon cache.
  278. - Remove useless zero epochs.
  279. - Remove explicit python abi requirement, it's automatic for FC4 and up.
  280. * Thu Mar 31 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-12
  281. - removed base requirement from libs
  282. * Tue Mar 29 2005 Warren Togami <wtogami@redhat.com> - 0.5.1-11
  283. - devel req glib2-devel libbtctl-devel for pkgconfig (#152488)
  284. * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
  285. - rebuilt
  286. * Mon Feb 21 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-9
  287. - added gnome hbox patch for bug rh#149215
  288. * Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-8
  289. - added requires for python-abi
  290. * Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-7
  291. - split package into app, libs and devel
  292. * Mon Oct 25 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-6
  293. - fixed again gnome-bluetooth-manager script for 64bit (bug 134864)
  294. * Fri Oct 08 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-5
  295. - buildrequire pygtk2-devel (bug 135032)
  296. - fixed gnome-bluetooth-manager script for 64bit (bug 134864)
  297. - fixed segfault on file receive (bug 133041)
  298. * Mon Sep 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-4
  299. - buildrequire libbtctl-devel
  300. - buildrequire openobex-devel >= 1.0.1
  301. - pythondir -> pyexecdir
  302. * Wed Jul 28 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-3
  303. - added build dependency for librsvg2-devel
  304. * Tue Jul 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-2
  305. - added pydir patch
  306. * Thu Jul 22 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-1
  307. - version 0.5.1
  308. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  309. - rebuilt
  310. * Tue May 25 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-8
  311. - corrected BuildRequires
  312. * Wed Mar 10 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-7
  313. - added EggToolBar patch for gcc34
  314. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  315. - rebuilt
  316. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  317. - rebuilt
  318. * Mon Jan 26 2004 Harald Hoyer <harald@redhat.de> 0.4.1-4
  319. - added autofoo patch
  320. * Thu Aug 28 2003 Harald Hoyer <harald@redhat.de> 0.4.1-3
  321. - add .so to gnome-vfs module, if libtool does not!
  322. * Thu Aug 07 2003 Harald Hoyer <harald@redhat.de> 0.4.1-2
  323. - call libtool finish
  324. * Wed Aug 6 2003 Harald Hoyer <harald@redhat.de> 0.4.1-1
  325. - new version 0.4.1
  326. * Wed Jun 5 2003 Harald Hoyer <harald@redhat.de> 0.4-1
  327. - initial RPM