openobex-vl.spec 7.2 KB

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