From 0baf8cdfa3ceb643306ef91b6db5f1b317438e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mr=C3=A1z?= Date: Fri, 16 Jul 2010 10:42:55 +0000 Subject: [PATCH] - added japanese translation of the man page (#611692) - updated translations --- .cvsignore | 2 +- passwd-0.77-gnome-keyring.patch | 9 --------- passwd.spec | 18 +++++++++++++----- sources | 2 +- 4 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 passwd-0.77-gnome-keyring.patch diff --git a/.cvsignore b/.cvsignore index c920e53..8abafe3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -passwd-0.77.tar.bz2 +passwd-0.78.tar.bz2 diff --git a/passwd-0.77-gnome-keyring.patch b/passwd-0.77-gnome-keyring.patch deleted file mode 100644 index f3486b2..0000000 --- a/passwd-0.77-gnome-keyring.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -up passwd-0.77/passwd.pamd.keyring passwd-0.77/passwd.pamd ---- passwd-0.77/passwd.pamd.keyring 2009-02-11 15:06:31.000000000 +0100 -+++ passwd-0.77/passwd.pamd 2010-04-06 17:13:29.000000000 +0200 -@@ -2,4 +2,4 @@ - auth include system-auth - account include system-auth - password substack system-auth ---password optional pam_gnome_keyring.so -+-password optional pam_gnome_keyring.so use_authtok diff --git a/passwd.spec b/passwd.spec index 77b7043..7005f5a 100644 --- a/passwd.spec +++ b/passwd.spec @@ -6,13 +6,12 @@ %endif Summary: An utility for setting or changing passwords using PAM Name: passwd -Version: 0.77 -Release: 5%{?dist} +Version: 0.78 +Release: 1%{?dist} License: BSD or GPLv2+ Group: System Environment/Base URL: http://fedorahosted.org/passwd Source: https://fedorahosted.org/releases/p/a/%{name}/%{name}-%{version}.tar.bz2 -Patch1: passwd-0.77-gnome-keyring.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: pam >= 1.0.90, /etc/pam.d/system-auth %if %{WITH_SELINUX} @@ -32,7 +31,6 @@ Modules) library. %prep %setup -q -n %{name}-%{version} -%patch1 -p1 -b .keyring %build %configure \ @@ -51,10 +49,16 @@ make DEBUG= RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} mandir=%{_mandir} +make install DESTDIR=$RPM_BUILD_ROOT install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/ install -m 644 passwd.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/passwd %find_lang %{name} +for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do + dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||") + lang=$(basename $dir) + echo "%%lang($lang) $dir/man*/*" >> %{name}.lang +done + %clean rm -rf $RPM_BUILD_ROOT @@ -67,6 +71,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/passwd.1* %changelog +* Fri Jul 16 2010 Tomas Mraz 0.78-1 +- added japanese translation of the man page (#611692) +- updated translations + * Tue Apr 6 2010 Tomas Mraz 0.77-5 - first part of fix for pam_gnome_keyring prompting (#578624) needs support for use_authtok to be added to pam_gnome_keyring diff --git a/sources b/sources index b1ce7ca..55dc779 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dc54bf41a67f046ab742f5b3badbd247 passwd-0.77.tar.bz2 +abbf2ea05b20f6f49efbfa447f86043b passwd-0.78.tar.bz2