cpp_client_telemetry/mat-sdk.spec.in

43 строки
1.5 KiB
Plaintext
Исходник Обычный вид История

2018-09-07 01:07:01 +03:00
Buildroot: @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM/@CPACK_PACKAGE_FILE_NAME@
Summary: Microsoft Applications Telemetry C++ SDK for Linux
2018-09-07 01:07:01 +03:00
Name: @CPACK_PACKAGE_NAME@
Version: @CPACK_PACKAGE_VERSION@
Release: @CPACK_PACKAGE_RELEASE@
License: MIT
2018-09-07 01:07:01 +03:00
Group: Development/Tools/Other
Vendor: @CPACK_PACKAGE_VENDOR@
Prefix: @CPACK_PACKAGING_INSTALL_PREFIX@
%define _rpmdir @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM
%define _rpmfilename @CPACK_PACKAGE_FILE_NAME@.rpm
%define _unpackaged_files_terminate_build 0
%define _topdir @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM
%description
Microsoft Applications Telemetry C++ SDK
2018-09-07 01:07:01 +03:00
# This is a shortcutted spec file generated by CMake RPM generator
# we skip _install step because CPack does that for us.
# We do only save CPack installed tree in _prepr
# and then restore it in build.
%prep
mv $RPM_BUILD_ROOT @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot
%install
if [ -e $RPM_BUILD_ROOT ];
then
rm -Rf $RPM_BUILD_ROOT
fi
mv "@CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
@CPACK_PACKAGING_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/*
@CPACK_PACKAGING_INSTALL_PREFIX@/bin/my_project
%changelog
* Wed Feb 26 2019 Max Golovanov <maxgolov@microsoft.com> 3.1.57-0
Package name changed to MAT - preparing for opensource release
2018-09-07 01:07:01 +03:00
* Thu Sep 6 2018 Max Golovanov <maxgolov@microsoft.com> 3.0.249-0
Package created