ukui-settings-daemon/ukui-settings-daemon.spec
2020-07-24 15:07:22 +08:00

121 lines
4.5 KiB
RPMSpec

%define debug_package %{nil}
Name: ukui-settings-daemon
Version: 1.2.1
Release: 1
Summary: daemon handling the UKUI session settings
License: GPL-2.0, GPL-2+, GPL-2.1, LGPL-2.1+, GPL-3+, LGPL-2+, MIT~OldStyleWithDisclaimer+RedHat, MIT~OldStyle+RedHat
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
BuildRequires: intltool libcanberra-devel dbus-glib-devel dconf-devel fontconfig-devel glib2-devel gtk3-devel libnotify-devel nss-devel polkit-devel pulseaudio-devel startup-notification-devel libX11-devel libXext-devel libXi-devel libxklavier-devel libXrandr-devel libXt-devel mate-desktop-libs xorg-x11-server-utils
#x11proto-kb-devel
BuildRequires:mate-desktop-devel >= 1.18
BuildRequires:libmatekbd-devel >= 1.18
BuildRequires:libmatemixer-devel >= 1.18
BuildRequires:mate-common >= 1.18
Requires: mate-desktop-libs ukui-polkit ukui-settings-daemon-common
%description
This package contains the daemon which is responsible for setting the
various parameters of a UKUI session and the applications that run
under it. It handles the following kinds of settings:
.
* Keyboard: layout, accessibility options, shortcuts, media keys
* Clipboard management
* Theming: background, icons, GTK+ applications
* Cleanup of unused files
* Mouse: cursors, speed, accessibility options
* Startup of other daemons: screensaver, sound daemon
* Typing break
.
It also sets various application settings through X resources and
freedesktop.org XSETTINGS.
%package common
Summary: daemon handling the UKUI session settings (common files)
Requires: intltool libcanberra-devel dbus-glib-devel dconf-devel fontconfig-devel glib2-devel gtk3-devel libnotify-devel nss-devel polkit-devel pulseaudio-devel startup-notification-devel libX11-devel libXext-devel libXi-devel libxklavier-devel libXrandr-devel libXt-devel mate-desktop-libs xorg-x11-server-utils mate-desktop-devel libmatekbd-devel libmatemixer-devel mate-common
%description common
This package contains the daemon which is responsible for setting the
various parameters of a UKUI session and the applications that run
under it. It handles the following kinds of settings:
.
* Keyboard: layout, accessibility options, shortcuts, media keys
* Clipboard management
* Theming: background, icons, GTK+ applications
* Cleanup of unused files
* Mouse: cursors, speed, accessibility options
* Startup of other daemons: screensaver, sound daemon
* Typing break
.
It also sets various application settings through X resources and
freedesktop.org XSETTINGS.
.
This package contains the architecture independent files.
%package devel
Summary: daemon handling the UKUI session settings (development files)
Requires: intltool libcanberra-devel dbus-glib-devel dconf-devel fontconfig-devel glib2-devel gtk3-devel libnotify-devel nss-devel polkit-devel pulseaudio-devel startup-notification-devel libX11-devel libXext-devel libXi-devel libxklavier-devel libXrandr-devel libXt-devel mate-desktop-libs xorg-x11-server-utils mate-desktop-devel libmatekbd-devel libmatemixer-devel mate-common
Requires: ukui-settings-daemon
%description devel
This package contains the daemon which is responsible for setting the
various parameters of a UKUI session and the applications that run
under it. It handles the following kinds of settings:
.
* Keyboard: layout, accessibility options, shortcuts, media keys
* Clipboard management
* Theming: background, icons, GTK+ applications
* Cleanup of unused files
* Mouse: cursors, speed, accessibility options
* Startup of other daemons: screensaver, sound daemon
* Typing break
.
It also sets various application settings through X resources and
freedesktop.org XSETTINGS.
.
This package contains the development files for building
ukui-settings-daemon plugins.
%prep
%setup -q
echo $RPM_BUILD_ROOT
echo %{buildroot}
%build
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --sysconfdir=/etc
make
%install
make install DESTDIR=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_sysconfdir}/*
%{_prefix}/%{_lib}/ukui-settings-daemon/
%{_libexecdir}/ukui-settings-daemon
%{_libexecdir}/usd-datetime-mechanism
%{_libexecdir}/usd-locate-pointer
%{_datadir}/dbus-1/*
%{_datadir}/polkit-1/
%files common
%doc debian/changelog debian/copyright
%{_datadir}/glib-2.0/
%{_datadir}/icons/
%{_datadir}/locale/
%{_datadir}/man/
%{_datadir}/ukui-settings-daemon/
%files devel
%{_prefix}/include/ukui-settings-daemon/
%{_prefix}/%{_lib}/pkgconfig/
%changelog
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.1-1
- Init package for openEuler