SPECS: kde-i18n.spec - builds/packages exepct fa locale is broken

glen glen at pld-linux.org
Tue Oct 9 16:55:23 CEST 2007


Author: glen                         Date: Tue Oct  9 14:55:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds/packages exepct fa locale is broken

---- Files affected:
SPECS:
   kde-i18n.spec (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: SPECS/kde-i18n.spec
diff -u SPECS/kde-i18n.spec:1.181 SPECS/kde-i18n.spec:1.182
--- SPECS/kde-i18n.spec:1.181	Tue Oct  9 13:55:45 2007
+++ SPECS/kde-i18n.spec	Tue Oct  9 16:55:18 2007
@@ -250,7 +250,8 @@
 %endif
 BuildRequires:	gettext-devel
 # It creates symlinks to some not-translated files.
-BuildRequires:	kdelibs-devel >= %{_minlibsevr}
+#BuildRequires:	kdelibs-devel >= %{_minlibsevr}
+BuildRequires:	kdelibs-devel
 BuildRequires:	libxml2-progs >= 2.4.2
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -1486,6 +1487,7 @@
 
 %prep
 %setup -qcT %(seq -f '-a %g' 0 68 | xargs)
+rm -rf kde-i18n-fa-3.5.8 # broken
 
 %build
 for dir in kde-i18n-*-%{version}; do
@@ -1499,8 +1501,8 @@
 done
 
 %install
-if [ ! -f installed.stamp -o ! -d $RPM_BUILD_ROOT ]; then
-	rm -rf $RPM_BUILD_ROOT
+if [ ! -f makeinstall.stamp -o ! -d $RPM_BUILD_ROOT ]; then
+	rm -rf makeinstall.stamp installed.stamp $RPM_BUILD_ROOT
 
 	for dir in kde-i18n-*-%{version}; do
 		%{__make} -C "$dir" install \
@@ -1508,20 +1510,19 @@
 			kde_htmldir="%{_kdedocdir}" \
 			kde_libs_htmldir="%{_kdedocdir}"
 	done
+	touch makeinstall.stamp
+fi
 
+if [ ! -f installed.stamp ]; then
 	# TODO: verify is this renaming ok
 	mv $RPM_BUILD_ROOT%{_datadir}/apps/katepart/syntax/logohighlightstyle.de{_DE,}.xml
 	mv $RPM_BUILD_ROOT%{_datadir}/apps/katepart/syntax/logohighlightstyle.fr{_FR,}.xml
-	mv $RPM_BUILD_ROOT%{_datadir}/apps/katepart/syntax/logohighlightstyle.mk{_MK,}.xml
 	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/data/logokeywords.de{_DE,}.xml
 	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/data/logokeywords.fr{_FR,}.xml
-	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/data/logokeywords.mk{_MK,}.xml
 	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/examples/de{_DE,}
 	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/examples/fr{_FR,}
-	mv $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/examples/mk{_MK,}
 
 	# useless for the user
-	rm $RPM_BUILD_ROOT%{_datadir}/locale/fa/COPYING
 	rm $RPM_BUILD_ROOT%{_datadir}/locale/nb/README
 	rm $RPM_BUILD_ROOT%{_datadir}/locale/se/ChangeLog
 	rm $RPM_BUILD_ROOT%{_datadir}/locale/fr/nbsp_gui_fr.txt
@@ -1999,6 +2000,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.182  2007/10/09 14:55:18  glen
+- builds/packages exepct fa locale is broken
+
 Revision 1.181  2007/10/09 11:55:45  glen
 - wa (Walloon), te (Telugu) added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kde-i18n.spec?r1=1.181&r2=1.182&f=u



More information about the pld-cvs-commit mailing list