X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fpackaging%2Frpm%2Fagl-xds-cli.spec;h=b872c65b84903d39432c9868a703209ee95e3616;hb=881633b639856a9575072d2f53bb3518acbf64a8;hp=f3f00db71ac960fbd8c3617b6d3c56ec0d23a356;hpb=8004920fdc8a55b27c4175293213113423cbb9da;p=src%2Fxds%2Fxds-cli.git diff --git a/conf.d/packaging/rpm/agl-xds-cli.spec b/conf.d/packaging/rpm/agl-xds-cli.spec index f3f00db..b872c65 100644 --- a/conf.d/packaging/rpm/agl-xds-cli.spec +++ b/conf.d/packaging/rpm/agl-xds-cli.spec @@ -6,14 +6,16 @@ %global debug_package %{nil} Name: agl-xds-cli -Version: 1.1.1 +Version: 0.0.0 Release: 0 License: Apache-2.0 Summary: Command line tool to interact with XDS -Url: https://github.com/iotbzh/xds-cli.git -Source0: xds-cli_linux-amd64-v%{version}_2018-04-05_110646.zip +Url: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-cli.git +Source0: xds-cli_linux-amd64-%{version}.zip +Source1: rpmlintrc BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build +Group: Development/Tools/Debuggers %description xds-cli is a client tool that should be used to interact with an XDS server. @@ -27,6 +29,10 @@ xds-cli is a client tool that should be used to interact with an XDS server. mkdir -p %{?buildroot}%{_prefix}/xds/cli %{?buildroot}%{_bindir} cp xds-cli %{?buildroot}%{_prefix}/xds/cli ln -s ../xds/cli/xds-cli %{?buildroot}%{_bindir}/xds-cli + +mkdir -p %{?buildroot}%{_sysconfdir}/bash_completion.d +cp ./conf.d/etc/bash_completion.d/xds-cli %{?buildroot}%{_sysconfdir}/bash_completion.d/ + mkdir -p %{?buildroot}%{_sysconfdir}/profile.d sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-cli.sh > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh @@ -38,5 +44,6 @@ sed -e "s;@XDS_INSTALL_BIN_DIR@;%{_bindir};g" ./conf.d/etc/profile.d/xds-cli.sh %dir %{_prefix}/xds/cli %{_prefix}/xds/cli/* %{_bindir}/xds-cli +%attr(644,root,root) %{_sysconfdir}/bash_completion.d/xds-cli %config %{_sysconfdir}/profile.d/%{name}.sh %attr(644,root,root) %{_sysconfdir}/profile.d/%{name}.sh