--- /dev/null
+# 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
%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
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
%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}
# aidath
%ifarch sparcv9 sparc64
%define pld_conf %{SOURCE9}
+ %undefine pld_archive_conf
%endif
%ifarch sparc64
%define pld_multilib_conf %{SOURCE10}
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}