summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-01-07 20:14:01 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-01-07 20:14:27 -0800
commit7cad17f91d2af24f5b902ffb048bde518d7b6947 (patch)
treeb0ee31686027e8f66abdcb553f7b336002012e86
parent1d888804982d06910f10c1b6a9b29e7b9a23f550 (diff)
downloadxinit-7cad17f91d2af24f5b902ffb048bde518d7b6947.tar.gz
xinit-7cad17f91d2af24f5b902ffb048bde518d7b6947.tar.bz2
xinit-7cad17f91d2af24f5b902ffb048bde518d7b6947.zip
add packaging
-rw-r--r--packaging/xinit.spec46
1 files changed, 46 insertions, 0 deletions
diff --git a/packaging/xinit.spec b/packaging/xinit.spec
new file mode 100644
index 0000000..ea73cd7
--- /dev/null
+++ b/packaging/xinit.spec
@@ -0,0 +1,46 @@
+Name: xinit
+Version: 1.3.2
+Release: 0
+License: MIT
+Summary: X Window System initializer
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
+BuildRequires: libtool
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+Requires: setxkbmap
+Requires: xauth
+Requires: xmodmap
+Requires: xrdb
+Requires: xsetroot
+
+%description
+The xinit program is used to start the X Window System server and a
+first client program on systems that are not using a display manager
+such as xdm or in environments that use multiple window systems.
+When this first client exits, xinit will kill the X server and then
+terminate.
+
+%prep
+%setup -q
+
+%build
+autoreconf -fi
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%license COPYING
+%config %{_sysconfdir}/X11/xinit/
+%{_bindir}/startx
+%{_bindir}/xinit
+%{_mandir}/man1/startx.1%{?ext_man}
+%{_mandir}/man1/xinit.1%{?ext_man}
+
+%changelog