openobex-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. Summary: Library for using OBEX
  2. Summary(ja): OBEXを利用するためのオープンライブラリです
  3. Name: openobex
  4. Version: 1.3
  5. Release: 15%{?_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. * Mon Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-15
  110. - for <BTS:847>
  111. - fixed %postun section
  112. - changed apps Group to Applications/Accessories
  113. * Fri Oct 24 2008 Seiichirou Babasaki 1.3-14
  114. - added "# Maintainers: " comments.
  115. - changed UTF-8 encode at bluez-gnome.vs.spec
  116. - Updated specfile
  117. * Fri Jun 13 2008 Seiichirou Babasaki 1.3-13
  118. - Updated specfile
  119. - LOGS - 1.3-12
  120. - improved utf(non ascii) support
  121. - Resolves: #430128
  122. - LOGS - 1.3-11
  123. - Autorebuild for GCC 4.3
  124. - LOGS - 1.3-10
  125. - Spec file cleanup
  126. - LOGS - 1.3-9
  127. - Spec file cleanup
  128. - Fixed wrong lib path in autoconf
  129. * Wed Jan 16 2008 Seiichirou Babasaki 1.3-8vl1
  130. - Import oponobex - Packager: Babasaki
  131. - Updated specfile
  132. #----------------------------------------------------------------------------
  133. * Tue Sep 18 2007 Jiri Moskovcak <jmoskovcak@redhat.com> 1.3-8
  134. - Changed sources in specfile URL to point to the right location
  135. * Fri Aug 24 2007 Jiri Moskovcak <jmoskovc@redhat.com> 1.3-7
  136. - Added ipv6 support
  137. - Resolves: #198396
  138. * Wed Aug 22 2007 Harald Hoyer <harald@redhat.com> - 1.3-6
  139. - changed license tag
  140. * Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 1.3-5
  141. - specfile cleanup
  142. * Wed Feb 7 2007 Harald Hoyer <harald@redhat.com> - 1.3-4
  143. - readded obex_push
  144. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.1
  145. - rebuild
  146. * Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 1.3-3
  147. - removed more patches
  148. * Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 1.3-2
  149. - added more build requirements
  150. - built now with enable-usb
  151. * Fri Jun 16 2006 Harald Hoyer <harald@redhat.com> - 1.3-1
  152. - version 1.3
  153. * Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-2
  154. - more build requirements
  155. * Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-1
  156. - version 1.2
  157. * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> 1.1-1
  158. - version 1.1
  159. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2.1
  160. - bump again for double-long bug on ppc(64)
  161. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2
  162. - rebuilt for new gcc4.1 snapshot and glibc changes
  163. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  164. - rebuilt
  165. * Mon May 02 2005 Harald Hoyer <harald@redhat.com> 1.0.1-4
  166. - added `OBEX_ServerAccept' to the exported symbols (bug rh#146353)
  167. * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
  168. - rebuilt
  169. * Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
  170. - rebuilt
  171. * Mon Sep 13 2004 Harald Hoyer <harald@redhat.de> 1.0.1-1
  172. - version 1.0.1
  173. * Tue Jun 22 2004 Alan Cox <alan@redhat.com>
  174. - removed now unneeded glib requirement
  175. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  176. - rebuilt
  177. * Mon Apr 19 2004 David Woodhouse <dwmw2@redhat.com> 1.0.0-5
  178. - import for for #121271 from openobex CVS tree
  179. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  180. - rebuilt
  181. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  182. - rebuilt
  183. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  184. - rebuilt
  185. * Wed Jun 4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-2
  186. - excludeArch s390 s390x
  187. * Wed Jun 4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-1
  188. - redhatified specfile
  189. - bump to version 1.0.0
  190. * Thu May 18 2000 Pontus Fuchs <pontus.fuchs@tactel.se>
  191. - Initial RPM