openobex-vl.spec 7.5 KB

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