Git init
[framework/uifw/xorg/proto/x11proto-composite.git] / packaging / xorg-x11-proto-compositeproto.spec
1
2 Name:       xorg-x11-proto-compositeproto
3 Summary:    X.Org X11 Protocol compositeproto
4 Version:    0.4.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/compositeproto-%{version}.tar.gz
10 Provides:   compositeproto
11 BuildRequires: pkgconfig(xorg-macros)
12
13
14 %description
15 Description: %{summary}
16
17
18
19 %prep
20 %setup -q -n compositeproto-%{version}
21
22
23 %build
24
25 %reconfigure --disable-static \
26     --libdir=%{_datadir}
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 %{_includedir}/X11/extensions/composite.h
47 %{_includedir}/X11/extensions/compositeproto.h
48 %{_datadir}/pkgconfig/compositeproto.pc
49 %doc %{_datadir}/doc/compositeproto
50
51