Package adriconf: Specfile
%define name adriconf %define build_type RelWithDebInfo %define _cmake %cmake -DCMAKE_BUILD_TYPE=%build_type -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON %define version 2.4.1 %define release alt1 Summary: Advanced Mesa DRI Configurator Name: %name Version: %version Release: %release Source0: %name-%version.tar.gz Patch: %name-%version-%release.patch License: GPL-3 Group: System/Configuration/Hardware Url: https://gitlab.freedesktop.org/mesa/adriconf/ Packager: L.A. Kostis <lakostis@altlinux.org> BuildRequires(pre): cmake # Automatically added by buildreq on Wed May 26 2021 (-bi) BuildRequires: boost-filesystem-devel boost-locale-devel cmake gcc-c++ libdrm-devel BuildRequires: libgbm-devel libgtkmm3-devel libpci-devel libxml++3-devel %description adriconf (Advanced DRI CONFigurator) is a GUI tool used to configure open source graphics drivers. It works by setting options and writing them to the standard drirc file used by the Mesa drivers. %prep %setup -q %patch -p2 %build %_cmake \ -DCMAKE_INSTALL_LIBDIR=%_libdir \ -DENABLE_UNIT_TESTS=NO %cmake_build %cmakeinstall_std %find_lang %{name} mkdir -p %buildroot{%_datadir/metainfo,%_desktopdir,%_iconsdir} install -m644 flatpak/org.freedesktop.%name.png %buildroot%{_iconsdir}/ install -m644 flatpak/org.freedesktop.%name.desktop %buildroot%{_desktopdir}/ install -m644 flatpak/org.freedesktop.%name.metainfo.xml %buildroot%{_datadir}/metainfo/ %files -f %{name}.lang %doc LICENSE AUTHORS VERSION *.md %_bindir/%name %_datadir/metainfo/org.freedesktop.%name.metainfo.xml %_desktopdir/*.desktop %_iconsdir/*.png %changelog * Wed May 26 2021 L.A. Kostis <lakostis@altlinux.ru> 2.4.1-alt1 - Initial build for ALTLinux. |