summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-27 04:03:45 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-27 04:03:45 +0000
commit0503eb6c8127ae30aa25d67350efec3e1993cebe (patch)
treece63e69f56127e47294b5577f25871e94026bc3b
parentb4cacc35ac61285017d75e8b0e6e28912ad3f871 (diff)
automatic import of xdriinfoopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--xdriinfo.spec41
3 files changed, 43 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..17b3e88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xdriinfo-1.0.7.tar.xz
diff --git a/sources b/sources
new file mode 100644
index 0000000..081ab7c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+34aff1f93fa54d6a64cbe4fee079e077 xdriinfo-1.0.7.tar.xz
diff --git a/xdriinfo.spec b/xdriinfo.spec
new file mode 100644
index 0000000..4f5c63a
--- /dev/null
+++ b/xdriinfo.spec
@@ -0,0 +1,41 @@
+Name: xdriinfo
+Version: 1.0.7
+Release: 1
+Summary: X application to query configuration information of DRI drivers
+License: MIT
+URL: https://gitlab.freedesktop.org/xorg/app/xdriinfo
+Source0: https://www.x.org/releases/individual/app/%{name}-%{version}.tar.xz
+
+# This package was split from the mesa-demos package, which used to
+# also build and install xdriinfo until mesa-demos-9.0.0
+Conflicts: mesa-demos < 9.0.0
+
+BuildRequires: make gcc
+BuildRequires: pkgconfig(glproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: libGL-devel
+
+%description
+xdriinfo can be used to query configuration information of direct
+rendering drivers.
+
+%prep
+%autosetup -p1
+
+%build
+%configure
+%make_build
+
+%install
+%make_install
+
+%files
+%license COPYING
+%doc AUTHORS ChangeLog README.md
+%{_bindir}/xdriinfo
+%{_mandir}/man1/xdriinfo.1*
+
+%changelog
+* Mon Jan 27 2025 Funda Wang <fundawang@yeah.net> - 1.0.7-1
+- init package