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