From: Anas Nashif Date: Thu, 6 Jun 2013 15:19:52 +0000 (-0400) Subject: add packaging X-Git-Tag: accepted/tizen/20130606.224819~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af95bd6ce32dd8abb1597bc43a9e851fd1a30f85;p=platform%2Fupstream%2Fxdpyinfo.git add packaging --- diff --git a/packaging/xdpyinfo.spec b/packaging/xdpyinfo.spec new file mode 100644 index 0000000..f4be6bd --- /dev/null +++ b/packaging/xdpyinfo.spec @@ -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