Git init
[framework/uifw/xorg/proto/x11proto-xext.git] / packaging / xorg-x11-proto-xextproto.spec
1
2 Name:       xorg-x11-proto-xextproto
3 Summary:    X.Org X11 Protocol xextproto
4 Version:    7.1.2
5 Release:    1
6 Group:      Development/System
7 License:    MIT
8 URL:        http://www.x.org
9 Source0:    http://xorg.freedesktop.org/releases/individual/proto/xextproto-%{version}.tar.gz
10 Provides:   xextproto
11 BuildRequires: pkgconfig(xorg-macros)
12
13 %description
14 Description: %{summary}
15
16
17
18 %prep
19 %setup -q -n xextproto-%{version}
20
21
22 %build
23 %reconfigure --prefix=/usr --mandir=%{_datadir}/man --infodir=%{_datadir}/info \
24         --disable-shared \
25         CFLAGS="-Wall -g -D_F_ENABLE_XI2_SENDEVENT_"
26         
27
28 # Call make instruction with smp support
29 make %{?jobs:-j%jobs}
30
31 %install
32 rm -rf %{buildroot}
33 %make_install
34
35
36 %clean
37 rm -rf %{buildroot}
38
39
40
41
42
43
44 %files
45 %defattr(-,root,root,-)
46 %{_libdir}/pkgconfig/xextproto.pc
47 %{_includedir}/X11/extensions/*.h
48 %{_datadir}/doc/xextproto/*.xml
49
50