add packaging
authorAnas Nashif <anas.nashif@intel.com>
Thu, 6 Jun 2013 15:19:52 +0000 (11:19 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Thu, 6 Jun 2013 15:19:52 +0000 (11:19 -0400)
packaging/xdpyinfo.spec [new file with mode: 0644]

diff --git a/packaging/xdpyinfo.spec b/packaging/xdpyinfo.spec
new file mode 100644 (file)
index 0000000..f4be6bd
--- /dev/null
@@ -0,0 +1,49 @@
+Name:           xdpyinfo
+Version:        1.3.1
+Release:        1
+License:        MIT
+Summary:        Utility to display information about an X server
+Url:            http://xorg.freedesktop.org/
+Group:          Graphics/Utilities
+Source0:        http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(dmx)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(x11-xcb)
+BuildRequires:  pkgconfig(xcb)
+BuildRequires:  pkgconfig(xcomposite)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(xi)
+BuildRequires:  pkgconfig(xinerama)
+BuildRequires:  pkgconfig(xorg-macros) >= 1.8
+BuildRequires:  pkgconfig(xrender)
+BuildRequires:  pkgconfig(xtst)
+BuildRequires:  pkgconfig(xxf86dga)
+BuildRequires:  pkgconfig(xxf86misc)
+BuildRequires:  pkgconfig(xxf86vm)
+
+%description
+xdpyinfo is a utility for displaying information about an X server.
+
+It is used to examine the capabilities of a server, the predefined
+values for various parameters used in communicating between clients
+and the server, and the different types of screens, visuals, and X11
+protocol extensions that are available.
+
+%prep
+%setup -q
+
+%build
+%reconfigure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%{_bindir}/xdpyinfo
+%{_mandir}/man1/xdpyinfo.1%{?ext_man}
+
+%changelog