]> git.pld-linux.org Git - packages/xorg-app-xinit.git/blob - xorg-app-xinit.spec
a7d8f3c9756dbc5d0eb33745e3a6cac147d59797
[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.1
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/releases/individual/app/xinit-%{version}.tar.bz2
9 # Source0-md5:  6d506ab2efc17a08e87778654e099d37
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:  xorg-lib-libX11-devel
23 BuildRequires:  xorg-proto-xproto-devel >= 7.0.17
24 BuildRequires:  xorg-util-util-macros >= 1.19
25 Requires:       xinitrc-ng
26 Requires:       xorg-app-xauth
27 Suggests:       ConsoleKit-x11
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 The xinit program is used to start the X Window System server and a
32 first client program on systems that cannot start X directly from init
33 or in environments that use multiple window systems. When this first
34 client exits, xinit will kill the X server and then terminate.
35
36 %description -l pl.UTF-8
37 Program xinit służy do uruchamiania serwera X Window System i
38 pierwszego programu klienckiego na systemach, które nie mogą uruchomić
39 X bezpośrednio z inita lub w środowiskach używających wielu systemów
40 okienkowych. Po zakończeniu pierwszego klienta xinit zabija serwer X i
41 kończy działanie.
42
43 %prep
44 %setup -q -n xinit-%{version}
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --with-consolekit \
55         --with-xinitdir=/etc/X11/xinit
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/it/man1/startx.1x
66 install -D %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/startx.1x
67 install -D %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/it/man1/xinit.1x
68 install -D %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1/xinit.1x
69
70 %{__rm} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc COPYING ChangeLog README.md
78 %attr(755,root,root) %{_bindir}/startx
79 %attr(755,root,root) %{_bindir}/xinit
80 %{_mandir}/man1/startx.1*
81 %{_mandir}/man1/xinit.1*
82 %lang(it) %{_mandir}/it/man1/startx.1*
83 %lang(it) %{_mandir}/it/man1/xinit.1*
84 %lang(pl) %{_mandir}/pl/man1/startx.1*
85 %lang(pl) %{_mandir}/pl/man1/xinit.1*
This page took 0.044784 seconds and 2 git commands to generate.