packages: ldap-account-manager/ldap-account-manager.spec - add %lang tags -...
glen
glen at pld-linux.org
Tue Nov 10 10:07:08 CET 2009
Author: glen Date: Tue Nov 10 09:07:08 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- add %lang tags
- allow login by search method
---- Files affected:
packages/ldap-account-manager:
ldap-account-manager.spec (1.23 -> 1.24)
---- Diffs:
================================================================
Index: packages/ldap-account-manager/ldap-account-manager.spec
diff -u packages/ldap-account-manager/ldap-account-manager.spec:1.23 packages/ldap-account-manager/ldap-account-manager.spec:1.24
--- packages/ldap-account-manager/ldap-account-manager.spec:1.23 Mon Nov 2 14:07:40 2009
+++ packages/ldap-account-manager/ldap-account-manager.spec Tue Nov 10 10:07:03 2009
@@ -7,7 +7,7 @@
Summary(pl.UTF-8): LDAP Account Manager (LAM) - interfejs WWW do zarządzania kontami na serwerze LDAP
Name: ldap-account-manager
Version: 2.8.0
-Release: 0.12
+Release: 0.13
License: GPL v2+
Group: Applications/WWW
Source0: http://dl.sourceforge.net/lam/%{name}-%{version}.tar.gz
@@ -15,7 +15,8 @@
Source1: apache.conf
Source2: lighttpd.conf
URL: http://lam.sourceforge.net/
-Patch0: configdir.patch
+Patch0: configdir.patch
+Patch1: loginbysearch.patch
BuildRequires: rpmbuild(macros) >= 1.268
Requires: perl-base
Requires: php-common >= 4:5.0
@@ -126,6 +127,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
cp -a config/config.cfg{_sample,}
cp -a config/lam.conf{_sample,}
@@ -135,6 +137,8 @@
rm COPYING Makefile.in configure install.sh docs/README.fpdf.htm
+rm locale/*/LC_MESSAGES/*.po
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir},%{_phpdocdir}}
@@ -200,11 +204,27 @@
%{_appdir}/graphics
%{_appdir}/help
%{_appdir}/lib
-%{_appdir}/locale
%{_appdir}/style
%{_appdir}/templates
%{_appdir}/index.html
+%dir %{_appdir}/locale
+# XXX: verify language codes
+%lang(ca_ES) %{_appdir}/locale/ca_ES
+%lang(cs) %{_appdir}/locale/cs_CZ
+%lang(de) %{_appdir}/locale/de_DE
+%lang(es) %{_appdir}/locale/es_ES
+%lang(fr) %{_appdir}/locale/fr_FR
+%lang(hu) %{_appdir}/locale/hu_HU
+%lang(it) %{_appdir}/locale/it_IT
+%lang(ja) %{_appdir}/locale/ja_JP
+%lang(nl) %{_appdir}/locale/nl_NL
+%lang(pl) %{_appdir}/locale/pl_PL
+%lang(pt_BR) %{_appdir}/locale/pt_BR
+%lang(ru) %{_appdir}/locale/ru_RU
+%lang(zh_CN) %{_appdir}/locale/zh_CN
+%lang(zh_TW) %{_appdir}/locale/zh_TW
+
# XXX: move out of lam topdir
%exclude %{_appdir}/lib/lamdaemon.pl
@@ -226,6 +246,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.24 2009/11/10 09:07:03 glen
+- add %lang tags
+- allow login by search method
+
Revision 1.23 2009/11/02 13:07:40 glen
- md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ldap-account-manager/ldap-account-manager.spec?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list