557a6d4
%global udevdir %{_prefix}/lib/udev
b13a8dc
cvsdist de1ca3f
Summary: Library for using OBEX
cvsdist de1ca3f
Name: openobex
b13a8dc
Version: 1.7.1
557a6d4
Release: 2%{?dist}
db559ed
License: GPLv2+ and LGPLv2+
cvsdist de1ca3f
Group: System Environment/Libraries
cvsdist de1ca3f
URL: http://openobex.sourceforge.net
b13a8dc
# git clone https://git.gitorious.org/openobex/mainline.git
b13a8dc
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.gz
b13a8dc
Patch0:  openobex-apps-flush.patch
b13a8dc
Patch1:  openobex-1.7-obex_push.patch
56a0bea
b13a8dc
BuildRequires: bluez-libs-devel, libusb-devel
b13a8dc
BuildRequires: cmake, doxygen, libxslt, docbook-style-xsl
cvsdist de1ca3f
ExcludeArch: s390 s390x
cvsdist de1ca3f
cvsdist de1ca3f
%description
af394ea
OBEX (OBject EXchange) is a protocol usually used by various mobile
af394ea
devices to exchange all kind of objects like files, pictures, calendar
af394ea
entries (vCal) and business cards (vCard).  This package contains the
af394ea
Open OBEX shared C library.
cvsdist de1ca3f
cvsdist de1ca3f
%package devel
cvsdist de1ca3f
Summary: Files for development of applications which will use OBEX
cvsdist de1ca3f
Group: Development/Libraries
2bcfb6f
Requires: %{name} = %{version}-%{release}
b13a8dc
Requires: bluez-libs-devel libusb-devel
cvsdist de1ca3f
cvsdist de1ca3f
%description devel
af394ea
Header files for development of applications which use OpenOBEX.
cvsdist de1ca3f
56a0bea
%package apps
56a0bea
Summary: Applications for using OBEX
56a0bea
Group: System Environment/Libraries
56a0bea
56a0bea
%description apps
91306e4
Open OBEX Applications to exchange all kind of objects like files, pictures,
af394ea
calendar entries (vCal) and business cards (vCard) using the OBEX protocol.
56a0bea
cvsdist de1ca3f
%prep
b13a8dc
%setup -q -n %{name}-%{version}-Source
b13a8dc
%patch0 -p1 -b .flush
a958c0e
%patch1 -p1 -b .push
cvsdist de1ca3f
cvsdist de1ca3f
%build
557a6d4
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
557a6d4
       -DCMAKE_SKIP_RPATH=YES \
557a6d4
       -DCMAKE_VERBOSE_MAKEFILE=YES \
557a6d4
       -DCMAKE_INSTALL_DOCDIR=%{_pkgdocdir} \
557a6d4
       -DCMAKE_INSTALL_UDEVRULESDIR=%{udevdir}/rules.d
b13a8dc
0eb59d3
make %{?_smp_mflags}
b13a8dc
make openobex-apps %{?_smp_mflags}
cvsdist de1ca3f
cvsdist de1ca3f
%install
cvsdist de1ca3f
rm -rf $RPM_BUILD_ROOT
80d3491
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist de1ca3f
# we do not want .la files
b13a8dc
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
Vojtech Vitek (V-Teq) bb14917
# don't ship obex_test program, that is for testing purposes only
Vojtech Vitek (V-Teq) bb14917
# and has some problems (multiple buffer overflows etc.)
b13a8dc
rm -f $RPM_BUILD_ROOT%{_bindir}/obex_test
b13a8dc
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/obex_test.1*
cvsdist de1ca3f
cvsdist de1ca3f
%post -p /sbin/ldconfig
cvsdist de1ca3f
cvsdist de1ca3f
%postun -p /sbin/ldconfig
cvsdist de1ca3f
cvsdist de1ca3f
%files
2bcfb6f
%doc AUTHORS COPYING COPYING.LIB ChangeLog README
557a6d4
# the HTML doc is distributed in the %%{name}-devel subpackage
557a6d4
%exclude %{_pkgdocdir}/html
cvsdist de1ca3f
%{_libdir}/libopenobex*.so.*
b13a8dc
%{_sbindir}/obex-check-device
b13a8dc
%{udevdir}/rules.d/60-openobex.rules
cvsdist de1ca3f
cvsdist de1ca3f
%files devel
557a6d4
%doc %{_pkgdocdir}/html
cvsdist de1ca3f
%{_libdir}/libopenobex*.so
557a6d4
%dir %{_includedir}/%{name}
557a6d4
%{_includedir}/%{name}/*.h
f38bcfe
%{_libdir}/pkgconfig/openobex.pc
557a6d4
%dir %{_libdir}/cmake
557a6d4
%{_libdir}/cmake/OpenObex-%{version}
659a3fc
56a0bea
%files apps
56a0bea
%{_bindir}/irobex_palm3
b13a8dc
%{_mandir}/man1/irobex_palm3.1*
56a0bea
%{_bindir}/irxfer
b13a8dc
%{_mandir}/man1/irxfer.1*
56a0bea
%{_bindir}/ircp
b13a8dc
%{_mandir}/man1/ircp.1*
56a0bea
%{_bindir}/obex_tcp
b13a8dc
%{_mandir}/man1/obex_tcp.1*
b13a8dc
%{_bindir}/obex_find
b13a8dc
%{_mandir}/man1/obex_find.1*
a958c0e
%{_bindir}/obex_push
a958c0e
%{_mandir}/man1/obex_push.1*
56a0bea
659a3fc
%changelog
557a6d4
* Thu Jan 09 2014 Tomas Hozza <thozza@redhat.com> - 1.7.1-2
557a6d4
- Distribute Cmake config files
557a6d4
- Minor packaging / spec file changes
557a6d4
1ff32f0
* Thu Sep 26 2013 Tomas Hozza <thozza@redhat.com> - 1.7.1-1
b13a8dc
- New version 1.7.1
b13a8dc
dfe654e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
dfe654e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
dfe654e
adde309
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-8
adde309
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b13a8dc
9ab36a8
* Fri Dec 07 2012 Tomas Hozza <thozza@redhat.com> - 1.5-7
9ab36a8
- Fixed errors found by Coverity scan.
9ab36a8
04754dc
* Thu Nov 15 2012 Tomas Hozza <thozza@redhat.com> - 1.5-6
04754dc
- changing not working Source0 URL and some minor changes in %%prep
04754dc
- new source archive openobex-1.5.0-Source.zip
04754dc
855090b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-5
855090b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
855090b
3c92601
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-4
3c92601
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3c92601
Vojtech Vitek (V-Teq) ead0b98
* Thu Apr 28 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 1.5-3
Vojtech Vitek (V-Teq) ead0b98
- Drop obex_test program, as it is just for testing purposes
Vojtech Vitek (V-Teq) ead0b98
  and has some problems with multiple stack overflows etc.
Vojtech Vitek (V-Teq) ead0b98
  Resolves: #521663
Vojtech Vitek (V-Teq) ead0b98
9f8ae40
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
9f8ae40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9f8ae40
2bcfb6f
* Sun Mar 14 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 1.5-1
2bcfb6f
- updated to a new version
2bcfb6f
- removed unused patches
2bcfb6f
db559ed
* Fri Feb 26 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4-5
db559ed
- properly fixed license
db559ed
92a90ac
* Fri Feb 26 2010 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4-4
9e712b0
- fixed license
9e712b0
ecb4d2b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
ecb4d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ecb4d2b
368614c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
368614c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
368614c
7f0aeff
* Tue Nov 18 2008 Jiri Moskovcak <jmoskovc@redhat.com> 1.4.1
7f0aeff
- New upstream version
7f0aeff
- Spec file cleanup
7f0aeff
- Removed unneeded patches
7f0aeff
77c7c8e
* Thu Oct  2 2008 Jiri Moskovcak <jmoskovc>@redhat.com> 1.3.15
77c7c8e
- rebuilt against new bluez-libs
77c7c8e
4bbe16b
* Thu Oct  2 2008 Jiri Moskovcak <jmoskovc@redhat.com> 1.3.14
77c7c8e
- bump release
4bbe16b
d3b258c
* Wed Jun 18 2008 Jiri Moskovcak <jmoskovc@redhat.com> 1.3-13
d3b258c
- fixed problem when ircp tries to write files to /
d3b258c
- Resolves: #451493
d3b258c
7fdde6f
* Mon Jun  2 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1.3-12
7fdde6f
- improved utf(non ascii) support
7fdde6f
- Resolves: #430128
7fdde6f
996a143
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3-11
996a143
- Autorebuild for GCC 4.3
996a143
af394ea
* Mon Oct 29 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 1.3-10
af394ea
- Spec file cleanup
af394ea
af394ea
* Fri Oct 26 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 1.3-9
91306e4
- Spec file cleanup
91306e4
- Fixed wrong lib path in autoconf
91306e4
af394ea
* Tue Sep 18 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 1.3-8
e939998
- Changed sources in specfile URL to point to the right location
e939998
af394ea
* Fri Aug 24 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 1.3-7
f66a1df
- Added ipv6 support
f66a1df
- Resolves: #198396
f66a1df
2889a45
* Wed Aug 22 2007 Harald Hoyer <harald@redhat.com> - 1.3-6
2889a45
- changed license tag
2889a45
2889a45
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 1.3-5
0eb59d3
- specfile cleanup
0eb59d3
a958c0e
* Wed Feb  7 2007 Harald Hoyer <harald@redhat.com> - 1.3-4
a958c0e
- readded obex_push
a958c0e
2b30f2f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.1
2b30f2f
- rebuild
2b30f2f
80d3491
* Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 1.3-3
80d3491
- removed more patches
80d3491
bf811b3
* Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 1.3-2
bf811b3
- added more build requirements
bf811b3
- built now with enable-usb
bf811b3
636aa4b
* Fri Jun 16 2006 Harald Hoyer <harald@redhat.com> - 1.3-1
636aa4b
- version 1.3
636aa4b
07b7f8b
* Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-2
07b7f8b
- more build requirements
07b7f8b
07b7f8b
* Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-1
07b7f8b
- version 1.2
07b7f8b
f38bcfe
* Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> 1.1-1
f38bcfe
- version 1.1
f38bcfe
2bc5e3d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2.1
2bc5e3d
- bump again for double-long bug on ppc(64)
2bc5e3d
d483933
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2
d483933
- rebuilt for new gcc4.1 snapshot and glibc changes
d483933
eb07407
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
eb07407
- rebuilt
eb07407
4455d3b
* Mon May 02 2005 Harald Hoyer <harald@redhat.com> 1.0.1-4
4455d3b
- added `OBEX_ServerAccept' to the exported symbols (bug rh#146353)
4455d3b
2bcfb6f
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
388237d
- rebuilt
388237d
1166edb
* Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
1166edb
- rebuilt
1166edb
659a3fc
* Mon Sep 13 2004 Harald Hoyer <harald@redhat.de> 1.0.1-1
659a3fc
- version 1.0.1
659a3fc
659a3fc
* Tue Jun 22 2004 Alan Cox <alan@redhat.com>
659a3fc
- removed now unneeded glib requirement
659a3fc
659a3fc
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
659a3fc
- rebuilt
659a3fc
659a3fc
* Mon Apr 19 2004 David Woodhouse <dwmw2@redhat.com> 1.0.0-5
659a3fc
- import for for #121271 from openobex CVS tree
659a3fc
659a3fc
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
659a3fc
- rebuilt
659a3fc
659a3fc
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
659a3fc
- rebuilt
659a3fc
659a3fc
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
659a3fc
- rebuilt
659a3fc
659a3fc
* Wed Jun  4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-2
659a3fc
- excludeArch s390 s390x
659a3fc
659a3fc
* Wed Jun  4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-1
659a3fc
- redhatified specfile
659a3fc
- bump to version 1.0.0
659a3fc
659a3fc
* Thu May 18 2000 Pontus Fuchs <pontus.fuchs@tactel.se>
659a3fc
- Initial RPM
659a3fc
659a3fc