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

Revision 12332, 3.2 KB checked in by tomop, 4 years ago (diff)

updated 4 packages

gzip-1.10-1

mingetty-1.08-3

passwd-0.80-1

webkitgtk4-2.28.0-1

Line 
1%define WITH_SELINUX 0
2
3Summary: The passwd utility for setting/changing passwords using PAM.
4Summary(ja): PAM を使用する、パスワードユーティリティ
5Name: passwd
6Version: 0.80
7Release: 1%{?_dist_release}
8Group: System Environment/Base
9License: BSD
10URL:    https://pagure.io/passwd
11Source: https://pagure.io/passwd/archive/passwd-%{version}/passwd-passwd-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-root
14Requires: pam >= 0.99, /etc/pam.d/system-auth
15BuildRequires: glib2-devel, libuser-devel, pam-devel
16BuildRequires: popt-devel
17
18Vendor: Project Vine
19Distribution: Vine Linux
20Packager: daisuke
21
22%description
23The passwd package contains a system utility (passwd) which sets
24and/or changes passwords, using PAM (Pluggable Authentication
25Modules).
26
27To use passwd, you should have PAM installed on your system.
28
29%description -l ja
30passwdパッケージはパスワードを設定/変更する為のユーティリティです。
31passwdは、PAM(Pluggable Authentication Modules)を使用します。
32
33%prep
34%setup -q -n passwd-passwd-%{version}
35
36autoreconf -ivf
37
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}
49strip $RPM_BUILD_ROOT%{_bindir}/passwd
50install -m 755 -d $RPM_BUILD_ROOT/etc/pam.d/
51install -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
56%find_lang %{name}
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files -f %{name}.lang
62%license COPYING
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
69* Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.80-1
70- updated to 0.80.
71
72* Sun May 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.79-1
73- update to 0.79
74
75* Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.78-1
76- new upstream release
77
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.
Note: See TracBrowser for help on using the repository browser.