Revisions of libqofono

Michał Szczepaniak's avatar Michał Szczepaniak (Mister_Magister) accepted request 1199505 from Erik Inkinen's avatar Erik Inkinen (erikinkinen) (revision 3)
Bump to 0.123. This includes an XML fix needed to resolve a qdbusxml2cpp error.
Nikita Zudin's avatar Nikita Zudin (NotKit) committed (revision 2)
Build with Qt 6

A    _multibuild
A    libqofono-qt5.changes
A    libqofono-qt5.spec
A    libqofono-qt6.changes
A    libqofono-qt6.spec
D    qofono-qt5.changes
D    qofono-qt5.spec

Diff for working copy: .
Index: libqofono-qt5.changes
===================================================================
--- libqofono-qt5.changes	(revision 0)
+++ libqofono-qt5.changes	(revision 0)
@@ -0,0 +1,14 @@
+-------------------------------------------------------------------
+Sat Dec  9 12:02:06 UTC 2023 - TheKit <thekit@disroot.org>
+
+- Update to 0.121
+
+-------------------------------------------------------------------
+Wed Aug 16 22:25:09 UTC 2023 - TheKit <thekit@disroot.org>
+
+- Adapt packaging for OpenSUSE/OBS
+
+-------------------------------------------------------------------
+Fri Nov 05 2021 Onuralp SEZER <thunderbirdtr@fedoraproject.org>
+
+- initial version qofono-qt5

Index: libqofono-qt5.spec
===================================================================
--- libqofono-qt5.spec	(revision 0)
+++ libqofono-qt5.spec	(revision 0)
@@ -0,0 +1,96 @@
+%define _name libqofono
+%define libname libqofono-qt5-0
+
+Name:       libqofono-qt5
+Summary:    A library of Qt 5 bindings for ofono
+Version:    0.121
+Release:    1
+License:    LGPL-2.1
+URL:        https://github.com/sailfishos/libqofono
+Source0:    https://github.com/sailfishos/libqofono/archive/%{version}/%{_name}-%{version}.tar.gz
+
+BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  pkgconfig(Qt5DBus)
+BuildRequires:  pkgconfig(Qt5Quick)
+BuildRequires:  pkgconfig(Qt5Test)
+
+%description
+This package contains Qt bindings for oFono cellular service
+interfaces.
+
+%package -n %{libname}
+Summary:    A library of Qt 5 bindings for ofono
+
+%description -n %{libname}
+This package contains Qt bindings for oFono cellular service
+interfaces.
+
+%package declarative
+Summary:    Declarative plugin for libqofono
+Requires:   %{libname} = %{version}
+%description declarative
+This package contains declarative plugin for libofono.
+
+%package devel
+Summary:    Development files for ofono Qt bindings
+Requires:   %{libname} = %{version}
+
+%description devel
+This package contains the development header files for the ofono Qt bindings.
+
+%package tests
+Summary:    QML test app for the oFono Qt bindings
+Requires:   %{libname} = %{version}
+Requires:   %{name}-declarative = %{version}
+
+%description tests
+This package contains QML tests for the ofono Qt bindings.
+
+%package examples
+Summary:    Examples for libqofono
+Requires:   %{libname} = %{version}
+Requires:   %{name}-declarative = %{version}
+
+%description examples
+This package contains examples on how to use
+libqofono's declarative plugin.
+
+%prep
+%autosetup -n %{_name}-%{version}
+
+%build
+%qmake5
+make %{?_smp_mflags} VERBOSE=1
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+mkdir -p %{buildroot}/%{_libdir}/%{name}
+mv %{buildroot}/opt/tests/* %{buildroot}/%{_libdir}/%{name}/tests_sh
+mv %{buildroot}/opt/examples %{buildroot}/%{_libdir}/%{name}/
+
+%post -n %{libname} -p /sbin/ldconfig
+
+%postun -n %{libname} -p /sbin/ldconfig
+
+%files -n %{libname}
+%{_libdir}/%{name}.so.*
+
+%files declarative
+%{_libdir}/qt5/qml/
+
+%files devel
+%{_libdir}/%{name}.prl
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/qofono-qt5.pc
+%{_includedir}/qofono-qt5
+%{_datadir}/qt5/mkspecs/
+
+%files tests
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/tests_sh/
+
+%files examples
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/examples
+
+%changelog

Index: libqofono-qt6.spec
===================================================================
--- libqofono-qt6.spec	(revision 0)
+++ libqofono-qt6.spec	(revision 0)
@@ -0,0 +1,98 @@
+%define _name libqofono
+%define libname libqofono-qt6-0
+
+Name:       libqofono-qt6
+Summary:    A library of Qt 6 bindings for ofono
+Version:    0.121
+Release:    1
+License:    LGPL-2.1
+URL:        https://github.com/sailfishos/libqofono
+Source0:    https://github.com/sailfishos/libqofono/archive/%{version}/%{_name}-%{version}.tar.gz
+
+BuildRequires:  pkgconfig(Qt6Core)
+BuildRequires:  pkgconfig(Qt6DBus)
+BuildRequires:  pkgconfig(Qt6Quick)
+BuildRequires:  pkgconfig(Qt6Test)
+
+%description
+This package contains Qt bindings for oFono cellular service
+interfaces.
+
+%package -n %{libname}
+Summary:    A library of Qt 5 bindings for ofono
+
+%description -n %{libname}
+This package contains Qt bindings for oFono cellular service
+interfaces.
+
+%package declarative
+Summary:    Declarative plugin for libqofono
+Requires:   %{libname} = %{version}
+%description declarative
+This package contains declarative plugin for libofono.
+
+%package devel
+Summary:    Development files for ofono Qt bindings
+Requires:   %{libname} = %{version}
+
+%description devel
+This package contains the development header files for the ofono Qt bindings.
+
+%package tests
+Summary:    QML test app for the oFono Qt bindings
+Requires:   %{libname} = %{version}
+Requires:   %{name}-declarative = %{version}
+
+%description tests
+This package contains QML tests for the ofono Qt bindings.
+
+%package examples
+Summary:    Examples for libqofono
+Requires:   %{libname} = %{version}
+Requires:   %{name}-declarative = %{version}
+
+%description examples
+This package contains examples on how to use
+libqofono's declarative plugin.
+
+%prep
+%autosetup -n %{_name}-%{version}
+
+%build
+%qmake6
+make %{?_smp_mflags} VERBOSE=1
+
+%install
+%qmake6_install
+mkdir -p %{buildroot}/%{_libdir}/%{name}
+mv %{buildroot}/opt/tests/libqofono-qt5/* %{buildroot}/opt/tests/libqofono-qt6
+rm -rf %{buildroot}/opt/tests/libqofono-qt5
+mv %{buildroot}/opt/tests/* %{buildroot}/%{_libdir}/%{name}/tests_sh
+mv %{buildroot}/opt/examples %{buildroot}/%{_libdir}/%{name}/
+
+%post -n %{libname} -p /sbin/ldconfig
+
+%postun -n %{libname} -p /sbin/ldconfig
+
+%files -n %{libname}
+%{_libdir}/%{name}.so.*
+
+%files declarative
+%{_libdir}/qt6/qml/
+
+%files devel
+%{_libdir}/%{name}.prl
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/qofono-qt6.pc
+%{_includedir}/qofono-qt6
+%{_datadir}/qt6/mkspecs/
+
+%files tests
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/tests_sh/
+
+%files examples
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/examples
+
+%changelog

Index: libqofono-qt6.changes
===================================================================
--- libqofono-qt6.changes	(revision 0)
+++ libqofono-qt6.changes	(revision 0)
@@ -0,0 +1,15 @@
+-------------------------------------------------------------------
+Sat Dec  9 12:35:56 UTC 2023 - TheKit <thekit@disroot.org>
+
+- Update to 0.121
+- Build with Qt 6
+
+-------------------------------------------------------------------
+Wed Aug 16 22:25:09 UTC 2023 - TheKit <thekit@disroot.org>
+
+- Adapt packaging for OpenSUSE/OBS
+
+-------------------------------------------------------------------
+Fri Nov 05 2021 Onuralp SEZER <thunderbirdtr@fedoraproject.org>
+
+- initial version qofono-qt5

Index: _multibuild
===================================================================
--- _multibuild	(revision 0)
+++ _multibuild	(revision 0)
@@ -0,0 +1,4 @@
+<multibuild>
+  <flavor>libqofono-qt5</flavor>
+  <flavor>libqofono-qt6</flavor>
+</multibuild>

Index: qofono-qt5.changes
===================================================================
--- qofono-qt5.changes	(revision 1)
+++ qofono-qt5.changes	(working copy)
@@ -1,9 +0,0 @@
--------------------------------------------------------------------
-Wed Aug 16 22:25:09 UTC 2023 - TheKit <thekit@disroot.org>
-
-- Adapt packaging for OpenSUSE/OBS
-
--------------------------------------------------------------------
-Fri Nov 05 2021 Onuralp SEZER <thunderbirdtr@fedoraproject.org>
-
-- initial version qofono-qt5

Index: qofono-qt5.spec
===================================================================
--- qofono-qt5.spec	(revision 1)
+++ qofono-qt5.spec	(working copy)
@@ -1,96 +0,0 @@
-%define _name libqofono
-%define libname libqofono-qt5-0
-
-Name:       libqofono-qt5
-Summary:    A library of Qt 5 bindings for ofono
-Version:    0.120
-Release:    1
-License:    LGPL-2.1
-URL:        https://github.com/sailfishos/libqofono
-Source0:    https://github.com/sailfishos/libqofono/archive/%{version}/%{_name}-%{version}.tar.gz
-
-BuildRequires:  pkgconfig(Qt5Core)
-BuildRequires:  pkgconfig(Qt5DBus)
-BuildRequires:  pkgconfig(Qt5Quick)
-BuildRequires:  pkgconfig(Qt5Test)
-
-%description
-This package contains Qt bindings for oFono cellular service
-interfaces.
-
-%package -n %{libname}
-Summary:    A library of Qt 5 bindings for ofono
-
-%description -n %{libname}
-This package contains Qt bindings for oFono cellular service
-interfaces.
-
-%package declarative
-Summary:    Declarative plugin for libqofono
-Requires:   %{libname} = %{version}
-%description declarative
-This package contains declarative plugin for libofono.
-
-%package devel
-Summary:    Development files for ofono Qt bindings
-Requires:   %{libname} = %{version}
-
-%description devel
-This package contains the development header files for the ofono Qt bindings.
-
-%package tests
-Summary:    QML test app for the oFono Qt bindings
-Requires:   %{libname} = %{version}
-Requires:   %{name}-declarative = %{version}
-
-%description tests
-This package contains QML tests for the ofono Qt bindings.
-
-%package examples
-Summary:    Examples for libqofono
-Requires:   %{libname} = %{version}
-Requires:   %{name}-declarative = %{version}
-
-%description examples
-This package contains examples on how to use
-libqofono's declarative plugin.
-
-%prep
-%autosetup -n %{_name}-%{version}
-
-%build
-%qmake5
-make %{?_smp_mflags} VERBOSE=1
-
-%install
-make install INSTALL_ROOT=%{buildroot}
-mkdir -p %{buildroot}/%{_libdir}/%{name}
-mv %{buildroot}/opt/tests/* %{buildroot}/%{_libdir}/%{name}/tests_sh
-mv %{buildroot}/opt/examples %{buildroot}/%{_libdir}/%{name}/
-
-%post -n %{libname} -p /sbin/ldconfig
-
-%postun -n %{libname} -p /sbin/ldconfig
-
-%files -n %{libname}
-%{_libdir}/%{name}.so.*
-
-%files declarative
-%{_libdir}/qt5/qml/
-
-%files devel
-%{_libdir}/%{name}.prl
-%{_libdir}/%{name}.so
-%{_libdir}/pkgconfig/qofono-qt5.pc
-%{_includedir}/qofono-qt5
-%{_datadir}/qt5/mkspecs/
-
-%files tests
-%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/tests_sh/
-
-%files examples
-%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/examples
-
-%changelog
Nikita Zudin's avatar Nikita Zudin (NotKit) committed (revision 1)
osc copypac from project:home:NotKit:branches:devel:NemoMobile package:libqofono revision:3
Displaying all 3 revisions
openSUSE Build Service is sponsored by