diff --git a/dde-qt-dbus-factory.spec b/dde-qt-dbus-factory.spec index 25b24d73ceeaa179e6e5b1bc18dda2e7c1ea86a2..7b295ed421d5ba847b01a27ded9f139484c5d1c2 100644 --- a/dde-qt-dbus-factory.spec +++ b/dde-qt-dbus-factory.spec @@ -2,18 +2,26 @@ %global repo dde-qt-dbus-factory Name: dde-qt-dbus-factory -Version: 5.3.0.19 +Version: 5.4.5 Release: 1 Summary: A repository stores auto-generated Qt5 dbus code +# The entire source code is GPLv3+ except +# libdframeworkdbus/qtdbusextended/ which is LGPLv2+ License: GPLv3+ and LGPLv2+ +%if 0%{?fedora} +URL: https://github.com/linuxdeepin/dde-qt-dbus-factory +Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz +%else URL: http://shuttle.corp.deepin.com/cache/repos/eagle/release-candidate/56qX566h6IGU6LCD5rWL6K-V6aqM6K-BMDUyMTQ5Mg/pool/main/d/dde-qt-dbus-factory/ Source0: %{name}_%{version}.orig.tar.xz +%endif -BuildRequires: python3-devel +BuildRequires: python3 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: qt5-qtbase-private-devel %description A repository stores auto-generated Qt5 dbus code. @@ -27,37 +35,38 @@ Requires: cmake-filesystem Header files and libraries for %{name}. %prep -%setup -q -n %{repo}-%{version} +%autosetup -p1 -n %{repo}-%{version} sed -i "s/env python$/env python3/g" libdframeworkdbus/generate_code.py sed -i "s/python/python3/g" libdframeworkdbus/libdframeworkdbus.pro %build %qmake_qt5 LIB_INSTALL_DIR=%{_libdir} -sed -i "s/python/python3/g" Makefile %make_build %install %make_install INSTALL_ROOT=%{buildroot} -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files -#%doc README +%doc README.md CHANGELOG.md technology-overview.md %license LICENSE -%{_libdir}/lib%{soname}.so.* +%{_libdir}/lib%{soname}.so.2* %files devel %{_includedir}/lib%{soname}-2.0/ %{_libdir}/pkgconfig/%{soname}.pc %{_libdir}/lib%{soname}.so -%{_libdir}/cmake/DFrameworkdbus/DFrameworkdbusConfig.cmake +%{_libdir}/cmake/DFrameworkdbus/ %changelog +%changelog +* Mon Mar 21 2022 panchenbo - 5.4.5-1 +- update 5.4.5 + +* Sat Jan 29 2022 liweigang - 5.3.0.19-2 +- fix build error + * Thu Jul 08 2021 weidong - 5.3.0.19-1 - Update 5.3.0.19 * Thu Jul 30 2020 openEuler Buildteam - 5.2.0.0-3 - Package init - diff --git a/dde-qt-dbus-factory_5.3.0.19.orig.tar.xz b/dde-qt-dbus-factory_5.4.5.orig.tar.xz similarity index 88% rename from dde-qt-dbus-factory_5.3.0.19.orig.tar.xz rename to dde-qt-dbus-factory_5.4.5.orig.tar.xz index c5fb42e94f9aa275387284cf3d84ecfc16272c40..12f9f1b47755beb2de078806017eb4f35033b552 100644 Binary files a/dde-qt-dbus-factory_5.3.0.19.orig.tar.xz and b/dde-qt-dbus-factory_5.4.5.orig.tar.xz differ