passwd-vl.spec 3.0 KB

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