libbtctl-vl.spec 6.6 KB

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