/[packages]/cauldron/wayland/current/SPECS/wayland.spec
ViewVC logotype

Contents of /cauldron/wayland/current/SPECS/wayland.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 750367 - (show annotations) (download)
Wed Oct 15 03:52:59 2014 UTC (9 years, 6 months ago) by umeabot
File size: 3659 byte(s)
Second Mageia 5 Mass Rebuild
1 %define client_major 0
2 %define server_major 0
3 %define cursor_major 0
4
5 %define libname_devel %mklibname %{name} -d
6
7 %define client_name %{name}-client
8 %define client_libname %mklibname %{client_name} %{client_major}
9
10 %define server_name %{name}-server
11 %define server_libname %mklibname %{server_name} %{server_major}
12
13 %define cursor_name %{name}-cursor
14 %define cursor_libname %mklibname %{cursor_name} %{cursor_major}
15
16 #Re enable once publican is fixed
17 %define with_doc 0
18
19 Summary: Wayland Compositor Infrastructure
20 Name: wayland
21 Version: 1.6.0
22 Release: %mkrel 2
23 Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
24 License: MIT
25 Group: System/Libraries
26 Url: http://wayland.freedesktop.org/
27 BuildRequires: expat-devel
28 BuildRequires: pkgconfig(libffi)
29 # for protocol doc
30 BuildRequires: xsltproc
31 BuildRequires: docbook-style-xsl
32 BuildRequires: doxygen
33 %if %with_doc
34 %ifnarch %arm %mips
35 # enabling it means it'll try to use fop which is written in java
36 BuildRequires: publican
37 %endif
38 %endif
39
40 %description
41 Wayland is a protocol for a compositor to talk to its clients as well
42 as a C library implementation of that protocol. The compositor can be
43 a standalone display server running on Linux kernel modesetting and
44 evdev input devices, an X application, or a wayland client itself. The
45 clients can be traditional applications, X servers (rootless or
46 fullscreen) or other display servers.
47
48 %package -n %{libname_devel}
49 Summary: Header files for %{name}
50 Group: Development/C
51 Provides: %{name}-devel = %{version}-%{release}
52 Requires: %{client_libname} = %{version}-%{release}
53 Requires: %{server_libname} = %{version}-%{release}
54 Requires: %{cursor_libname} = %{version}-%{release}
55 Requires: %{name}-tools = %{version}-%{release}
56
57 %description -n %{libname_devel}
58 This package contains the header and pkg-config files for developing
59 with %{name}.
60
61 %package -n %{client_libname}
62 Summary: Libraries for %{client_name}
63 Group: System/Libraries
64
65 %description -n %{client_libname}
66 This package contains the libraries for %{client_name}.
67
68 %package -n %{server_libname}
69 Summary: Libraries for %{server_name}
70 Group: System/Libraries
71
72 %description -n %{server_libname}
73 This package contains the libraries for %{server_name}.
74
75 %package -n %{cursor_libname}
76 Summary: Libraries for %{cursor_name}
77 Group: System/Libraries
78
79 %description -n %{cursor_libname}
80 This package contains the libraries for %{cursor_name}.
81
82 %package tools
83 Summary: %{name} devel tools
84 Group: System/Libraries
85 Conflicts: %{libname_devel} < 0.95-3
86
87 %description tools
88 This package contains development tools for %{name}.
89
90 %package doc
91 Summary: %{name} documentation
92 Group: Documentation
93 BuildArch: noarch
94
95 %description doc
96 This package contains documentation of %{name}.
97
98 %prep
99 %setup -q
100
101 %build
102 %configure2_5x --disable-static
103 %make
104
105 %install
106 %makeinstall_std
107 rm -f %{buildroot}%{_libdir}/*.la
108
109 %files -n %{client_libname}
110 %{_libdir}/lib%{client_name}.so.%{client_major}
111 %{_libdir}/lib%{client_name}.so.%{client_major}.*
112
113 %files -n %{server_libname}
114 %{_libdir}/lib%{server_name}.so.%{server_major}
115 %{_libdir}/lib%{server_name}.so.%{server_major}.*
116
117 %files -n %{cursor_libname}
118 %{_libdir}/lib%{cursor_name}.so.%{cursor_major}
119 %{_libdir}/lib%{cursor_name}.so.%{cursor_major}.*
120
121 %files -n %{libname_devel}
122 %{_includedir}/%{name}-*.h
123 %{_libdir}/lib%{name}*.so
124 %{_libdir}/pkgconfig/%{name}*.pc
125 %{_datadir}/aclocal/%{name}-scanner.m4
126 %{_datadir}/wayland/wayland-scanner.mk
127 %{_datadir}/wayland/wayland.xml
128 %{_datadir}/wayland/wayland.dtd
129
130 %files tools
131 %{_bindir}/%{name}-scanner
132
133 %if %with_doc
134 %files doc
135 %ifnarch %arm %mips
136 %doc %{_docdir}/%{name}/*
137 %endif
138 %endif
139 %{_mandir}/man3/wl_*.3*

  ViewVC Help
Powered by ViewVC 1.1.30