45 lines
1.2 KiB
RPMSpec
45 lines
1.2 KiB
RPMSpec
Name: xfce-polkit
|
|
Version: 0.3
|
|
Release: 1
|
|
Summary: Simple PolicyKit authentication agent for Xfce
|
|
License: GPLv2+
|
|
#Group: Development/Libraries
|
|
URL: https://github.com/ncopa/%{name}
|
|
Source0: https://github.com/ncopa/xfce-polkit/releases/download/v0.3/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
#BuildArch: noarch
|
|
BuildRequires: gcc
|
|
BuildRequires: automake
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: libxfce4ui-devel polkit-devel
|
|
Provides: PolicyKit-authentication-agent
|
|
Requires: polkit >= 0.97
|
|
|
|
%description
|
|
A simple PolicyKit authentication agent for XFCE
|
|
|
|
%prep
|
|
%autosetup
|
|
autoreconf -fi
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
desktop-file-edit --remove-key=NotShowIn --add-only-show-in=XFCE \
|
|
%{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc AUTHORS README.md
|
|
# do not distribute empty documentation files
|
|
#doc ChangeLog NEWS
|
|
%{_sysconfdir}/xdg/autostart/xfce-polkit.desktop
|
|
%{_libexecdir}/%{name}
|
|
|
|
%changelog
|
|
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.3-1
|
|
- Init package
|