update upstream version 3.0.13
This commit is contained in:
parent
074a3f1645
commit
adb6589411
Binary file not shown.
BIN
kylin-display-switch-3.0.13.tar.gz
Normal file
BIN
kylin-display-switch-3.0.13.tar.gz
Normal file
Binary file not shown.
@ -1,20 +1,24 @@
|
||||
%define debug_package %{nil}
|
||||
Name: kylin-display-switch
|
||||
Version: 2.0.13
|
||||
Release: 3
|
||||
Version: 3.0.13
|
||||
Release: 1
|
||||
Summary: Gui tool for display switching
|
||||
License: GPL-3
|
||||
URL: https://github.com/ukui/kylin-display-switch
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-distutils-extra
|
||||
BuildRequires: python3-rpm-macros
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: xcb-util-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: gsettings-qt-devel
|
||||
BuildRequires: mate-desktop-devel
|
||||
BuildRequires: kf5-kwindowsystem-devel
|
||||
BuildRequires: libkscreen-qt5-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
|
||||
Requires: python3-qt5
|
||||
Requires: python3-xlib
|
||||
Requires: python3-evdev
|
||||
|
||||
%description
|
||||
Kylin Display Switch is a Gui tool managing display output.
|
||||
@ -26,41 +30,37 @@ Requires: python3-evdev
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
sed -i 's|../lib/systemd/system/|lib/systemd/system/|g' setup.py
|
||||
%build
|
||||
|
||||
%{py3_build}
|
||||
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-display-switch.pro
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
%find_lang %name
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make INSTALL_ROOT=%{buildroot} install
|
||||
%post
|
||||
set -e
|
||||
|
||||
#systemctl enable kylin-display-switch.service
|
||||
|
||||
linkfile="/usr/bin/super_kds"
|
||||
test -L $linkfile && `rm $linkfile`
|
||||
ln -s /usr/share/kylin-display-switch/super_kylin_display_switch.py $linkfile
|
||||
|
||||
exit 0
|
||||
|
||||
%files -f %name.lang
|
||||
%files
|
||||
%doc debian/changelog
|
||||
%license debian/copyright
|
||||
%{_sysconfdir}/xdg/autostart/kylin-display-switch.desktop
|
||||
%{_sysconfdir}/dbus-1/system.d/com.kylin.display.switch.conf
|
||||
%{_bindir}/*
|
||||
/usr/lib/systemd/system/kylin-display-switch.service
|
||||
%{_datadir}/kylin-display-switch/
|
||||
%{_datadir}/glib-2.0/schemas/org.kylin.display.switch.gschema.xml
|
||||
%{_datadir}/dbus-1/system-services/com.kylin.display.switch.service
|
||||
%{_mandir}/man1/kds.1.gz
|
||||
%{_mandir}/man1/kdsSysDbusLauncher.1.gz
|
||||
%{python3_sitelib}/kylin_display_switch-*.egg-info
|
||||
/etc/dbus-1/system.d/org.ukui.kds.conf
|
||||
/etc/xdg/autostart/kylin-display-switch-daemon.desktop
|
||||
/etc/xdg/autostart/kylin-display-switch-mkt.desktop
|
||||
%{_bindir}/emdaemon
|
||||
%{_bindir}/kmdaemon
|
||||
%{_bindir}/kydisplayswitch
|
||||
%{_bindir}/launchdbus
|
||||
%{_bindir}/mktip
|
||||
%{_prefix}/lib/systemd/system/kylin-display-switch.service
|
||||
%{_datadir}/dbus-1/system-services/org.ukui.kds.service
|
||||
%{_datadir}/glib-2.0/schemas/org.ukui.kds.gschema.xml
|
||||
|
||||
%changelog
|
||||
* Wed Mar 02 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.13-1
|
||||
- update upstream version 3.0.13
|
||||
|
||||
* Thu Feb 10 2022 tanyulong <tanyulong@kylinos.cn> - 2.0.13-3
|
||||
- rebuild
|
||||
|
||||
@ -68,4 +68,4 @@ exit 0
|
||||
- fix issue: enable kylin-display-switch.service failed
|
||||
|
||||
* Wen Nov 11 2020 douyan <douyan@kylinos.cn> - 2.0.13-1
|
||||
- update to upstream version 2.0.12-1+1031
|
||||
- update to upstream version 2.0.12-1+1031
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user