commit obexftp for openSUSE:Factory

2011-11-22 Thread h_root
Hello community,

here is the log from the commit of package obexftp for openSUSE:Factory checked 
in at 2011-11-22 17:48:58

Comparing /work/SRC/openSUSE:Factory/obexftp (Old)
 and  /work/SRC/openSUSE:Factory/.obexftp.new (New)


Package is "obexftp", Maintainer is "jmate...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/obexftp/obexftp.changes  2011-09-23 
02:14:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.obexftp.new/obexftp.changes 2011-11-22 
17:49:15.0 +0100
@@ -1,0 +2,5 @@
+Sun Nov 20 06:47:21 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ obexftp.spec ++
--- /var/tmp/diff_new_pack.PnH4u0/_old  2011-11-22 17:49:16.0 +0100
+++ /var/tmp/diff_new_pack.PnH4u0/_new  2011-11-22 17:49:16.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   obexftp
-BuildRequires:  bluez-devel openobex-devel pkgconfig python-devel
+BuildRequires:  bluez-devel libtool openobex-devel pkgconfig python-devel
 License:GPLv2+
 Group:  Productivity/Networking/Other
 AutoReqProv:on

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obexftp for openSUSE:Factory

2013-11-04 Thread h_root
Hello community,

here is the log from the commit of package obexftp for openSUSE:Factory checked 
in at 2013-11-05 06:51:52

Comparing /work/SRC/openSUSE:Factory/obexftp (Old)
 and  /work/SRC/openSUSE:Factory/.obexftp.new (New)


Package is "obexftp"

Changes:

--- /work/SRC/openSUSE:Factory/obexftp/obexftp.changes  2012-09-14 
12:31:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.obexftp.new/obexftp.changes 2013-11-05 
06:51:53.0 +0100
@@ -1,0 +2,13 @@
+Wed Oct 16 16:08:16 UTC 2013 - jmate...@suse.com
+
+- update to 0.24
+  * new upstream maintainer
+  * integrates obexfs 0.12 (build disabled for now)
+  * includes Ruby binding
+  * builds with OpenOBEX 1.7
+  * build system is now based on CMake
+- patch obexftp-0.24-fix-absurd-install-path - install Python binding
+  into the correct location
+- dropped gcc43.diff - no longer necessary
+
+---

Old:

  gcc43.diff
  obexftp-0.23.tar.bz2

New:

  obexftp-0.24-fix-absurd-install-path.patch
  obexftp-0.24.tar.bz2



Other differences:
--
++ obexftp.spec ++
--- /var/tmp/diff_new_pack.IdbPIw/_old  2013-11-05 06:51:54.0 +0100
+++ /var/tmp/diff_new_pack.IdbPIw/_new  2013-11-05 06:51:54.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obexftp
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,26 @@
 
 
 Name:   obexftp
+BuildRequires:  asciidoc
 BuildRequires:  bluez-devel
+BuildRequires:  cmake
+# support for building obexfs from this source is disabled for now. reenable 
ASAP
+#BuildRequires:  fuse-devel
 BuildRequires:  libtool
 BuildRequires:  openobex-devel
 BuildRequires:  pkgconfig
 BuildRequires:  python-devel
-Version:0.23
+BuildRequires:  ruby-devel
+BuildRequires:  swig
+BuildRequires:  xmlto
+Version:0.24
 Release:0
 Summary:ObexFTP Implements the Object Exchange (OBEX) Protocol's File 
Transfer Feature
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
 Url:http://triq.net/obexftp
 Source: %name-%version.tar.bz2
-Patch0: gcc43.diff
+Patch1: obexftp-0.24-fix-absurd-install-path.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -42,7 +49,7 @@
 
 %package devel
 Summary:Development package for obexftp
-Group:  Productivity/Networking/Other
+Group:  Development/Libraries/C and C++
 Requires:   %name = %version
 Requires:   openobex-devel
 
@@ -50,22 +57,21 @@
 Files needed for software development using obexftp.
 
 %prep
-%setup -q
-%patch0
+%setup -q -n %{name}-%{version}-Source
+%patch1 -p1
+
+chmod -x AUTHORS Doxyfile ChangeLog NEWS README THANKS TODO 
examples/README_obexftpbackup
 
 %build
-cp /usr/share/gettext/config.rpath .
-autoreconf -fiv
-%configure --disable-rpath --disable-static --with-pic --disable-perl
-make %{?_smp_mflags}
-cd swig/perl
-perl Makefile.PL
-make -f Makefile.perl
+mkdir build
+cd build
+cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
+make %{?_smp_mflags} all doc # because "all" apparently does not mean "all"
 
 %install
+cd build
 make "DESTDIR=$RPM_BUILD_ROOT" install
-cd swig/perl
-make -f Makefile.perl DESTDIR=$RPM_BUILD_ROOT install_vendor
+
 %perl_process_packlist
 rm -f %{buildroot}%{_libdir}/lib*.la
 
@@ -101,7 +107,7 @@
 
 %files -n python-obexftp
 %defattr(-,root,root)
-%{py_sitedir}/*
+%{python_sitearch}/*
 
 %package -n perl-obexftp
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Perl bindings
@@ -123,4 +129,20 @@
 %{perl_vendorarch}/OBEXFTP.pm
 %{perl_vendorarch}/auto/OBEXFTP
 
+%package -n ruby-obexftp
+Summary:ObexFTP Implements the Object Exchange (OBEX) - Ruby bindings
+Group:  Productivity/Networking/Other
+Requires:   %name = %version
+Requires:   ruby(abi) = %{rb_ver}
+
+%description -n ruby-obexftp
+ObexFTP works out-of-the-box with all protocols supported by OpenOBEX.
+Currently IrDA, BlueTooth, and Serial.
+
+This package contains the Ruby bindings.
+
+%files -n ruby-obexftp
+%defattr(-,root,root)
+%{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/obexftp.so
+
 %changelog

++ obexftp-0.24-fix-absurd-install-path.patch ++
Index: obexftp-0.24-Source/swig/python/CMakeLists.txt
===
--- obexftp-0.24-Source.orig/swig/python/CMakeLists.txt
+++ obexftp-0.24-Source/swig/python/CMakeLists.txt
@@ -36,13 +36,13 @@ swig_link_libraries ( obexftp-p

commit obexftp for openSUSE:Factory

2013-11-21 Thread h_root
Hello community,

here is the log from the commit of package obexftp for openSUSE:Factory checked 
in at 2013-11-22 07:12:06

Comparing /work/SRC/openSUSE:Factory/obexftp (Old)
 and  /work/SRC/openSUSE:Factory/.obexftp.new (New)


Package is "obexftp"

Changes:

--- /work/SRC/openSUSE:Factory/obexftp/obexftp.changes  2013-11-05 
06:51:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.obexftp.new/obexftp.changes 2013-11-22 
07:12:07.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov 19 18:25:31 CET 2013 - r...@suse.de
+
+- obexftp-pkgconfig_requires.patch:
+  in pkgconfig file, require bluez instead of bluetooth 
+
+---

New:

  obexftp-pkgconfig_requires.patch



Other differences:
--
++ obexftp.spec ++
--- /var/tmp/diff_new_pack.zqLAHY/_old  2013-11-22 07:12:08.0 +0100
+++ /var/tmp/diff_new_pack.zqLAHY/_new  2013-11-22 07:12:08.0 +0100
@@ -37,6 +37,7 @@
 Url:http://triq.net/obexftp
 Source: %name-%version.tar.bz2
 Patch1: obexftp-0.24-fix-absurd-install-path.patch
+Patch2: obexftp-pkgconfig_requires.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -59,6 +60,7 @@
 %prep
 %setup -q -n %{name}-%{version}-Source
 %patch1 -p1
+%patch2
 
 chmod -x AUTHORS Doxyfile ChangeLog NEWS README THANKS TODO 
examples/README_obexftpbackup
 

++ obexftp-pkgconfig_requires.patch ++
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -71,7 +71,7 @@
 set ( exec_prefix "\${prefix}" )
 set ( libdir  "\${prefix}/${CMAKE_INSTALL_LIBDIR}" )
 set ( includedir  "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}" )
-set ( REQUIRES"bluetooth openobex" )
+set ( REQUIRES"bluez openobex" )
 configure_file (
   ${CMAKE_CURRENT_SOURCE_DIR}/obexftp.pc.in
   ${CMAKE_CURRENT_BINARY_DIR}/obexftp.pc
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obexftp for openSUSE:Factory

2012-09-14 Thread h_root
Hello community,

here is the log from the commit of package obexftp for openSUSE:Factory checked 
in at 2012-09-14 12:31:51

Comparing /work/SRC/openSUSE:Factory/obexftp (Old)
 and  /work/SRC/openSUSE:Factory/.obexftp.new (New)


Package is "obexftp", Maintainer is "jmate...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/obexftp/obexftp.changes  2011-11-22 
17:49:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.obexftp.new/obexftp.changes 2012-09-14 
12:31:53.0 +0200
@@ -1,0 +2,6 @@
+Thu May 24 10:56:17 UTC 2012 - jeng...@inai.de
+
+- Remove redundant tags/sections from specfile
+- Parallel build with %_smp_mflags
+
+---



Other differences:
--
++ obexftp.spec ++
--- /var/tmp/diff_new_pack.6HvpvQ/_old  2012-09-14 12:31:53.0 +0200
+++ /var/tmp/diff_new_pack.6HvpvQ/_new  2012-09-14 12:31:53.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package obexftp
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,17 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   obexftp
-BuildRequires:  bluez-devel libtool openobex-devel pkgconfig python-devel
-License:GPL-2.0+
-Group:  Productivity/Networking/Other
-AutoReqProv:on
+BuildRequires:  bluez-devel
+BuildRequires:  libtool
+BuildRequires:  openobex-devel
+BuildRequires:  pkgconfig
+BuildRequires:  python-devel
 Version:0.23
-Release:4
+Release:0
 Summary:ObexFTP Implements the Object Exchange (OBEX) Protocol's File 
Transfer Feature
+License:GPL-2.0+
+Group:  Productivity/Networking/Other
 Url:http://triq.net/obexftp
 Source: %name-%version.tar.bz2
 Patch0: gcc43.diff
@@ -33,33 +34,21 @@
 
 %description
 ObexFTP works with all protocols supported by openobex (OpenOBEX).
-   Currently, these are: - irda (IrDA),
+Currently, these are:
 
+- irda (IrDA),
 - bluez-utils (BlueTooth)
-
 - setserial (Serial)
 
-
-
-Authors:
-
-Christian W. Zuckschwerdt 
-
 %package devel
-License:GPL-2.0+
 Summary:Development package for obexftp
 Group:  Productivity/Networking/Other
-Requires:   %name = %version openobex-devel
+Requires:   %name = %version
+Requires:   openobex-devel
 
 %description devel
 Files needed for software development using obexftp.
 
-
-
-Authors:
-
-Christian W. Zuckschwerdt 
-
 %prep
 %setup -q
 %patch0
@@ -68,7 +57,7 @@
 cp /usr/share/gettext/config.rpath .
 autoreconf -fiv
 %configure --disable-rpath --disable-static --with-pic --disable-perl
-make
+make %{?_smp_mflags}
 cd swig/perl
 perl Makefile.PL
 make -f Makefile.perl
@@ -84,9 +73,6 @@
 
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf  %{buildroot}
-
 %files
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog NEWS README THANKS TODO
@@ -103,7 +89,6 @@
 %_libdir/pkgconfig/obexftp.pc
 
 %package -n python-obexftp
-License:GPL-2.0+
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Python bindings
 Group:  Productivity/Networking/Other
 Requires:   %name = %version
@@ -114,18 +99,11 @@
 
 This package contains the python bindings.
 
-
-
-Authors:
-
-Christian W. Zuckschwerdt 
-
 %files -n python-obexftp
 %defattr(-,root,root)
 %{py_sitedir}/*
 
 %package -n perl-obexftp
-License:GPL-2.0+
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Perl bindings
 Group:  Productivity/Networking/Other
 Requires:   %name = %version
@@ -137,12 +115,6 @@
 
 This package contains the Perl bindings.
 
-
-
-Authors:
-
-Christian W. Zuckschwerdt 
-
 %files -n perl-obexftp
 %defattr(-,root,root)
 %if %suse_version < 1140

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obexftp for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package obexftp for openSUSE:Factory checked 
in at 2011-12-06 18:33:04

Comparing /work/SRC/openSUSE:Factory/obexftp (Old)
 and  /work/SRC/openSUSE:Factory/.obexftp.new (New)


Package is "obexftp", Maintainer is "jmate...@suse.com"

Changes:




Other differences:
--
++ obexftp.spec ++
--- /var/tmp/diff_new_pack.CByIBf/_old  2011-12-06 18:54:14.0 +0100
+++ /var/tmp/diff_new_pack.CByIBf/_new  2011-12-06 18:54:14.0 +0100
@@ -20,7 +20,7 @@
 
 Name:   obexftp
 BuildRequires:  bluez-devel libtool openobex-devel pkgconfig python-devel
-License:GPLv2+
+License:GPL-2.0+
 Group:  Productivity/Networking/Other
 AutoReqProv:on
 Version:0.23
@@ -46,7 +46,7 @@
 Christian W. Zuckschwerdt 
 
 %package devel
-License:GPLv2+
+License:GPL-2.0+
 Summary:Development package for obexftp
 Group:  Productivity/Networking/Other
 Requires:   %name = %version openobex-devel
@@ -103,7 +103,7 @@
 %_libdir/pkgconfig/obexftp.pc
 
 %package -n python-obexftp
-License:GPLv2+
+License:GPL-2.0+
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Python bindings
 Group:  Productivity/Networking/Other
 Requires:   %name = %version
@@ -125,7 +125,7 @@
 %{py_sitedir}/*
 
 %package -n perl-obexftp
-License:GPLv2+
+License:GPL-2.0+
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Perl bindings
 Group:  Productivity/Networking/Other
 Requires:   %name = %version

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obexftp for openSUSE:Factory

2020-05-16 Thread root
Hello community,

here is the log from the commit of package obexftp for openSUSE:Factory checked 
in at 2020-05-16 22:28:19

Comparing /work/SRC/openSUSE:Factory/obexftp (Old)
 and  /work/SRC/openSUSE:Factory/.obexftp.new.2738 (New)


Package is "obexftp"

Sat May 16 22:28:19 2020 rev:28 rq:806039 version:0.24

Changes:

--- /work/SRC/openSUSE:Factory/obexftp/obexftp.changes  2013-11-22 
07:12:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.obexftp.new.2738/obexftp.changes
2020-05-16 22:28:25.409530387 +0200
@@ -1,0 +2,8 @@
+Fri May 15 19:32:15 UTC 2020 - ldre...@vodafonemail.de
+
+- Build python bindings for python3 instead of for python2
+- Add obexftp-0.24-move_to_python3.patch:
+  Use PyUnicode_FromStringAndSize instead of
+  PyString_FromStringAndSize in swig/charmap.i (needed for python3)
+
+---

New:

  obexftp-0.24-move_to_python3.patch



Other differences:
--
++ obexftp.spec ++
--- /var/tmp/diff_new_pack.hqDynR/_old  2020-05-16 22:28:26.149531906 +0200
+++ /var/tmp/diff_new_pack.hqDynR/_new  2020-05-16 22:28:26.153531914 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package obexftp
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,19 +25,20 @@
 BuildRequires:  libtool
 BuildRequires:  openobex-devel
 BuildRequires:  pkgconfig
-BuildRequires:  python-devel
+BuildRequires:  python3-devel
 BuildRequires:  ruby-devel
 BuildRequires:  swig
 BuildRequires:  xmlto
 Version:0.24
 Release:0
 Summary:ObexFTP Implements the Object Exchange (OBEX) Protocol's File 
Transfer Feature
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Networking/Other
-Url:http://triq.net/obexftp
+URL:http://triq.net/obexftp
 Source: %name-%version.tar.bz2
 Patch1: obexftp-0.24-fix-absurd-install-path.patch
-Patch2: obexftp-pkgconfig_requires.patch
+Patch2: obexftp-0.24-move_to_python3.patch
+Patch3: obexftp-pkgconfig_requires.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -61,6 +62,7 @@
 %setup -q -n %{name}-%{version}-Source
 %patch1 -p1
 %patch2
+%patch3
 
 chmod -x AUTHORS Doxyfile ChangeLog NEWS README THANKS TODO 
examples/README_obexftpbackup
 
@@ -96,20 +98,20 @@
 %_includedir/multicobex
 %_libdir/pkgconfig/obexftp.pc
 
-%package -n python-obexftp
-Summary:ObexFTP Implements the Object Exchange (OBEX) - Python bindings
+%package -n python3-obexftp
+Summary:ObexFTP Implements the Object Exchange (OBEX) - Python3 
bindings
 Group:  Productivity/Networking/Other
 Requires:   %name = %version
 
-%description -n python-obexftp
+%description -n python3-obexftp
 ObexFTP works out-of-the-box with all protocols supported by OpenOBEX.
 Currently IrDA, BlueTooth, and Serial.
 
-This package contains the python bindings.
+This package contains the python3 bindings.
 
-%files -n python-obexftp
+%files -n python3-obexftp
 %defattr(-,root,root)
-%{python_sitearch}/*
+%{python3_sitearch}/*
 
 %package -n perl-obexftp
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Perl bindings

++ obexftp-0.24-move_to_python3.patch ++
--- swig/charmap.i  2013-03-05 21:43:50.0 +0100
+++ /home/user/charmap.i2020-05-01 13:23:59.945483980 +0200
@@ -40,7 +40,7 @@
$result = newSVpvn(arg1->buf_data, arg1->buf_size);
argvi++;
 #elif defined SWIGPYTHON
-   $result = PyString_FromStringAndSize(arg1->buf_data, arg1->buf_size);
+   $result = PyUnicode_FromStringAndSize(arg1->buf_data, arg1->buf_size);
 #elif defined SWIGRUBY
$result = arg1->buf_data ? rb_str_new(arg1->buf_data, arg1->buf_size) : 
Qnil;
 #elif defined SWIGTCL



commit obexftp for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package obexftp for openSUSE:Factory checked 
in at 2020-08-18 15:10:35

Comparing /work/SRC/openSUSE:Factory/obexftp (Old)
 and  /work/SRC/openSUSE:Factory/.obexftp.new.3399 (New)


Package is "obexftp"

Tue Aug 18 15:10:35 2020 rev:29 rq:826917 version:0.24.2

Changes:

--- /work/SRC/openSUSE:Factory/obexftp/obexftp.changes  2020-05-16 
22:28:25.409530387 +0200
+++ /work/SRC/openSUSE:Factory/.obexftp.new.3399/obexftp.changes
2020-08-18 15:10:39.944031095 +0200
@@ -1,0 +2,15 @@
+Sun Aug 16 00:27:16 UTC 2020 - Dirk Mueller 
+
+- update to 0.24.2:
+  * obexfs: Parse XML data with Expat library
+  * obexfs: Properly encode XML special characters
+  * obexfs: New option -r to specify root path
+  * obexfs: New option -S to simulate free space
+  * Fix probing
+  * Add support for Gigaset devices
+  * CMake improvements
+  * Fix build system bugs
+  * Replace CRC implementation in libbfb
+- remove obexftp-pkgconfig_requires.patch : upstream
+
+---

Old:

  obexftp-0.24.tar.bz2
  obexftp-pkgconfig_requires.patch

New:

  obexftp-0.24.2-Source.tar.gz



Other differences:
--
++ obexftp.spec ++
--- /var/tmp/diff_new_pack.7393TC/_old  2020-08-18 15:10:40.712031413 +0200
+++ /var/tmp/diff_new_pack.7393TC/_new  2020-08-18 15:10:40.716031416 +0200
@@ -17,6 +17,15 @@
 
 
 Name:   obexftp
+Version:0.24.2
+Release:0
+Summary:ObexFTP Implements the Object Exchange (OBEX) Protocol's File 
Transfer Feature
+License:GPL-2.0-or-later
+Group:  Productivity/Networking/Other
+URL:https://triq.net/obexftp
+Source: 
https://sourceforge.net/projects/openobex/files/obexftp/%{version}/obexftp-%{version}-Source.tar.gz
+Patch1: obexftp-0.24-fix-absurd-install-path.patch
+Patch2: obexftp-0.24-move_to_python3.patch
 BuildRequires:  asciidoc
 BuildRequires:  bluez-devel
 BuildRequires:  cmake
@@ -29,17 +38,6 @@
 BuildRequires:  ruby-devel
 BuildRequires:  swig
 BuildRequires:  xmlto
-Version:0.24
-Release:0
-Summary:ObexFTP Implements the Object Exchange (OBEX) Protocol's File 
Transfer Feature
-License:GPL-2.0-or-later
-Group:  Productivity/Networking/Other
-URL:http://triq.net/obexftp
-Source: %name-%version.tar.bz2
-Patch1: obexftp-0.24-fix-absurd-install-path.patch
-Patch2: obexftp-0.24-move_to_python3.patch
-Patch3: obexftp-pkgconfig_requires.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 ObexFTP works with all protocols supported by openobex (OpenOBEX).
@@ -52,7 +50,7 @@
 %package devel
 Summary:Development package for obexftp
 Group:  Development/Libraries/C and C++
-Requires:   %name = %version
+Requires:   %{name} = %{version}
 Requires:   openobex-devel
 
 %description devel
@@ -62,46 +60,43 @@
 %setup -q -n %{name}-%{version}-Source
 %patch1 -p1
 %patch2
-%patch3
 
 chmod -x AUTHORS Doxyfile ChangeLog NEWS README THANKS TODO 
examples/README_obexftpbackup
 
 %build
 mkdir build
 cd build
+# FIXME: you should use the %%cmake macros
 cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
-make %{?_smp_mflags} all doc # because "all" apparently does not mean "all"
+%make_build all doc # because "all" apparently does not mean "all"
 
 %install
 cd build
 make "DESTDIR=$RPM_BUILD_ROOT" install
 
 %perl_process_packlist
-rm -f %{buildroot}%{_libdir}/lib*.la
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %doc AUTHORS ChangeLog NEWS README THANKS TODO
 %{_bindir}/*
 %{_libdir}/lib*.so.*
 %{_mandir}/*/*
 
 %files devel
-%defattr(-,root,root)
-%_libdir/lib*.so
-%_includedir/bfb
-%_includedir/obexftp
-%_includedir/multicobex
-%_libdir/pkgconfig/obexftp.pc
+%{_libdir}/lib*.so
+%{_includedir}/bfb
+%{_includedir}/obexftp
+%{_includedir}/multicobex
+%{_libdir}/pkgconfig/obexftp.pc
 
 %package -n python3-obexftp
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Python3 
bindings
 Group:  Productivity/Networking/Other
-Requires:   %name = %version
+Requires:   %{name} = %{version}
 
 %description -n python3-obexftp
 ObexFTP works out-of-the-box with all protocols supported by OpenOBEX.
@@ -110,13 +105,12 @@
 This package contains the python3 bindings.
 
 %files -n python3-obexftp
-%defattr(-,root,root)
 %{python3_sitearch}/*
 
 %package -n perl-obexftp
 Summary:ObexFTP Implements the Object Exchange (OBEX) - Perl bindings
 Group:  Productivity/Networking/Other
-Requires:   %name = %version
+Requires: