Compare commits

..

No commits in common. "7691d6f981ae76d22aed8d335bfdfa423e47bcc8" and "33ed6474f7f3e428c34b616f4d6875df8e7b53ec" have entirely different histories.

3 changed files with 16 additions and 28 deletions

Binary file not shown.

View File

@ -1,22 +1,19 @@
%global soname dframeworkdbus
%global repo dde-qt-dbus-factory
Name: dde-qt-dbus-factory
Version: 5.5.22
Release: 1%{?fedora:%dist}
Version: 5.2.0.0
Release: 3
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+
URL: https://github.com/linuxdeepin/dde-qt-dbus-factory
Source0: %{name}-%{version}.tar.gz
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
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: qt5-qtbase-private-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
%description
A repository stores auto-generated Qt5 dbus code.
@ -30,42 +27,33 @@ Requires: cmake-filesystem
Header files and libraries for %{name}.
%prep
%autosetup -p1 -n %{name}-%{version}
%setup -q -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.md CHANGELOG.md technology-overview.md
#%doc README
%license LICENSE
%{_libdir}/lib%{soname}.so.2*
%{_libdir}/lib%{soname}.so.*
%files devel
%{_includedir}/lib%{soname}-2.0/
%{_libdir}/pkgconfig/%{soname}.pc
%{_libdir}/lib%{soname}.so
%{_libdir}/cmake/DFrameworkdbus/
%{_libdir}/cmake/DFrameworkdbus/DFrameworkdbusConfig.cmake
%changelog
* Mon Jul 31 2023 leeffo <liweiganga@uniontech.com> - 5.5.22-1
- upgrade to version 5.5.22
* Mon Mar 27 2023 liweiganga <liweiganga@uniontech.com> - 5.4.21-1
- update: update to 5.4.21
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.4.5-1
- Update to 5.4.5
* Sat Jan 29 2022 liweigang <liweiganga@uniontech.com> - 5.3.0.19-2
- fix build error
* Thu Jul 08 2021 weidong <weidong@uniontech.com> - 5.3.0.19-1
- Update 5.3.0.19
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.2.0.0-3
- Package init

Binary file not shown.