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