e9a1cbd33665bb6fe13823fa12b06b22ff458fe6
[framework/uifw/xorg/lib/libxau.git] / packaging / libxau.spec
1 Name:       libxau
2 Summary:    X.Org X11 libXau runtime library
3 Version:    1.0.6
4 Release:    2.24
5 Group:      System/Libraries
6 License:    MIT
7 URL:        http://www.x.org/
8 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
9 Requires(post):  /sbin/ldconfig
10 Requires(postun):  /sbin/ldconfig
11 BuildRequires:  pkgconfig(xproto)
12 BuildRequires:  pkgconfig(xorg-macros)
13
14 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
15
16 %description
17 Description: %{summary}
18
19
20 %package devel
21 Summary:    Development components for the libXau library
22 Group:      Development/Libraries
23 Requires:   %{name} = %{version}-%{release}
24
25 %description devel
26 Description: %{summary}
27
28
29 %prep
30 %setup -q -n %{name}-%{version}
31
32
33 %build
34
35 %reconfigure
36 # Call make instruction with smp support
37 make %{?jobs:-j%jobs}
38
39 %install
40 rm -rf %{buildroot}
41 %make_install
42
43
44 %clean
45 rm -rf %{buildroot}
46
47
48
49 %post -p /sbin/ldconfig
50
51 %postun -p /sbin/ldconfig
52
53
54
55 %files
56 %defattr(-,root,root,-)
57 %doc AUTHORS COPYING README ChangeLog
58 %{_libdir}/libXau.so.6
59 %{_libdir}/libXau.so.6.0.0
60
61
62 %files devel
63 %defattr(-,root,root,-)
64 %dir %{_includedir}/X11
65 %{_includedir}/X11/Xauth.h
66 %{_libdir}/libXau.so
67 %{_libdir}/pkgconfig/xau.pc
68 #%dir %{_mandir}/man3x
69 %doc %{_mandir}/man3/*.3*
70