Add default Smack manifest for xorg-x11-proto-trapproto.spec
[pkgs/xorg/proto/x11proto-trap.git] / packaging / xorg-x11-proto-trapproto.spec
1
2 Name:       xorg-x11-proto-trapproto
3 Summary:    X.Org X11 Protocol trapproto
4 Version:    3.4.3
5 Release:    5.7
6 Group:      Development/System
7 License:    MIT
8 URL:        http://www.x.org
9 Source0:    http://xorg.freedesktop.org/releases/individual/proto/trapproto-%{version}.tar.gz
10 Source1001: packaging/xorg-x11-proto-trapproto.manifest 
11 BuildRequires:  pkgconfig(xt)
12 BuildRequires:  pkgconfig(xorg-macros)
13 Provides:   trapproto
14
15
16 %description
17 Description: %{summary}
18
19
20
21 %prep
22 %setup -q -n %{name}-%{version}
23
24 %build
25 cp %{SOURCE1001} .
26
27 %reconfigure --disable-static
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 %manifest xorg-x11-proto-trapproto.manifest
46 %defattr(-,root,root,-)
47 %{_libdir}/pkgconfig/trapproto.pc
48 %{_includedir}/X11/extensions/xtrapdi.h
49 %{_includedir}/X11/extensions/xtrapproto.h
50 %{_includedir}/X11/extensions/xtrapemacros.h
51 %{_includedir}/X11/extensions/xtrapbits.h
52 %{_includedir}/X11/extensions/xtraplib.h
53 %{_includedir}/X11/extensions/xtrapddmi.h
54 %{_includedir}/X11/extensions/xtraplibp.h
55
56