]> git.pld-linux.org Git - packages/checkpassword-pam.git/blame_incremental - checkpassword-pam.spec
- tabs in preamble
[packages/checkpassword-pam.git] / checkpassword-pam.spec
... / ...
CommitLineData
1Summary: The uniform PAM password-checking interface
2Summary(pl.UTF-8): Jednolity interfejs do sprawdzania haseł przez PAM
3Name: checkpassword-pam
4Version: 0.99
5Release: 2
6License: GPL
7Group: Applications/System
8Source0: http://dl.sourceforge.net/checkpasswd-pam/%{name}-%{version}.tar.gz
9# Source0-md5: 47db7b71f281115b030d4947f09f4374
10URL: http://checkpasswd-pam.sourceforge.net/
11BuildRequires: pam-devel
12BuildRequires: rpmbuild(macros) >= 1.177
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16checkpassword provides a simple, uniform password-checking interface
17to all root applications. It is suitable for use by applications such
18as login, ftpd, and pop3d. checkpassword-pam uses PAM library to check
19passwords.
20
21There are checkpassword-compatible tools that support alternate
22password databases, secret login names, long passwords, subaccounts,
23one-time passwords, detailed accounting, and many other features.
24Applications that use the checkpassword interface will work with all
25of these tools. Several tools have been specifically designed to
26support POP toasters.
27
28%description -l pl.UTF-8
29checkpassword udostępnia prosty, jednolity interfejs do sprawdzania
30haseł we wszystkich aplikacjach z prawami roota. Może być używany w
31aplikacjach takich jak login, ftpd i pop3d. checkpassword-pam używa
32biblioteki PAM do sprawdzania haseł.
33
34Dostępne są narzędzia kompatybilne z checkpassword obsługujące
35alternatywne bazy haseł, ukryte nazwy użytkowników, długie hasła,
36podkonta, hasła jednorazowe, szczegółowy accounting i wiele innych
37możliwości. Aplikacje używające interfejsu checkpassword będą działać
38z dowolnym z tych narzędzi. Kilka narzędzi zostało zaprojektowanych do
39obsługi POP.
40
41%prep
42%setup -q
43
44%build
45%configure
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8}
52install checkpassword-pam $RPM_BUILD_ROOT%{_sbindir}
53install checkpassword-pam.8 $RPM_BUILD_ROOT%{_mandir}/man8
54
55# compat
56ln -s ../sbin/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%triggerpostun -- %{name} < 0.99-2
62ln -sf %{_sbindir}/%{name} %{_bindir}/%{name}
63%banner %{name} -e <<EOF
64The %{name} binary was moved to %{_sbindir}, please update your
65configuration! I've created compat symlink so you don't feel so much
66pain of that change.
67EOF
68
69%files
70%defattr(644,root,root,755)
71%doc AUTHORS README NEWS
72%ghost %{_bindir}/*
73%attr(755,root,root) %{_sbindir}/*
74%{_mandir}/man8/*
This page took 0.051248 seconds and 4 git commands to generate.