source: projects/specs/trunk/p/passwd/passwd-vl.spec @ 8486

Revision 8486, 3.0 KB checked in by daisuke, 10 years ago (diff)

passwd: update to 0.79

Line 
1%define WITH_SELINUX 0
2
3Summary: The passwd utility for setting/changing passwords using PAM.
4Summary(ja): PAM を使用する、パスワードユーティリティ
5Name: passwd
6Version: 0.79
7Release: 1%{?_dist_release}
8License: BSD
9Group: System Environment/Base
10Source: passwd-%{version}.tar.bz2
11
12Buildroot: %{_tmppath}/%{name}-root
13Requires: pam >= 0.99, /etc/pam.d/system-auth
14BuildRequires: glib2-devel, libuser-devel, pam-devel
15BuildRequires: popt-devel
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: daisuke
20
21%description
22The passwd package contains a system utility (passwd) which sets
23and/or changes passwords, using PAM (Pluggable Authentication
24Modules).
25
26To use passwd, you should have PAM installed on your system.
27
28%description -l ja
29passwdパッケージはパスワードを設定/変更する為のユーティリティです。
30passwdは、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}
46strip $RPM_BUILD_ROOT%{_bindir}/passwd
47install -m 755 -d $RPM_BUILD_ROOT/etc/pam.d/
48install -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
53%find_lang %{name}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files -f %{name}.lang
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
65* Sun May 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.79-1
66- update to 0.79
67
68* Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.78-1
69- new upstream release
70
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.
Note: See TracBrowser for help on using the repository browser.