8b69eff6e00bbebb08797ab091aca42313f0a97e
[pkgs/xorg/util/xorg-x11-xauth.git] / packaging / xorg-x11-xauth.spec
1
2 Name:       xorg-x11-xauth
3 Summary:    X.Org X11 X authority utilities
4 Version:    1.0.5
5 Release:    1
6 Group:      System/X11
7 License:    MIT/X11
8 URL:        http://www.x.org
9 Source0:    %{name}-%{version}.tar.bz2
10 Source1:    mkxauth
11 Source2:    mkxauth.man
12 Source1001: packaging/xorg-x11-xauth.manifest 
13 BuildRequires:  pkgconfig(x11)
14 BuildRequires:  pkgconfig(xau)
15 BuildRequires:  pkgconfig(xext)
16 BuildRequires:  pkgconfig(xmuu)
17 Provides:   xauth mkxauth
18
19
20 %description
21 The xauth program is used to edit and display the authorization
22 information used in connecting to the X server.
23
24
25
26
27 %prep
28 %setup -q
29
30
31 %build
32 cp %{SOURCE1001} .
33
34 %configure --disable-static
35 make %{?jobs:-j%jobs}
36
37 %install
38 rm -rf %{buildroot}
39 %make_install
40 mkdir -p %{buildroot}%{_bindir}/
41 cp -a %{SOURCE1} %{buildroot}%{_bindir}/
42 mkdir -p %{buildroot}%{_mandir}/man1/
43 cp -a %{SOURCE2} %{buildroot}%{_mandir}/man1/
44
45
46
47
48
49
50
51
52 %files
53 %manifest xorg-x11-xauth.manifest
54 %defattr(-,root,root,-)
55 %doc COPYING README ChangeLog
56 %{_bindir}/xauth
57 %{_bindir}/mkxauth
58 %doc %{_mandir}/man1/xauth.1*
59 %doc %{_mandir}/man1/mkxauth.man*
60
61