1 |
shlomif |
554536 |
Name: beesu |
2 |
|
|
Version: 2.7 |
3 |
wally |
1900152 |
Release: %mkrel 10 |
4 |
shlomif |
554536 |
Summary: Graphical wrapper for su |
5 |
|
|
URL: http://www.honeybeenet.altervista.org |
6 |
|
|
Group: System/Base |
7 |
|
|
License: GPLv2+ |
8 |
|
|
Source0: http://honeybeenet.altervista.org/beesu/files/beesu-sources/%{name}-%{version}.tar.bz2 |
9 |
wally |
1453209 |
Requires: pam |
10 |
wally |
1454172 |
Requires: usermode |
11 |
wally |
1453209 |
# Obsolete all subpkgs |
12 |
|
|
Obsoletes: nautilus-beesu-manager < 2.7-6 |
13 |
|
|
Obsoletes: gedit-beesu-plugin < 2.7-6 |
14 |
|
|
Obsoletes: nemo-beesu-manager < 2.7-6 |
15 |
wally |
1900152 |
# Replace gksu-polkit |
16 |
|
|
Obsoletes: gksu-polkit < 0.0.3-0.git20131130.17 |
17 |
|
|
|
18 |
shlomif |
554536 |
%description |
19 |
|
|
Beesu is a wrapper around su and works with consolehelper under |
20 |
|
|
Mageia to let you have a graphic interface like gksu. |
21 |
|
|
|
22 |
|
|
%prep |
23 |
wally |
1453209 |
%setup |
24 |
shlomif |
554536 |
|
25 |
|
|
%build |
26 |
wally |
1453209 |
%make_build CFLAGS="%{optflags} -fno-delete-null-pointer-checks" |
27 |
shlomif |
554536 |
|
28 |
|
|
%install |
29 |
|
|
mkdir -p %{buildroot}%{_datadir}/%{name} |
30 |
wally |
1453209 |
%make_install |
31 |
shlomif |
554536 |
|
32 |
wally |
1453209 |
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ |
33 |
|
|
mv %{buildroot}%{_sysconfdir}/profile.d/beesu-bash-completion.sh \ |
34 |
|
|
%{buildroot}%{_sysconfdir}/bash_completion.d/ |
35 |
shlomif |
554536 |
|
36 |
|
|
%files |
37 |
wally |
1453209 |
%doc README |
38 |
|
|
%license COPYING |
39 |
|
|
%config(noreplace) %{_sysconfdir}/%{name}.conf |
40 |
|
|
%config(noreplace) %{_sysconfdir}/pam.d/%{name} |
41 |
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/%{name} |
42 |
|
|
%{_sysconfdir}/bash_completion.d/%{name}-bash-completion.sh |
43 |
shlomif |
554536 |
%{_sbindir}/%{name} |
44 |
|
|
%{_bindir}/%{name} |
45 |
|
|
%{_mandir}/man1/%{name}.1.* |