73072cff2d9856324eb918588c637701087a1be7
[framework/uifw/xorg/lib/libxxf86dga.git] / packaging / libxxf86dga.spec
1
2 Name:       libxxf86dga
3 Summary:    X.Org X11 libXxf86dga runtime library
4 Version:    1.1.2
5 Release:    2.5
6 Group:      System/Libraries
7 License:    MIT
8 URL:        http://www.x.org/
9 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires:  pkgconfig(xorg-macros)
13 BuildRequires:  pkgconfig(xproto)
14 BuildRequires:  pkgconfig(x11)
15 BuildRequires:  pkgconfig(xext)
16 BuildRequires:  pkgconfig(xextproto)
17 BuildRequires:  pkgconfig(xext)
18 BuildRequires:  pkgconfig(xf86dgaproto) >= 2.0.99.2
19
20
21 %description
22 Client library for the XFree86-DGA extension.
23
24
25
26 %package devel
27 Summary:    Development components for the libXxf86dga library
28 Group:      Development/Libraries
29 Requires:   %{name} = %{version}-%{release}
30
31 %description devel
32 Client development library for the XFree86-DGA extension.
33
34
35
36 %prep
37 %setup -q -n %{name}-%{version}
38
39
40 %build
41 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
42 %reconfigure --disable-static
43 make %{?jobs:-j%jobs}
44
45 %install
46 rm -rf %{buildroot}
47 %make_install
48
49
50
51
52 %post -p /sbin/ldconfig
53
54 %postun -p /sbin/ldconfig
55
56
57
58
59
60 %files
61 %defattr(-,root,root,-)
62 %doc COPYING ChangeLog
63 %{_libdir}/libXxf86dga.so.1
64 %{_libdir}/libXxf86dga.so.1.0.0
65
66
67 %files devel
68 %defattr(-,root,root,-)
69 %{_libdir}/libXxf86dga.so
70 %{_libdir}/pkgconfig/xxf86dga.pc
71 %{_includedir}/X11/extensions/Xxf86dga.h
72 %{_includedir}/X11/extensions/xf86dga1.h
73 %doc %{_mandir}/man3/*.3*
74