1 | %define WITH_SELINUX 0 |
---|
2 | |
---|
3 | Summary: The passwd utility for setting/changing passwords using PAM. |
---|
4 | Summary(ja): PAM を使用する、パスワードユーティリティ |
---|
5 | Name: passwd |
---|
6 | Version: 0.71 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: BSD |
---|
9 | Group: System Environment/Base |
---|
10 | Source: passwd-%{version}.tar.bz2 |
---|
11 | |
---|
12 | Buildroot: %{_tmppath}/%{name}-root |
---|
13 | Requires: pam >= 0.99, /etc/pam.d/system-auth |
---|
14 | BuildPrereq: glib2-devel, libuser-devel, pam-devel |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | |
---|
19 | %description |
---|
20 | The passwd package contains a system utility (passwd) which sets |
---|
21 | and/or changes passwords, using PAM (Pluggable Authentication |
---|
22 | Modules). |
---|
23 | |
---|
24 | To use passwd, you should have PAM installed on your system. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | passwdパッケージはパスワードを設定/変更する為のユーティリティです。 |
---|
28 | passwdは、PAM(Pluggable Authentication Modules)を使用します。 |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q |
---|
32 | |
---|
33 | %build |
---|
34 | %configure \ |
---|
35 | %if %{WITH_SELINUX} |
---|
36 | --with-selinux |
---|
37 | %else |
---|
38 | --without-selinux |
---|
39 | %endif |
---|
40 | %__make %{?_smp_mflags} DEBUG= RPM_OPT_FLAGS="$RPM_OPT_FLAGS" |
---|
41 | |
---|
42 | %install |
---|
43 | %__make install DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} mandir=%{_mandir} |
---|
44 | strip $RPM_BUILD_ROOT%{_bindir}/passwd |
---|
45 | install -m 755 -d $RPM_BUILD_ROOT/etc/pam.d/ |
---|
46 | install -m 644 passwd.pamd $RPM_BUILD_ROOT/etc/pam.d/passwd |
---|
47 | |
---|
48 | #rm -f $RPM_BUILD_ROOT/%{_bindir}/{chfn,chsh} |
---|
49 | #rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/{chfn,chsh}.* |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root) |
---|
56 | %config /etc/pam.d/passwd |
---|
57 | %attr(4511,root,root) %{_bindir}/passwd |
---|
58 | %{_mandir}/man1/passwd.1* |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.71-1vl5 |
---|
62 | - applied new versioning policy, spec in utf-8 |
---|
63 | |
---|
64 | * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.71-0vl1 |
---|
65 | - new upstream release |
---|
66 | - build with pam-0.99.3.0 |
---|
67 | |
---|
68 | * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.68-8vl1 |
---|
69 | - sync with fedora |
---|
70 | |
---|
71 | * Thu Mar 27 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> |
---|
72 | - 0.64.1-4vl3 |
---|
73 | - rebuild with pam-0.75-48vl1 |
---|
74 | |
---|
75 | * Fri Aug 02 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> |
---|
76 | - 0.64.1-4vl2 |
---|
77 | - rebuild with pam-0.75-39vl1 |
---|
78 | |
---|
79 | * Wed Feb 21 2001 Kunio Murasawa <murasawa@marineroad.com> |
---|
80 | - 0.64.1-4vl1 |
---|
81 | - added Japanese summary and description |
---|
82 | - changed Buildroot |
---|
83 | |
---|
84 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
85 | - automatic rebuild |
---|
86 | |
---|
87 | * Mon Jun 5 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
88 | - move man pages to %{_mandir} |
---|
89 | |
---|
90 | * Thu Jun 1 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
91 | - modify PAM setup to use system-auth |
---|
92 | - modify for building as non-root users |
---|
93 | |
---|
94 | * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com> |
---|
95 | - fix manpage links |
---|
96 | |
---|
97 | * Fri Feb 04 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
98 | - document --stdin in man page |
---|
99 | - fix for gzipped man pages |
---|
100 | |
---|
101 | * Sat Apr 10 1999 Cristian Gafton <gafton@redhat.com> |
---|
102 | - first build from the new source code base. |
---|