Summary: XDS-server
Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-server.git
Source0: xds-server_linux-amd64-%{version}.zip
Summary: XDS-server
Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-server.git
Source0: xds-server_linux-amd64-%{version}.zip
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Development/Tools/Debuggers
# for now still embedded with xds
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Development/Tools/Debuggers
# for now still embedded with xds
cp ./conf.d/etc/default/xds-server %{?buildroot}/%{_sysconfdir}/default/
mkdir -p %{?buildroot}/%{_sysconfdir}/xds/server
cp ./conf.d/etc/xds/server/* %{?buildroot}/%{_sysconfdir}/xds/server/
cp ./conf.d/etc/default/xds-server %{?buildroot}/%{_sysconfdir}/default/
mkdir -p %{?buildroot}/%{_sysconfdir}/xds/server
cp ./conf.d/etc/xds/server/* %{?buildroot}/%{_sysconfdir}/xds/server/
mkdir -p %{?buildroot}%{_sysconfdir}/profile.d
sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-server.sh > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
mkdir -p %{?buildroot}%{_sysconfdir}/profile.d
sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-server.sh > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh