## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: deepin-screensaver Version: 5.0.5 Release: %autorelease Summary: Screensaver Tool License: GPLv3+ Url: https://github.com/linuxdeepin/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: qt5-qtdeclarative-devel BuildRequires: pkgconfig(xscrnsaver) BuildRequires: make Requires: %{name}-data = %{version}-%{release} %description Deepin screensaver viewer and tools. %package data Summary: Screensaver data BuildArch: noarch Requires: xscreensaver-extras Requires: xscreensaver-gl-extras %description data Extra data for Deepin Screensaver. %prep %setup -q sed -i 's|/lib|/libexec|' xscreensaver/xscreensaver.pro common.pri sed -i 's|/usr/lib|%{_libexecdir}|' tools/preview/main.cpp %build %qmake_qt5 PREFIX=%{_prefix} %make_build %install %make_install INSTALL_ROOT=%{buildroot} %files %doc CHANGELOG.md %{_bindir}/%{name} %{_datadir}/dbus-1/services/* %{_datadir}/dbus-1/interfaces/* %files data %{_libexecdir}/%{name} %changelog * Thu Jul 21 2022 Fedora Release Engineering 5.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 5.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 07 2021 Robin Lee 5.0.5-1 - New release 5.0.5 * Wed Jul 21 2021 Fedora Release Engineering - 5.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 5.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 12 2020 Robin Lee - 5.0.4-1 - Update to 5.0.4 * Mon Jul 27 2020 Fedora Release Engineering - 0.0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 05 2019 Robin Lee - 0.0.10-1 - Release 0.0.10 * Wed Jul 24 2019 Fedora Release Engineering - 0.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 28 2019 Robin Lee - 0.0.7-1 - Initial packaging