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