!20 update package
From: @hanshuang123456 Reviewed-by: @HelloWorld_lvcongqing Signed-off-by: @HelloWorld_lvcongqing
This commit is contained in:
commit
bd4cd54596
@ -1,19 +1,34 @@
|
|||||||
%global soname dframeworkdbus
|
%global soname dframeworkdbus
|
||||||
%global repo dde-qt-dbus-factory
|
%global repo dde-qt-dbus-factory
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
Name: deepin-qt-dbus-factory
|
||||||
|
%else
|
||||||
Name: dde-qt-dbus-factory
|
Name: dde-qt-dbus-factory
|
||||||
Version: 5.2.0.0
|
%endif
|
||||||
Release: 3
|
Version: 5.4.21
|
||||||
|
Release: 1%{?dist}.01
|
||||||
Summary: A repository stores auto-generated Qt5 dbus code
|
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+
|
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/
|
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
|
Source0: %{name}_%{version}.orig.tar.xz
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3
|
||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
BuildRequires: pkgconfig(Qt5DBus)
|
BuildRequires: pkgconfig(Qt5DBus)
|
||||||
BuildRequires: pkgconfig(Qt5Gui)
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A repository stores auto-generated Qt5 dbus code.
|
A repository stores auto-generated Qt5 dbus code.
|
||||||
@ -27,33 +42,28 @@ Requires: cmake-filesystem
|
|||||||
Header files and libraries for %{name}.
|
Header files and libraries for %{name}.
|
||||||
|
|
||||||
%prep
|
%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/env python$/env python3/g" libdframeworkdbus/generate_code.py
|
||||||
sed -i "s/python/python3/g" libdframeworkdbus/libdframeworkdbus.pro
|
sed -i "s/python/python3/g" libdframeworkdbus/libdframeworkdbus.pro
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%qmake_qt5 LIB_INSTALL_DIR=%{_libdir}
|
%qmake_qt5 LIB_INSTALL_DIR=%{_libdir}
|
||||||
sed -i "s/python/python3/g" Makefile
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install INSTALL_ROOT=%{buildroot}
|
%make_install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
#%doc README
|
%doc README.md CHANGELOG.md technology-overview.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/lib%{soname}.so.*
|
%{_libdir}/lib%{soname}.so.2*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/lib%{soname}-2.0/
|
%{_includedir}/lib%{soname}-2.0/
|
||||||
%{_libdir}/pkgconfig/%{soname}.pc
|
%{_libdir}/pkgconfig/%{soname}.pc
|
||||||
%{_libdir}/lib%{soname}.so
|
%{_libdir}/lib%{soname}.so
|
||||||
%{_libdir}/cmake/DFrameworkdbus/DFrameworkdbusConfig.cmake
|
%{_libdir}/cmake/DFrameworkdbus/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.2.0.0-3
|
* Mon Jun 13 2022 uoser <uoser@uniontech.com> - 5.4.21-1.01
|
||||||
- Package init
|
- update: update to 5.4.21-1.01
|
||||||
|
|||||||
Binary file not shown.
BIN
dde-qt-dbus-factory_5.4.21.orig.tar.xz
Normal file
BIN
dde-qt-dbus-factory_5.4.21.orig.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user