packages: poldek/poldek.spec, poldek/poldek-archive.conf (NEW) - add pld-ar...

glen glen at pld-linux.org
Mon Aug 30 13:08:27 CEST 2010


Author: glen                         Date: Mon Aug 30 11:08:27 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add pld-archive.conf for th; rel 4

---- Files affected:
packages/poldek:
   poldek.spec (1.412 -> 1.413) , poldek-archive.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/poldek/poldek.spec
diff -u packages/poldek/poldek.spec:1.412 packages/poldek/poldek.spec:1.413
--- packages/poldek/poldek.spec:1.412	Mon Aug 30 13:04:06 2010
+++ packages/poldek/poldek.spec	Mon Aug 30 13:08:22 2010
@@ -18,7 +18,7 @@
 %define	ver_rpm	4.5-5
 
 %define		snap	rc1
-%define		rel		3
+%define		rel		4
 Summary:	RPM packages management helper tool
 Summary(hu.UTF-8):	RPM csomagkezelést segítő eszköz
 Summary(pl.UTF-8):	Pomocnicze narzędzie do zarządzania pakietami RPM
@@ -40,6 +40,7 @@
 Source8:	%{name}-debuginfo.conf
 Source9:	%{name}-aidath.conf
 Source10:	%{name}-multilib-aidath.conf
+Source11:	%{name}-archive.conf
 Patch0:		%{name}-vserver-packages.patch
 Patch1:		%{name}-config.patch
 Patch2:		%{name}-size-type.patch
@@ -280,6 +281,7 @@
 %if "%{pld_release}" == "th"
 	%define	pld_conf %{SOURCE1}
 	%define	pld_debuginfo_conf %{SOURCE8}
+	%define	pld_archive_conf %{SOURCE11}
 
 	%ifarch %{x8664}
 		%define	pld_multilib_conf %{SOURCE2}
@@ -288,6 +290,7 @@
 	# aidath
 	%ifarch sparcv9 sparc64
 		%define	pld_conf %{SOURCE9}
+		%undefine pld_archive_conf
 	%endif
 	%ifarch sparc64
 		%define pld_multilib_conf %{SOURCE10}
@@ -304,6 +307,10 @@
 sed -e 's|%%ARCH%%|%{_ftp_arch}|g' < %{pld_debuginfo_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-debuginfo.conf
 %endif
 
+%if 0%{?pld_archive_conf:1}
+sed -e 's|%%ARCH%%|%{_ftp_arch}|g' < %{pld_archive_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-archive.conf
+%endif
+
 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cli.conf
 
 %if %{with imode}
@@ -480,6 +487,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.413  2010/08/30 11:08:22  glen
+- add pld-archive.conf for th; rel 4
+
 Revision 1.412  2010/08/30 11:04:06  glen
 - more: use macros for pathnames
 

================================================================
Index: packages/poldek/poldek-archive.conf
diff -u /dev/null packages/poldek/poldek-archive.conf:1.1
--- /dev/null	Mon Aug 30 13:08:27 2010
+++ packages/poldek/poldek-archive.conf	Mon Aug 30 13:08:22 2010
@@ -0,0 +1,30 @@
+# PLD Linux Distribution <http://www.pld-linux.org/>.
+#
+# Main sources for PLD Linux 3.0 (Th)
+
+# specify our packages architecture
+_arch   = x86_64
+
+# main PLD-site for often changed things (test, ready):
+_pld_main_prefix = http://ftp1.pld-linux.org/dists/th
+
+## Some mirrors
+## You can use them if you have better connection there
+# CI TASK:
+#_prefix = ftp://ftp.task.pld-linux.org/dists/th
+_prefix = %{_pld_main_prefix}
+
+# PLD Linux 3.0 (Th): main sources archive
+[source]
+type   = pndir
+name   = th-archive
+path   = %{_prefix}/.archive/PLD/%{_arch}/RPMS/
+auto   = no
+autoup = no
+
+[source]
+type   = pndir
+name   = th-archive
+path   = %{_prefix}/.archive/PLD/noarch/RPMS/
+auto   = no
+autoup = no
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/poldek/poldek.spec?r1=1.412&r2=1.413&f=u



More information about the pld-cvs-commit mailing list