]> git.pld-linux.org Git - packages/xorg-app-xinit.git/blob - xorg-app-xinit.spec
- updated to 1.4.2
[packages/xorg-app-xinit.git] / xorg-app-xinit.spec
1 Summary:        xinit application - X Window System initializer
2 Summary(pl.UTF-8):      Aplikacja xinit do uruchamiania X Window System
3 Name:           xorg-app-xinit
4 Version:        1.4.2
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/releases/individual/app/xinit-%{version}.tar.xz
9 # Source0-md5:  0e9a1b9a82b84ab229c709c0f939c113
10 Source1:        startx.1x.it
11 Source2:        startx.1x.pl
12 Source3:        xinit.1x.it
13 Source4:        xinit.1x.pl
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
20 BuildRequires:  cpp
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
26 BuildRequires:  xz
27 Requires:       xinitrc-ng
28 Requires:       xorg-app-xauth
29 Suggests:       ConsoleKit-x11
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
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.
37
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
43 kończy działanie.
44
45 %prep
46 %setup -q -n xinit-%{version}
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 %{__aclocal}
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure \
56         --with-consolekit \
57         --with-xinitdir=/etc/X11/xinit
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
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
71
72 %{__rm} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
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*
This page took 0.142572 seconds and 4 git commands to generate.