Compare commits
10 Commits
7162748dcf
...
4122de731c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4122de731c | ||
|
|
cbf8ab9f48 | ||
|
|
f805bc1005 | ||
|
|
c0e8453b2d | ||
|
|
4d4aec83ca | ||
|
|
f8010b5439 | ||
|
|
69ca9cc485 | ||
|
|
4436993904 | ||
|
|
fb75fab481 | ||
|
|
aa257637e0 |
Binary file not shown.
BIN
usermode-1.114.tar.xz
Normal file
BIN
usermode-1.114.tar.xz
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
Name: usermode
|
||||
Version: 1.113
|
||||
Release: 1
|
||||
Version: 1.114
|
||||
Release: 3
|
||||
Summary: Tools for certain user account management tasks
|
||||
License: GPLv2+
|
||||
URL: https://pagure.io/usermode/
|
||||
@ -8,6 +8,7 @@ Source: https://releases.pagure.org/usermode/usermode-%{version}.tar.xz
|
||||
Source1: config-util
|
||||
|
||||
Requires: pam passwd util-linux
|
||||
BuildRequires: gcc
|
||||
BuildRequires: desktop-file-utils gettext intltool perl-XML-Parser util-linux
|
||||
BuildRequires: glib2-devel gtk2-devel libblkid-devel libSM-devel libselinux-devel libuser-devel
|
||||
BuildRequires: pam-devel startup-notification-devel
|
||||
@ -35,11 +36,11 @@ Package help includes man pages for usermode.
|
||||
|
||||
%build
|
||||
%configure --with-selinux
|
||||
%make_build VENDOR=openeuler
|
||||
%make_build VENDOR=%{_vendor}
|
||||
|
||||
|
||||
%install
|
||||
%make_install VENDOR=openeuler
|
||||
%make_install VENDOR=%{_vendor}
|
||||
|
||||
# make userformat symlink to usermount
|
||||
%{__ln_s} usermount %{buildroot}%{_bindir}/userformat
|
||||
@ -47,9 +48,9 @@ Package help includes man pages for usermode.
|
||||
|
||||
install -D -p -m 644 %{SOURCE1} %{buildroot}/etc/security/console.apps/config-util
|
||||
|
||||
for i in openeuler-userinfo.desktop openeuler-userpasswd.desktop openeuler-usermount.desktop; do
|
||||
for i in %{_vendor}-userinfo.desktop %{_vendor}-userpasswd.desktop %{_vendor}-usermount.desktop; do
|
||||
echo 'NotShowIn=GNOME;KDE;' >>%{buildroot}%{_datadir}/applications/$i
|
||||
desktop-file-install --vendor openeuler --delete-original \
|
||||
desktop-file-install --vendor %{_vendor} --delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/$i
|
||||
done
|
||||
@ -70,6 +71,24 @@ done
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 10 2023 yeqinglong <yeqinglong@kylinsec.com.cn> - 1.114-3
|
||||
- modify openeuler to _vendor
|
||||
|
||||
* Thu Oct 20 2022 zhouchenchen <zhouchenchen@huawei.com> - 1.114-2
|
||||
- update version to 1.114-2
|
||||
|
||||
* Tue Nov 30 2021 wangjie <wangjie375@huawei.com> - 1.114-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Update usermode to 1.114
|
||||
|
||||
* Thu May 27 2021 panxiaohe <panxiaohe@huawei.com> - 1.113-3
|
||||
- Add gcc to BuildRequires
|
||||
|
||||
* Thu Jul 30 2020 shenyangyang <shenyangyang4@huawei.com> - 1.113-2
|
||||
- Do not use deprecated flask.h and av_permissions
|
||||
|
||||
* Fri Jul 24 2020 Hugel <gengqihu1@huawei.com> - 1.113-1
|
||||
- Update to 1.113
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user