openobex-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. Summary: Library for using OBEX
  2. Summary(ja): OBEXを利用するためのオープンライブラリです
  3. Name: openobex
  4. Version: 1.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://openobex.sourceforge.net
  9. Source: http://downloads.sourceforge.net/openobex/openobex-%{version}.tar.gz
  10. Patch0: openobex-apps-flush.patch
  11. Patch1: openobex-1.3-push.patch
  12. Patch2: openobex-1.3-autoconf.patch
  13. Patch3: openobex-1.3-ipv6.patch
  14. Patch4: openobex-1.3-utf.patch
  15. Patch5: openobex-1.3-ircp.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: autoconf >= 2.57
  18. BuildRequires: bluez-libs-devel
  19. BuildRequires: sed, libusb-devel
  20. BuildRequires: automake, autoconf, libtool
  21. ExcludeArch: s390 s390x
  22. #----------------------------------------------------------------------------
  23. %description
  24. OBEX (OBject EXchange) is a protocol usually used by various mobile
  25. devices to exchange all kind of objects like files, pictures, calendar
  26. entries (vCal) and business cards (vCard). This package contains the
  27. Open OBEX shared C library.
  28. %description -l ja
  29. OBEX(OBject EXchange) は様々なモバイル機器での、ファイル、写真、カレンダー
  30. エントリー(vCal) 、そして名刺(vCard)のような、すべての種類のオブジェクトを
  31. 交換するために通常使用されているプロトコルです。
  32. このパッケージには、Open OBEX のC言語共有ライブラリが含まれています。
  33. #----------------------------------------------------------------------------
  34. %package devel
  35. Summary: Files for development of applications which will use OBEX
  36. Summary(ja): OBEX アプリ開発用ライブラリとヘッダーファイル
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: bluez-libs-devel
  40. Requires: libusb-devel
  41. Requires: pkgconfig
  42. %description devel
  43. Header files for development of applications which use OpenOBEX.
  44. %description devel -l ja
  45. Open OBEX を使用するアプリケーションを開発するためのヘッダーファイル類
  46. (devel パッケージ)
  47. #----------------------------------------------------------------------------
  48. %package apps
  49. Summary: Applications for using OBEX
  50. Summary(ja): OBEX を使ったアプリケーション
  51. Group: Applications/Accessories
  52. %description apps
  53. Open OBEX Applications to exchange all kind of objects like files, pictures,
  54. calendar entries (vCal) and business cards (vCard) using the OBEX protocol.
  55. %description apps -l ja
  56. Open OBEX アプリケーションは OBEX プロトコルを使用して、ファイル、写真、
  57. カレンダーエントリー(vCal) 、そして名刺(vCard)のような、すべての種類の
  58. オブジェクトを交換します。
  59. #----------------------------------------------------------------------------
  60. %prep
  61. %setup -q
  62. %patch0 -p1 -b .flush
  63. ## %patch1 -p1 -b .push
  64. ## %patch2 -p1 -b .ipv6
  65. ## %patch3 -p1 -b .autoconf
  66. ## %patch4 -p1 -b .utf
  67. ## %patch5 -p1 -b .ircp
  68. autoreconf --install --force
  69. %build
  70. %configure --disable-static --enable-apps --enable-usb --disable-dependency-tracking
  71. make %{?_smp_mflags}
  72. # make -C doc %{?_smp_mflags}
  73. #----------------------------------------------------------------------------
  74. %install
  75. rm -rf $RPM_BUILD_ROOT
  76. make install DESTDIR=$RPM_BUILD_ROOT
  77. # we do not want .la files
  78. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  79. %clean
  80. rm -rf $RPM_BUILD_ROOT
  81. %post -p /sbin/ldconfig
  82. %postun -p /sbin/ldconfig
  83. %files
  84. %defattr(-, root, root)
  85. %doc AUTHORS COPYING COPYING.LIB ChangeLog README
  86. %{_libdir}/libopenobex*.so.*
  87. %files devel
  88. %defattr(-, root, root)
  89. %doc AUTHORS COPYING COPYING.LIB ChangeLog README
  90. %{_libdir}/libopenobex*.so
  91. ## %{_datadir}/aclocal/openobex.m4
  92. %dir %{_includedir}/openobex
  93. %{_includedir}/openobex/*.h
  94. %{_libdir}/pkgconfig/openobex.pc
  95. %files apps
  96. %defattr(-, root, root)
  97. %{_bindir}/irobex_palm3
  98. %{_bindir}/irxfer
  99. %{_bindir}/ircp
  100. %{_bindir}/obex_tcp
  101. %{_bindir}/obex_test
  102. ## %{_bindir}/obex_push
  103. ## %{_mandir}/man1/obex_push.1*
  104. #----------------------------------------------------------------------------
  105. # Maintainers: babasaki@mindgear.org
  106. #
  107. #----------------------------------------------------------------------------
  108. %changelog
  109. * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5-1
  110. - new upstream release
  111. - drop Patch1, Patch2, Patch3, Patch4, Patch5
  112. * Mon Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-15
  113. - for <BTS:847>
  114. - fixed %postun section
  115. - changed apps Group to Applications/Accessories
  116. * Fri Oct 24 2008 Seiichirou Babasaki 1.3-14
  117. - added "# Maintainers: " comments.
  118. - changed UTF-8 encode at bluez-gnome.vs.spec
  119. - Updated specfile
  120. * Fri Jun 13 2008 Seiichirou Babasaki 1.3-13
  121. - Updated specfile
  122. - LOGS - 1.3-12
  123. - improved utf(non ascii) support
  124. - Resolves: #430128
  125. - LOGS - 1.3-11
  126. - Autorebuild for GCC 4.3
  127. - LOGS - 1.3-10
  128. - Spec file cleanup
  129. - LOGS - 1.3-9
  130. - Spec file cleanup
  131. - Fixed wrong lib path in autoconf
  132. * Wed Jan 16 2008 Seiichirou Babasaki 1.3-8vl1
  133. - Import oponobex - Packager: Babasaki
  134. - Updated specfile
  135. #----------------------------------------------------------------------------
  136. * Tue Sep 18 2007 Jiri Moskovcak <jmoskovcak@redhat.com> 1.3-8
  137. - Changed sources in specfile URL to point to the right location
  138. * Fri Aug 24 2007 Jiri Moskovcak <jmoskovc@redhat.com> 1.3-7
  139. - Added ipv6 support
  140. - Resolves: #198396
  141. * Wed Aug 22 2007 Harald Hoyer <harald@redhat.com> - 1.3-6
  142. - changed license tag
  143. * Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 1.3-5
  144. - specfile cleanup
  145. * Wed Feb 7 2007 Harald Hoyer <harald@redhat.com> - 1.3-4
  146. - readded obex_push
  147. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.1
  148. - rebuild
  149. * Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 1.3-3
  150. - removed more patches
  151. * Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 1.3-2
  152. - added more build requirements
  153. - built now with enable-usb
  154. * Fri Jun 16 2006 Harald Hoyer <harald@redhat.com> - 1.3-1
  155. - version 1.3
  156. * Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-2
  157. - more build requirements
  158. * Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-1
  159. - version 1.2
  160. * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> 1.1-1
  161. - version 1.1
  162. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2.1
  163. - bump again for double-long bug on ppc(64)
  164. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2
  165. - rebuilt for new gcc4.1 snapshot and glibc changes
  166. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  167. - rebuilt
  168. * Mon May 02 2005 Harald Hoyer <harald@redhat.com> 1.0.1-4
  169. - added `OBEX_ServerAccept' to the exported symbols (bug rh#146353)
  170. * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
  171. - rebuilt
  172. * Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
  173. - rebuilt
  174. * Mon Sep 13 2004 Harald Hoyer <harald@redhat.de> 1.0.1-1
  175. - version 1.0.1
  176. * Tue Jun 22 2004 Alan Cox <alan@redhat.com>
  177. - removed now unneeded glib requirement
  178. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  179. - rebuilt
  180. * Mon Apr 19 2004 David Woodhouse <dwmw2@redhat.com> 1.0.0-5
  181. - import for for #121271 from openobex CVS tree
  182. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  183. - rebuilt
  184. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  185. - rebuilt
  186. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  187. - rebuilt
  188. * Wed Jun 4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-2
  189. - excludeArch s390 s390x
  190. * Wed Jun 4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-1
  191. - redhatified specfile
  192. - bump to version 1.0.0
  193. * Thu May 18 2000 Pontus Fuchs <pontus.fuchs@tactel.se>
  194. - Initial RPM