86 lines
2.2 KiB
RPMSpec
86 lines
2.2 KiB
RPMSpec
# Run tests in check section
|
|
# disable for bootstrapping
|
|
|
|
%bcond_with check
|
|
|
|
%global with_debug 1
|
|
%if 0%{?with_debug}
|
|
%global debug_package %{nil}
|
|
%endif
|
|
|
|
Name: dde-clipboard
|
|
Version: 5.4.24
|
|
Release: 1
|
|
Summary: Qt platform theme integration plugins for DDE
|
|
License: GPLv3+
|
|
URL: https://github.com/linuxdeepin/dde-clipboard
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-linguist
|
|
BuildRequires: dtkcore-devel
|
|
BuildRequires: dtkwidget-devel
|
|
BuildRequires: dtkwidget
|
|
BuildRequires: libgio-qt
|
|
BuildRequires: libgio-qt-devel
|
|
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
|
|
BuildRequires: gtest-devel
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
BuildRequires: kf5-kwayland-devel
|
|
|
|
%description
|
|
Qt platform theme integration plugins for DDE
|
|
Multiple Qt plugins to provide better Qt5 integration for DDE is included.
|
|
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
export PATH=$PATH:/usr/lib64/qt5/bin
|
|
mkdir build && cd build
|
|
%cmake ..
|
|
|
|
%install
|
|
pushd %{_builddir}/%{name}-%{version}/build
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
popd
|
|
|
|
%files
|
|
%{_sysconfdir}/xdg/autostart/dde-clipboard.desktop
|
|
%{_sysconfdir}/xdg/autostart/dde-clipboard-daemon.desktop
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}-daemon
|
|
%{_datadir}/dbus-1/services/com.deepin.dde.Clipboard.service
|
|
/lib/systemd/user/dde-clipboard-daemon.service
|
|
%{_datadir}/%{name}/translations/
|
|
%{_datadir}/applications/dde-clipboard.desktop
|
|
%{_datadir}/applications/dde-clipboard-daemon.desktop
|
|
|
|
|
|
%changelog
|
|
* Wed Aug 02 2023 leeffo <liweiganga@uniontech.com> - 5.4.24-1
|
|
- upgrade to version 5.4.24
|
|
|
|
* Mon Mar 27 2023 liweigang <liweiganga@uniontech.com> - 5.3.27-1
|
|
- update: update to 5.3.27
|
|
|
|
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.3.16-1
|
|
- Update to 5.3.16
|
|
|
|
* Tue Feb 08 2022 liweigang <liweiganga@uniontech.com> - 5.3.0.3-2
|
|
- fix build error
|
|
|
|
* Wed Jul 07 2021 weidong <weidong@uniontech.com> - 5.3.0.3-1
|
|
- Update to 5.3.0.3
|
|
|
|
* Thu Sep 3 2020 weidong <weidong@uniontech.com> - 5.0.0.3-3
|
|
- fix source url in spec
|
|
|
|
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.0.3-2
|
|
- fix compile fail
|
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.0.3-1
|
|
- Package init
|