Sisyphus repository
Last update: 26 january 2022 | SRPMs: 17491 | Visits: 22843134
en ru br
ALT Linux repos
S:2.4.1-alt1

Group :: System/Configuration/Hardware
RPM: adriconf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%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 at 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin