+++ /dev/null
-# TLD Linux - http://www.tld-linux.org/
-
-_arch = %ARCH%
-_prefix = ftp://ftp.tld-linux.org/TLD
-
-############################################################
-
-###
-# TLD Linux Stable
-[source]
-type = pndir
-name = ti-%{_arch}
-path = %{_prefix}/stable/main/%{_arch}/RPMS/
-auto = no
-autoup = no
-
-###
-# TLD Linux Stable, test packages
-[source]
-type = pndir
-name = ti-test-%{_arch}
-path = %{_prefix}/stable/test/%{_arch}/RPMS/
-auto = no
-autoup = no
-
-############################################################
-
-###
-# TLD Linux Devel
-[source]
-type = pndir
-name = ti-dev-%{_arch}
-path = %{_prefix}/devel/main/%{_arch}/RPMS/
-auto = no
-autoup = no
-
-###
-# TLD Linux Devel, test packages
-[source]
-type = pndir
-name = ti-dev-test-%{_arch}
-path = %{_prefix}/devel/test/%{_arch}/RPMS/
-auto = no
-autoup = no
+++ /dev/null
-# TLD Linux - https://tld-linux.org/
-
-_arch = %ARCH%
-_prefix = ftp://ftp.tld-linux.org/TLD
-
-############################################################
-
-# TLD Linux Stable
-[source]
-type = pndir
-name = ti
-path = %{_prefix}/stable/main/%{_arch}/RPMS/
-
-[source]
-type = pndir
-name = ti
-path = %{_prefix}/stable/main/noarch/RPMS/
-
-# TLD Linux Stable, test packages
-[source]
-type = pndir
-name = ti-test
-path = %{_prefix}/stable/test/%{_arch}/RPMS/
-auto = no
-autoup = no
-
-[source]
-type = pndir
-name = ti-test
-path = %{_prefix}/stable/test/noarch/RPMS/
-auto = no
-autoup = no
-
-# TLD Linux Stable, archived packages
-[source]
-type = pndir
-name = ti-archive
-path = %{_prefix}/stable/archive/%{_arch}/RPMS/
-auto = no
-autoup = no
-
-[source]
-type = pndir
-name = ti-archive
-path = %{_prefix}/stable/archive/noarch/RPMS/
-auto = no
-autoup = no
-
-############################################################
-
-# TLD Linux Devel
-[source]
-type = pndir
-name = ti-dev
-path = %{_prefix}/devel/main/%{_arch}/RPMS/
-auto = no
-autoup = no
-
-[source]
-type = pndir
-name = ti-dev
-path = %{_prefix}/devel/main/noarch/RPMS/
-auto = no
-autoup = no
-
-# TLD Linux Devel, test packages
-[source]
-type = pndir
-name = ti-dev-test
-path = %{_prefix}/devel/test/%{_arch}/RPMS/
-auto = no
-autoup = no
-
-[source]
-type = pndir
-name = ti-dev-test
-path = %{_prefix}/devel/test/noarch/RPMS/
-auto = no
-autoup = no
#Source0: http://poldek.pld-linux.org/download/snapshots/%{name}-%{version}-cvs%{snap}.tar.bz2
Source0: https://github.com/poldek-pm/poldek/releases/download/v%{version}/%{name}-%{version}.tar.xz
# Source0-md5: 2759fe45bc50efb6084d5338d725411a
-Source1: %{name}.conf
-Source2: %{name}-multilib.conf
-Source3: %{name}-config.sh
+Source1: tld.conf
+Source2: tld-multilib.conf
+Source3: tld-debuginfo.conf
+Source4: %{name}-config.sh
Source5: %{name}-aliases.conf
Source6: %{name}.desktop
Source7: %{name}.png
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/poldek-config
+install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/poldek-config
%if %{with python}
%{__make} -C python install \
%define tld_multilib_conf %{SOURCE2}
%endif
+%define tld_debuginfo_conf %{SOURCE3}
+
%{__sed} -e 's|%%ARCH%%|%{ftp_arch}|g' < %{tld_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/tld.conf
%if 0%{?tld_multilib_conf:1}
%{__sed} 's|%%ARCH%%|%{ftp_alt_arch}|g' < %{tld_multilib_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/tld-multilib.conf
%endif
+%{__sed} -e 's|%%ARCH%%|%{ftp_arch}|g' < %{tld_debuginfo_conf} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/tld-debuginfo.conf
+
cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cli.conf
%if %{with imode}
%if 0%{?tld_multilib_conf:1}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/repos.d/tld-multilib.conf
%endif
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/repos.d/tld-debuginfo.conf
%attr(755,root,root) %{_bindir}/ipoldek
%attr(755,root,root) %{_bindir}/poldek
%attr(755,root,root) %{_bindir}/poldek-config
--- /dev/null
+# TLD Linux - https://tld-linux.org/
+
+_arch = %ARCH%
+_prefix = ftp://ftp.tld-linux.org/TLD
+_branch = stable
+
+############################################################
+
+# TLD Linux, debuginfo
+[source]
+type = pndir
+name = ti
+path = %{_prefix}/%{_branch}/main/%{_arch}/debuginfo/
+auto = no
+autoup = no
+
+[source]
+type = pndir
+name = ti
+path = %{_prefix}/%{_branch}/main/noarch/debuginfo/
+auto = no
+autoup = no
+
+# TLD Linux, test packages, debuginfo
+[source]
+type = pndir
+name = ti-test
+path = %{_prefix}/%{_branch}/test/%{_arch}/debuginfo/
+auto = no
+autoup = no
+
+[source]
+type = pndir
+name = ti-test
+path = %{_prefix}/%{_branch}/test/noarch/debuginfo/
+auto = no
+autoup = no
+
+# TLD Linux, archived packages, debuginfo
+[source]
+type = pndir
+name = ti-archive
+path = %{_prefix}/%{_branch}/archive/%{_arch}/debuginfo/
+auto = no
+autoup = no
+
+[source]
+type = pndir
+name = ti-archive
+path = %{_prefix}/%{_branch}/archive/noarch/debuginfo/
+auto = no
+autoup = no
--- /dev/null
+# TLD Linux - http://www.tld-linux.org/
+
+_arch = %ARCH%
+_prefix = ftp://ftp.tld-linux.org/TLD
+_branch = stable
+
+############################################################
+
+# TLD Linux
+[source]
+type = pndir
+name = ti-%{_arch}
+path = %{_prefix}/%{_branch}/main/%{_arch}/RPMS/
+auto = no
+autoup = no
+
+# TLD Linux, test packages
+[source]
+type = pndir
+name = ti-test-%{_arch}
+path = %{_prefix}/%{_branch}/test/%{_arch}/RPMS/
+auto = no
+autoup = no
--- /dev/null
+# TLD Linux - https://tld-linux.org/
+
+_arch = %ARCH%
+_prefix = ftp://ftp.tld-linux.org/TLD
+_branch = stable
+
+############################################################
+
+# TLD Linux
+[source]
+type = pndir
+name = ti
+path = %{_prefix}/%{_branch}/main/%{_arch}/RPMS/
+
+[source]
+type = pndir
+name = ti
+path = %{_prefix}/%{_branch}/main/noarch/RPMS/
+
+# TLD Linux, test packages
+[source]
+type = pndir
+name = ti-test
+path = %{_prefix}/%{_branch}/test/%{_arch}/RPMS/
+auto = no
+autoup = no
+
+[source]
+type = pndir
+name = ti-test
+path = %{_prefix}/%{_branch}/test/noarch/RPMS/
+auto = no
+autoup = no
+
+# TLD Linux, archived packages
+[source]
+type = pndir
+name = ti-archive
+path = %{_prefix}/%{_branch}/archive/%{_arch}/RPMS/
+auto = no
+autoup = no
+
+[source]
+type = pndir
+name = ti-archive
+path = %{_prefix}/%{_branch}/archive/noarch/RPMS/
+auto = no
+autoup = no