openobex-vl.spec 7.4 KB

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