libbtctl-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. # to activate, add --with mono to rpmbuild
  2. %bcond_with mono
  3. Summary: Library for the GNOME Bluetooth Subsystem
  4. Summary(ja): GNOME Bluetooth サブシステム用ライブラリ
  5. Name: libbtctl
  6. Version: 0.11.1
  7. Release: 2%{?_dist_release}
  8. License: GPLv2+ and LGPLv2.1+
  9. Group: System Environment/Libraries
  10. URL: http://live.gnome.org/GnomeBluetooth
  11. Source0: http://ftp.gnome.org/pub/gnome/sources/libbtctl/0.11/%{name}-%{version}.tar.bz2
  12. Patch5: libbtctl-0.11.1-lib64.patch
  13. # Vine Patch
  14. # to build with openobex 1.7.1
  15. Patch100: libbtctl-0.11.1-unicode.patch
  16. ExcludeArch: s390 s390x
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: autoconf automake libtool gettext intltool
  19. BuildRequires: bluez-libs-devel
  20. BuildRequires: glib2-devel
  21. BuildRequires: gtk-doc
  22. BuildRequires: gtk2-devel
  23. BuildRequires: openobex-devel
  24. BuildRequires: pygtk2-devel
  25. BuildRequires: python
  26. BuildRequires: python-devel
  27. %if %{with mono}
  28. BuildRequires: mono-devel gtk-sharp-gapi gtk-sharp
  29. %endif
  30. Packager: babasaki
  31. %description
  32. Library for the GNOME Bluetooth Subsystem
  33. %description -l ja
  34. GNOME Bluetooth サブシステム用ライブラリです。
  35. %package devel
  36. Summary: Development files for libbtctl
  37. Summary(ja): libbtctl の開発用ファイル
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: glib2-devel
  41. %description devel
  42. This package contains the files needed for developing applications,
  43. which use libbtctl.
  44. %description devel -l ja
  45. libbtctl を使用するアプリケーション開発に必要なファイルを含んでいます。
  46. %prep
  47. %setup -q
  48. %ifarch x86_64
  49. %patch5 -p0 -b .lib64
  50. %endif
  51. %patch100 -p1 -b .unicode
  52. %build
  53. autoreconf -fiv
  54. %if %{with mono}
  55. %configure --disable-static
  56. %else
  57. %configure --disable-mono --disable-static
  58. %endif
  59. make
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. make DESTDIR=$RPM_BUILD_ROOT install
  63. # we do not want .la files
  64. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  65. rm -f $RPM_BUILD_ROOT/%{python_sitearch}/*.la
  66. %find_lang %name
  67. %clean
  68. rm -rf $RPM_BUILD_ROOT
  69. %post -p /sbin/ldconfig
  70. %postun -p /sbin/ldconfig
  71. %files -f %{name}.lang
  72. %defattr(-, root, root)
  73. %doc AUTHORS ChangeLog NEWS README
  74. %{_libdir}/lib*.so.*
  75. %{python_sitearch}/*btctl*
  76. %if %{with mono}
  77. %{_libdir}/mono/gac/btctl/*/btctl.dll
  78. %{_libdir}/mono/libbtctl/btctl.dll
  79. %{_datadir}/gapi/btctl-api.xml
  80. %endif
  81. %files devel
  82. %defattr(-, root, root)
  83. %{_libdir}/lib*.so
  84. #%{_libdir}/lib*.a
  85. %{_libdir}/pkgconfig/libbtctl.pc
  86. %{_includedir}/libbtctl
  87. %{_datadir}/gtk-doc/html/libbtctl
  88. %if %{with mono}
  89. %{_libdir}/pkgconfig/libbtctl-sharp.pc
  90. %endif
  91. %changelog
  92. * Tue Nov 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.11.1-2
  93. - added Patch100 to build with openobex-1.7.1
  94. * Mon Oct 04 2010 Shu KONNO <owa@bg.wakwak.com> 0.11.1-1
  95. - updated libbtctl to 0.11.1
  96. - dropt Patch2: libbtctl-0.4.1-pydir.patch
  97. - added Patch5: libbtctl-0.11.1-lib64.patch (on x86_64)
  98. - uninstall *.a
  99. - move "Maintainers:" to "packager:"
  100. - spec in utf-8 (too)
  101. - changed spec file name as vine style
  102. - rebuilt with new environment and rpm-4.8.1
  103. * Fri Oct 24 2008 Seiichirou Babasaki 0.10.0-6
  104. - Update to 0.10.0 (VineSeed)
  105. - added "# Maintainers: " comments.
  106. - changed UTF-8 encode at libbtctl.vs.spec
  107. - FedoraCore - LOGS
  108. -- 0.10.0-5
  109. - Rebuild with patch for BlueZ 4.x
  110. -- 0.10.0-3
  111. -- made doc subpackage to avoid conflict on multiarch env.
  112. -- Resolves: #341931
  113. -- 0.10.0-2
  114. -- gcc43 rebuild
  115. -- 0.10.0-1
  116. -- Update to 0.10.0
  117. * Wed Jan 16 2008 Seiichirou Babasaki 0.9.0-4
  118. - Import bluez-libbtctl - Packager: Babasaki
  119. - fixed wrong Source URL
  120. - Updated specfile
  121. * Tue Sep 18 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-3
  122. - fixed wrong Source URL
  123. * Thu Aug 23 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-2
  124. - rebuilt for F8
  125. - changed License tag to GPL+
  126. * Thu Jul 12 2007 - Bastien Nocera <bnocera@redhat.com> - 0.9.0-1
  127. - Update to 0.9.0
  128. - Remove out-dated patches
  129. * Wed Feb 28 2007 Harald Hoyer <harald@redhat.com> - 0.8.2-3%{?dist}
  130. - specfile review
  131. - portet crash patch to 0.8.2
  132. * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.8.2-2%{?dist}
  133. - rebuild for python 2.5
  134. * Mon Nov 13 2006 Harald Hoyer <harald@redhat.com> - 0.8.2-1%{?dist}
  135. - version 0.8.2
  136. - Resolves: rhbz#215230
  137. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-9.1
  138. - rebuild
  139. * Wed Jun 14 2006 Harald Hoyer <harald@redhat.com> - 0.6.0-9
  140. - rebuilt for openobex
  141. * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-8
  142. - Bump for new libbluetooth
  143. * Wed Jun 7 2006 Harald Hoyer <harald@redhat.com> - 0.6.0-7
  144. - printf format corrected
  145. - more build requires
  146. * Wed May 17 2006 Harald Hoyer <harald@redhat.com> 0.6.0-6
  147. - added more build requirements (bug #191981)
  148. * Thu Feb 23 2006 Matthias Clasen <mclasen@redhat.com> 0.6.0-5
  149. - try a fix for (#179413)
  150. * Thu Feb 23 2006 Harald Hoyer <harald@redhat.com> 0.6.0-2
  151. - rebuild
  152. * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> 0.6.0-1
  153. - version 0.6.0
  154. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-1.2.1
  155. - bump again for double-long bug on ppc(64)
  156. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-1.2
  157. - rebuilt for new gcc4.1 snapshot and glibc changes
  158. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  159. - rebuilt
  160. * Wed Sep 28 2005 Harald Hoyer <harald@redhat.com> 0.5.0-1
  161. - new version 0.5.0
  162. * Tue Jul 19 2005 Harald Hoyer <harald@redhat.com> 0.4.1-8
  163. - added gtk2-devel to BuildRequires
  164. * Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> 0.4.1-7
  165. - rebuild with requires python-abi
  166. * Wed Mar 30 2005 Warren Togami <wtogami@redhat.com> 0.4.1-6
  167. - devel req glib2-devel for pkgconfig (#152497)
  168. * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
  169. - rebuilt
  170. * Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
  171. - rebuilt
  172. * Fri Oct 08 2004 Harald Hoyer <harald@redhat.de> 0.4.1-3
  173. - buildrequires pygtk2-devel
  174. * Fri Sep 24 2004 Harald Hoyer <harald@redhat.de> 0.4.1-2
  175. - split out devel package
  176. - require openobex >= 1.0.1
  177. - patch for lib64 python path
  178. * Thu Jul 22 2004 Harald Hoyer <harald@redhat.de> 0.4.1-1
  179. - version 0.4.1
  180. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  181. - rebuilt
  182. * Tue May 25 2004 Harald Hoyer <harald@redhat.de> 0.3-6
  183. - buildrequire bluez-libs-devel and glib2-devel
  184. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  185. - rebuilt
  186. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  187. - rebuilt
  188. * Tue Aug 5 2003 Harald Hoyer <harald@redhat.de> 0.3-4
  189. - make shared library
  190. * Tue Aug 5 2003 Harald Hoyer <harald@redhat.de> 0.3-3
  191. - BuildRequires bluez-sdp
  192. * Tue Jun 24 2003 Harald Hoyer <harald@redhat.de> 0.3-2
  193. - exclude arch s390
  194. * Wed Jun 5 2003 Harald Hoyer <harald@redhat.de> 0.3-1
  195. - initial RPM