commit 65f36a79dcc93b81e1322474dd6f189799667024 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:21 2019 -0400 Package init diff --git a/passwd-0.80.autotoolized.tar.bz2 b/passwd-0.80.autotoolized.tar.bz2 new file mode 100644 index 0000000..0a6810d Binary files /dev/null and b/passwd-0.80.autotoolized.tar.bz2 differ diff --git a/passwd.spec b/passwd.spec new file mode 100644 index 0000000..6b7bda0 --- /dev/null +++ b/passwd.spec @@ -0,0 +1,65 @@ +Name: passwd +Version: 0.80 +Release: 6 +Summary: An implementation of the password setting/changing utility through PAM and libuser libraries +License: BSD or GPL+ +URL: https://pagure.io/passwd +Source0: https://releases.pagure.org/passwd/passwd-%{version}.autotoolized.tar.bz2 + +BuildRequires:libselinux-devel >= 2.1.6-3 gcc glib2-devel, libuser-devel, pam-devel, libuser >= 0.53-1 +BuildRequires: gettext, popt-devel audit-libs-devel >= 2.4.5 +Requires:libselinux >= 2.1.6-3 audit >= 2.4.5 pam >= 1.0.90, /etc/pam.d/system-auth + +%description +The package contains an implementation of the password +setting/changing utility through PAM(Pluggable Authentication +Modules) and libuser libraries. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%configure --with-selinux --with-audit +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +%make_install +install -m 755 -d %{buildroot}%{_sysconfdir}/pam.d/ +install -m 644 passwd.pamd %{buildroot}%{_sysconfdir}/pam.d/passwd +%find_lang %{name} + +%check +make check + +%pre + +%preun + +%post + +%postun + +%files -f %{name}.lang +%defattr(-,root,root) +%license COPYING +%doc AUTHORS ChangeLog NEWS +%attr(4755,root,root) %{_bindir}/* +%config(noreplace) %{_sysconfdir}/pam.d/passwd + +%files help +%defattr(-,root,root) +%{_mandir}/ja/man1/*.gz +%{_mandir}/man1/*.gz + +%changelog +* Tue Sep 24 2019 openEuler Buildteam - 0.80-6 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:revise requires + +* Wed Aug 21 2019 openEuler Buildteam - 0.80-5 +- Package init