1 Summary: xinit application - X Window System initializer
2 Summary(pl.UTF-8): Aplikacja xinit do uruchamiania X Window System
7 Group: X11/Applications
8 Source0: https://xorg.freedesktop.org/releases/individual/app/xinit-%{version}.tar.xz
9 # Source0-md5: 0e9a1b9a82b84ab229c709c0f939c113
14 Patch0: %{name}-xwrapper.patch
15 Patch1: %{name}-consolekit-support.patch
16 URL: https://xorg.freedesktop.org/
17 BuildRequires: ConsoleKit-devel
18 BuildRequires: autoconf >= 2.60
19 BuildRequires: automake
21 BuildRequires: pkgconfig >= 1:0.19
22 BuildRequires: tar >= 1:1.22
23 BuildRequires: xorg-lib-libX11-devel
24 BuildRequires: xorg-proto-xproto-devel >= 7.0.17
25 BuildRequires: xorg-util-util-macros >= 1.19
28 Requires: xorg-app-xauth
29 Suggests: ConsoleKit-x11
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 The xinit program is used to start the X Window System server and a
34 first client program on systems that cannot start X directly from init
35 or in environments that use multiple window systems. When this first
36 client exits, xinit will kill the X server and then terminate.
38 %description -l pl.UTF-8
39 Program xinit służy do uruchamiania serwera X Window System i
40 pierwszego programu klienckiego na systemach, które nie mogą uruchomić
41 X bezpośrednio z inita lub w środowiskach używających wielu systemów
42 okienkowych. Po zakończeniu pierwszego klienta xinit zabija serwer X i
46 %setup -q -n xinit-%{version}
57 --with-xinitdir=/etc/X11/xinit
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
67 install -Dp %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/it/man1/startx.1x
68 install -Dp %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/startx.1x
69 install -Dp %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/it/man1/xinit.1x
70 install -Dp %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1/xinit.1x
72 %{__rm} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc COPYING ChangeLog README.md
80 %attr(755,root,root) %{_bindir}/startx
81 %attr(755,root,root) %{_bindir}/xinit
82 %{_mandir}/man1/startx.1*
83 %{_mandir}/man1/xinit.1*
84 %lang(it) %{_mandir}/it/man1/startx.1*
85 %lang(it) %{_mandir}/it/man1/xinit.1*
86 %lang(pl) %{_mandir}/pl/man1/startx.1*
87 %lang(pl) %{_mandir}/pl/man1/xinit.1*