1 Star 0 Fork 1

cuiyudong123/mate-user-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mate-user-admin.spec 2.72 KB
一键复制 编辑 原始数据 按行查看 历史
cuiyudong123 提交于 2024-10-30 17:36 . add package and spec
# project name is different at github
%global project_name user-admin
Name: mate-user-admin
Version: 1.5.1
Release: 1%{?dist}
Summary: User management tool
License: GPLv3+
URL: https://github.com/zhuyaliang/%{project_name}
# downloading the tarball
# spectool -g mate-user-admin.spec
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: accountsservice-devel
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: group-service-devel
BuildRequires: gtk3-devel
BuildRequires: libpwquality-devel
BuildRequires: libxcrypt-devel
BuildRequires: mate-desktop-devel
BuildRequires: meson
BuildRequires: polkit-devel
%description
Mate User management tool
%prep
%autosetup -p1 -n %{project_name}-%{version}
sed -i -e 's/OnlyShowIn=MATE;/OnlyShowIn=MATE;XFCE;LXDE;/g' data/mate-user-admin.desktop.in
sed -i -e 's/nugroups =mail;audio;video;lightdm;/#nugroups =mail;audio;video;lightdm/g' data/mate-user-admin/nuconfig
%build
%meson
%meson_build
%install
%meson_install
desktop-file-install \
--delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/mate-user-admin.desktop
%find_lang %{name} --with-gnome --all-name
%files -f %{name}.lang
%doc README.md
%license COPYING
%{_bindir}/mate-user-admin
%dir %{_sysconfdir}/mate-user-admin
%config %{_sysconfdir}/mate-user-admin/nuconfig
%{_datadir}/applications/mate-user-admin.desktop
%{_datadir}/metainfo/mate-user-admin.appdata.xml
%{_datadir}/mate-user-admin/
%{_datadir}/icons/hicolor/*/apps/user-admin.png
%{_datadir}/polkit-1/actions/org.mate.user.admin.policy
%changelog
* Sun Oct 13 2019 Wolfgang Ulbrich <fedora@raveit.de> - 1.5.1-1
- update to 1.15.1
* Sun Jul 28 2019 Wolfgang Ulbrich <fedora@raveit.de> - 1.4.2-1
- update to 1.14.2
- add LXFCE and XFCE to desktop file
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 1.4.1-2
- Rebuild with Meson fix for #1699099
* Mon Mar 25 2019 Wolfgang Ulbrich <fedora@raveit.de> - 1.4.1-1
- update to 1.4.1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 24 2019 Wolfgang Ulbrich <fedora@raveit.de> - 1.3.1-1
- update to 1.2.1
* Thu Dec 13 2018 Wolfgang Ulbrich <fedora@raveit.de> - 1.2.1-1
- update to 1.2.1
* Tue Sep 11 2018 Wolfgang Ulbrich <fedora@raveit.de> - 1.1.1-1
- update to 1.1.1
* Mon Sep 03 2018 Wolfgang Ulbrich <fedora@raveit.de> - 1.0.0-1
- initial package build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cuiyudong123/mate-user-admin.git
git@gitee.com:cuiyudong123/mate-user-admin.git
cuiyudong123
mate-user-admin
mate-user-admin
master

搜索帮助