From 348f40efbb060f9dfe070b6c3d1545b43c40efda082ad9f8e0a1864637e0f707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 14 Feb 2020 12:55:41 +0000 Subject: [PATCH] Accepting request 774350 from home:pluskalm please add me as maintainerwq OBS-URL: https://build.opensuse.org/request/show/774350 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/adriconf?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + adriconf-1.6.1.tar.gz | 3 ++ adriconf.changes | 5 +++ adriconf.desktop | 14 ++++++++ adriconf.spec | 79 +++++++++++++++++++++++++++++++++++++++++++ driconf-icon.png | 3 ++ 7 files changed, 128 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 adriconf-1.6.1.tar.gz create mode 100644 adriconf.changes create mode 100644 adriconf.desktop create mode 100644 adriconf.spec create mode 100644 driconf-icon.png diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/adriconf-1.6.1.tar.gz b/adriconf-1.6.1.tar.gz new file mode 100644 index 0000000..e7212f1 --- /dev/null +++ b/adriconf-1.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccc539a3c680c275f224b2265044ff6030464110d08340cf44801a74d9f5f776 +size 2621318 diff --git a/adriconf.changes b/adriconf.changes new file mode 100644 index 0000000..7570bca --- /dev/null +++ b/adriconf.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Feb 14 11:53:00 UTC 2020 - Martin Pluskal + +- Initial changelog entry for version 1.6.1 + * Package based on one by Sergey Kondakov (X0F) diff --git a/adriconf.desktop b/adriconf.desktop new file mode 100644 index 0000000..5e31178 --- /dev/null +++ b/adriconf.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=ADriConf +GenericName=Advanced DRI Configurator +Comment=Advanced DRI Configurator +Comment[en_GB]=Advanced DRI Configurator +Comment[en_US]=Advanced DRI Configurator +Comment[pt]=Configurador Avançado para DRI +Comment[pt_BR]=Configurador Avançado para DRI +Icon=adriconf +Categories=System;Utility;DesktopSettings;X-SuSE-core; +Exec=adriconf +Type=Application +StartupNotify=true +Terminal=false diff --git a/adriconf.spec b/adriconf.spec new file mode 100644 index 0000000..5a5d71d --- /dev/null +++ b/adriconf.spec @@ -0,0 +1,79 @@ +# +# spec file for package adriconf +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: adriconf +Version: 1.6.1 +Release: 0 +Summary: Advanced DRI Configurator +License: GPL-3.0-only +Group: System/Packages +URL: https://github.com/jlHertel/adriconf +Source0: https://github.com/jlHertel/adriconf/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: adriconf.desktop +Source2: driconf-icon.png +BuildRequires: Mesa-devel +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: gcc-obj-c++ +BuildRequires: hicolor-icon-theme +BuildRequires: libboost_filesystem-devel +BuildRequires: libboost_locale-devel +BuildRequires: libboost_system-devel +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(gdkmm-3.0) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(libpci) +BuildRequires: pkgconfig(libxml++-3.0) +BuildRequires: pkgconfig(pciaccess) +BuildRequires: pkgconfig(x11) + +%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. + +%lang_package + +%prep +%setup -q + +%build +%cmake \ + -DENABLE_UNIT_TESTS=OFF +%cmake_build + +%install +%cmake_install +mkdir -p %{buildroot}/%{_datadir}/{applications,pixmaps} +install -D -m0755 %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}.desktop +install -D -m0755 %{SOURCE2} %{buildroot}/%{_datadir}/pixmaps/%{name}.png +%suse_update_desktop_file %{buildroot}/%{_datadir}/applications/%{name}.desktop +%find_lang %{name} + +%files +%license LICENSE +%{_bindir}/adriconf +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png + +%files lang -f %{name}.lang + +%changelog diff --git a/driconf-icon.png b/driconf-icon.png new file mode 100644 index 0000000..896f6eb --- /dev/null +++ b/driconf-icon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7354c488a3b8dd04d0758569a2268c631475fb07d38eb38e4f5afeea958a5ae +size 1094