package init
This commit is contained in:
parent
e3ab807edf
commit
ea3c4ca06f
BIN
time-shutdown-1.1.1.tar.gz
Normal file
BIN
time-shutdown-1.1.1.tar.gz
Normal file
Binary file not shown.
51
time-shutdown.spec
Normal file
51
time-shutdown.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: time-shutdown
|
||||
Version: 1.1.1
|
||||
Release: 1
|
||||
Summary: The time-shutdown is mainly used in the desktop operating system
|
||||
|
||||
License: GPL-3+
|
||||
URL: https://github.com/ukui/time-shutdown
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gsettings-qt-devel
|
||||
BuildRequires: libX11-devel
|
||||
Requires: gsettings-qt
|
||||
Requires: libX11
|
||||
Requires: ukui-notification-daemon
|
||||
|
||||
%description
|
||||
The time-shutdown is mainly used in the desktop operating system.
|
||||
Timed shutdown program The shutdown frequency can be selected.
|
||||
When the time is set, the shutdown interface will be triggered
|
||||
and a notification popup will be sent. You can select, postpone and set.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
mkdir qmake-build
|
||||
pushd qmake-build
|
||||
%{qmake_qt5} ..
|
||||
%{make_build}
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd qmake-build
|
||||
%{make_install} INSTALL_ROOT=%{buildroot}
|
||||
popd
|
||||
|
||||
%files
|
||||
%doc debian/changelog
|
||||
%license debian/copyright
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/ukui-time-shotdown.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.ukui.time.shutdown.settings.gschema.xml
|
||||
%{_datadir}/ukui-time-shutdown/time-shutdown_zh_CN.qm
|
||||
|
||||
%changelog
|
||||
* Wen Nov 11 2020 douyan <douyan@kylinos.cn> - 1.1.1-1
|
||||
- update to upstream version 1.1.0-1-0001+1031
|
||||
Loading…
x
Reference in New Issue
Block a user