SPECS: koffice-l10n.spec - updated to 1.4.1 (TODO: obsoletes for k...

arekm arekm at pld-linux.org
Sat Oct 8 14:40:35 CEST 2005


Author: arekm                        Date: Sat Oct  8 12:40:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.4.1 (TODO: obsoletes for koffice-i18n)

---- Files affected:
SPECS:
   koffice-l10n.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/koffice-l10n.spec
diff -u SPECS/koffice-l10n.spec:1.16 SPECS/koffice-l10n.spec:1.17
--- SPECS/koffice-l10n.spec:1.16	Fri Jul  8 22:51:49 2005
+++ SPECS/koffice-l10n.spec	Sat Oct  8 14:40:30 2005
@@ -1,13 +1,70 @@
 # $Revision$, $Date$
+# TODO:
+# - add obsoletes for koffice-i18n
+
 Summary:	KOffice suite - international support
 Summary(pl):	KOffice - wsparcie dla wielu języków
-Name:		koffice-i18n
-Version:	1.3.5
-Release:	1
+Name:		koffice-l10n
+Version:	1.4.1
+Release:	0.1
 License:	GPL
 Group:		X11/Applications
-Source0:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5:	7a4af78be2a9e09a148717079f44a7a7
+Source0:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-bg-%{version}.tar.bz2
+# Source0-md5:	445f35bf43b60c7799df116bd90957ad
+Source1:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-ca-%{version}.tar.bz2
+# Source1-md5:	f011aa527e4b476f18f1fda9a043f81b
+Source2:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-cs-%{version}.tar.bz2
+# Source2-md5:	8b56e381765bece8a32fec3b67e881c2
+Source3:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-cy-%{version}.tar.bz2
+# Source3-md5:	e15377d70faef67a91a361b421b8be84
+Source4:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-da-%{version}.tar.bz2
+# Source4-md5:	3bcda6ccf32a2b0916f5de47981be655
+Source5:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-de-%{version}.tar.bz2
+# Source5-md5:	b54a04db280a5b00f0105407c24ce49c
+Source6:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-el-%{version}.tar.bz2
+# Source6-md5:	a744de5d6e97a25257a809f7a0f79a11
+Source7:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-en_GB-%{version}.tar.bz2
+# Source7-md5:	deaaf836cce7efcd9c83d800a6b4e51b
+Source8:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-es-%{version}.tar.bz2
+# Source8-md5:	3872dfdfb6b12532218daf8f61f94282
+Source9:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-et-%{version}.tar.bz2
+# Source9-md5:	0ecd275357b76d245b2367a1925bda59
+Source10:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-fi-%{version}.tar.bz2
+# Source10-md5:	a2e26094907dc77365266c215183c587
+Source11:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-fr-%{version}.tar.bz2
+# Source11-md5:	37a18640975a8a1ba38044a6ea7dbd37
+Source12:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-hu-%{version}.tar.bz2
+# Source12-md5:	95e046ab8097fda8b4f146b4a625b7a3
+Source13:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-it-%{version}.tar.bz2
+# Source13-md5:	cac43b60ea3d01cfa0ac337bc0a296be
+Source14:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-nb-%{version}.tar.bz2
+# Source14-md5:	0d9c12a3881861377130801a3a431dd2
+Source15:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-nl-%{version}.tar.bz2
+# Source15-md5:	a960e30b5bd883ed71ada339f238bb38
+Source16:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-nn-%{version}.tar.bz2
+# Source16-md5:	7e55ada0f26bc0125ae26ab7c7b1eae2
+Source17:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-pl-%{version}.tar.bz2
+# Source17-md5:	c6c38ec4a42d2c2abd289b83e2398c21
+Source18:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-pt-%{version}.tar.bz2
+# Source18-md5:	af2c79e0694d913a749a9591598641c5
+Source19:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-pt_BR-%{version}.tar.bz2
+# Source19-md5:	96f2a0ba7a249078e64ea319b8f27dc9
+Source20:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-ru-%{version}.tar.bz2
+# Source20-md5:	d198b6cc3574ea9305701a48324085bb
+Source21:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-sl-%{version}.tar.bz2
+# Source21-md5:	3c27784f5630ca6f3b0cfbae89271176
+Source22:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-sr-%{version}.tar.bz2
+# Source22-md5:	f49d2141aa8bd2c68f0ab892cdc4e1a8
+Source23:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-sr@Latn-%{version}.tar.bz2
+# Source23-md5:	41fecc81a0bfbce8eaf5f40e978be3fe
+Source24:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-sv-%{version}.tar.bz2
+# Source24-md5:	58ffb4991e48caa73f434f30ca2b4761
+Source25:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-ta-%{version}.tar.bz2
+# Source25-md5:	43e954db7f2af6f4c4f34a85a31e33d2
+Source26:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-tg-%{version}.tar.bz2
+# Source26-md5:	2e35a578c8afb853ef5c23e71c2d575e
+Source27:	ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/src/koffice-l10n/%{name}-zh_CN-%{version}.tar.bz2
+# Source27-md5:	02491c50d888600dccd1685a9ef7ed6c
 BuildRequires:	gettext-devel
 # It creates symlinks to some not-translated files.
 BuildRequires:	kdelibs-devel >= 9:3.2
@@ -885,7 +942,7 @@
 KOffice - wsparcie dla języka zuluskiego.
 
 %prep
-%setup -q
+%setup -q -c -T -a0 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27
 
 %build
 kde_htmldir="%{_kdedocdir}"; export kde_htmldir
@@ -894,22 +951,28 @@
 LDFLAGS="%{rpmldflags}"
 #export UNSERMAKE=%{_datadir}/unsermake/unsermake
 
-%{__make} -f admin/Makefile.common cvs
-
-%configure
-%{__make} \
-	RPM_OPT_FLAGS="%{rpmcflags}" \
-	kde_htmldir="%{_kdedocdir}" \
-	kde_libs_htmldir="%{_kdedocdir}"
+for dir in %{name}-*-%{version}; do
+	cd "$dir"
+	%configure
+	%{__make} \
+		RPM_OPT_FLAGS="%{rpmcflags}" \
+		kde_htmldir="%{_kdedocdir}" \
+		kde_libs_htmldir="%{_kdedocdir}"
+	cd ..
+done
 
 %install
 rm -rf $RPM_BUILD_ROOT
 rm -rf *.lang
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	kde_htmldir="%{_kdedocdir}" \
-	kde_libs_htmldir="%{_kdedocdir}"
+for dir in %{name}-*-%{version}; do
+	cd "$dir"
+	%{__make} install \
+		DESTDIR=$RPM_BUILD_ROOT \
+		kde_htmldir="%{_kdedocdir}" \
+		kde_libs_htmldir="%{_kdedocdir}"
+	cd ..
+done
 
 FindLang() {
 #    $1 - short language name
@@ -934,9 +997,6 @@
     fi
 }
 
-# rename ven -> ve
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/ve{n,}
-
 ziew="example \
 graphite \
 kdatabase \
@@ -1009,8 +1069,10 @@
 FindLang sk Slovak
 FindLang sl Slovenian
 FindLang sr Serbian
+FindLang sr at Latn Serbian_Latin
+cat Serbian_Latin.lang >> Serbian.lang
 FindLang sv Swedish
-##FindLang ta Tamil
+FindLang ta Tamil
 FindLang tg Tajik
 FindLang th Thai
 FindLang tr Turkish
@@ -1123,7 +1185,8 @@
 %defattr(644,root,root,755)
 %files -f Swedish.lang Swedish
 %defattr(644,root,root,755)
-##%files -f Tamil.lang Tamil
+%files -f Tamil.lang Tamil
+%defattr(644,root,root,755)
 %files -f Tajik.lang Tajik
 %defattr(644,root,root,755)
 %files -f Thai.lang Thai
@@ -1151,6 +1214,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/10/08 12:40:30  arekm
+- updated to 1.4.1 (TODO: obsoletes for koffice-i18n)
+
 Revision 1.16  2005/07/08 20:51:49  darekr
 - _kdedocdir needs macros 1.129
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/koffice-l10n.spec?r1=1.16&r2=1.17&f=u




More information about the pld-cvs-commit mailing list