Package init
This commit is contained in:
commit
65f36a79dc
BIN
passwd-0.80.autotoolized.tar.bz2
Normal file
BIN
passwd-0.80.autotoolized.tar.bz2
Normal file
Binary file not shown.
65
passwd.spec
Normal file
65
passwd.spec
Normal file
@ -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 <buildteam@openeuler.org> - 0.80-6
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:revise requires
|
||||||
|
|
||||||
|
* Wed Aug 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.80-5
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user