passwd-vl.spec 2.7 KB

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