SPECS: filezilla.spec - use glibc locale dirs and names
glen
glen at pld-linux.org
Thu Feb 23 14:54:14 CET 2006
Author: glen Date: Thu Feb 23 13:54:14 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use glibc locale dirs and names
---- Files affected:
SPECS:
filezilla.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/filezilla.spec
diff -u SPECS/filezilla.spec:1.3 SPECS/filezilla.spec:1.4
--- SPECS/filezilla.spec:1.3 Thu Feb 23 12:58:35 2006
+++ SPECS/filezilla.spec Thu Feb 23 14:54:09 2006
@@ -1,7 +1,7 @@
# $Revision$, $Date$
%define _ver %(echo %{version} | tr . _)
%define _snap 20060223
-%define _rel 0.1
+%define _rel 0.7
Summary: FileZilla FTP client
Name: filezilla
Version: 3
@@ -10,6 +10,7 @@
Group: Applications/Networking
Source0: FileZilla%{version}-%{_snap}.tar.bz2
# Source0-md5: 17148e61cae5e108e3d98faf6a5b1165
+Patch0: %{name}-locales.patch
URL: http://filezilla.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -24,8 +25,18 @@
%prep
%setup -q -n FileZilla%{version}
+%patch0 -p1
mkdir -p config
+cd locales
+mv et{_EE,}.po
+mv da{_DK,}.po
+mv id{_ID,}.po
+mv ja{_JP,}.po
+mv ko{_KR,}.po
+mv nb{_NO,}.po
+mv pl{_PL,}.po
+
%build
%{__aclocal} -I .
%{__autoheader}
@@ -43,45 +54,18 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS docs/todo.txt
%attr(755,root,root) %{_bindir}/filezilla
%attr(755,root,root) %{_bindir}/fzsftp
%dir %{_datadir}/filezilla
%{_datadir}/filezilla/resources
-%dir %{_datadir}/filezilla/locales
-%lang(bg) %{_datadir}/filezilla/locales/bg
-%lang(ca_ES) %{_datadir}/filezilla/locales/ca_ES
-%lang(cs) %{_datadir}/filezilla/locales/cs
-%lang(da) %{_datadir}/filezilla/locales/da_DK
-%lang(de) %{_datadir}/filezilla/locales/de
-%lang(es) %{_datadir}/filezilla/locales/es
-%lang(et) %{_datadir}/filezilla/locales/et_EE
-%lang(eu) %{_datadir}/filezilla/locales/eu
-%lang(fr_CA) %{_datadir}/filezilla/locales/fr_CA
-%lang(fr_FR) %{_datadir}/filezilla/locales/fr_FR
-%lang(gl) %{_datadir}/filezilla/locales/gl
-%lang(id) %{_datadir}/filezilla/locales/id_ID
-%lang(it_IT) %{_datadir}/filezilla/locales/it_IT
-%lang(ja) %{_datadir}/filezilla/locales/ja_JP
-%lang(ko) %{_datadir}/filezilla/locales/ko_KR
-%lang(ku) %{_datadir}/filezilla/locales/ku
-%lang(lt) %{_datadir}/filezilla/locales/lt
-%lang(mk) %{_datadir}/filezilla/locales/mk
-%lang(nb) %{_datadir}/filezilla/locales/nb_NO
-%lang(nl) %{_datadir}/filezilla/locales/nl
-%lang(pl) %{_datadir}/filezilla/locales/pl_PL
-%lang(pt_BR) %{_datadir}/filezilla/locales/pt_BR
-%lang(pt) %{_datadir}/filezilla/locales/pt_PT
-%lang(sl) %{_datadir}/filezilla/locales/sl
-%lang(sv_SE) %{_datadir}/filezilla/locales/sv_SE
-%lang(tr) %{_datadir}/filezilla/locales/tr
-%lang(zh_CN) %{_datadir}/filezilla/locales/zh_CN
-%lang(zh_TW) %{_datadir}/filezilla/locales/zh_TW
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -89,6 +73,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/02/23 13:54:09 glen
+- use glibc locale dirs and names
+
Revision 1.3 2006/02/23 11:58:35 glen
- %lang changes as understood from devel-en posts
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/filezilla.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list