dde-clipboard/dde-clipboard.spec

86 lines
2.2 KiB
RPMSpec
Raw Normal View History

# Run tests in check section
# disable for bootstrapping
2020-07-15 09:51:32 +08:00
%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
2020-07-15 09:51:32 +08:00
Summary: Qt platform theme integration plugins for DDE
License: GPLv3+
URL: https://github.com/linuxdeepin/dde-clipboard
2023-04-04 14:22:42 +08:00
Source0: %{name}-%{version}.tar.gz
2020-07-15 09:51:32 +08:00
BuildRequires: cmake
2020-07-15 09:51:32 +08:00
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-linguist
2020-08-28 10:21:05 +08:00
BuildRequires: dtkcore-devel
2020-07-15 09:51:32 +08:00
BuildRequires: dtkwidget-devel
BuildRequires: dtkwidget
BuildRequires: libgio-qt
BuildRequires: libgio-qt-devel
2021-07-07 17:19:41 +08:00
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
BuildRequires: gtest-devel
2022-02-08 10:51:22 +08:00
BuildRequires: qt5-qtbase-private-devel
BuildRequires: kf5-kwayland-devel
2020-07-15 09:51:32 +08:00
%description
Qt platform theme integration plugins for DDE
Multiple Qt plugins to provide better Qt5 integration for DDE is included.
%prep
%autosetup
2020-07-15 09:51:32 +08:00
%build
export PATH=$PATH:/usr/lib64/qt5/bin
mkdir build && cd build
%cmake ..
2020-07-15 09:51:32 +08:00
%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
2020-07-15 09:51:32 +08:00
%{_bindir}/%{name}
%{_bindir}/%{name}-daemon
2020-07-15 09:51:32 +08:00
%{_datadir}/dbus-1/services/com.deepin.dde.Clipboard.service
/lib/systemd/user/dde-clipboard-daemon.service
2020-07-15 09:51:32 +08:00
%{_datadir}/%{name}/translations/
%{_datadir}/applications/dde-clipboard.desktop
%{_datadir}/applications/dde-clipboard-daemon.desktop
2020-07-15 09:51:32 +08:00
%changelog
* Wed Aug 02 2023 leeffo <liweiganga@uniontech.com> - 5.4.24-1
- upgrade to version 5.4.24
2023-04-04 14:22:42 +08:00
* 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
2022-02-08 10:51:22 +08:00
* Tue Feb 08 2022 liweigang <liweiganga@uniontech.com> - 5.3.0.3-2
- fix build error
2022-06-08 17:11:21 +08:00
* Wed Jul 07 2021 weidong <weidong@uniontech.com> - 5.3.0.3-1
2021-07-07 17:19:41 +08:00
- Update to 5.3.0.3
2020-09-03 10:53:27 +08:00
* Thu Sep 3 2020 weidong <weidong@uniontech.com> - 5.0.0.3-3
- fix source url in spec
2020-08-28 10:21:05 +08:00
* Fri Aug 28 2020 chenbo pan <panchenbo@uniontech.com> - 5.0.0.3-2
- fix compile fail
2020-07-30 14:54:28 +08:00
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.0.0.3-1
- Package init