]> git.pld-linux.org Git - packages/wpebackend-fdo.git/blame - wpebackend-fdo.spec
- build apidocs
[packages/wpebackend-fdo.git] / wpebackend-fdo.spec
CommitLineData
0041e466
JB
1#
2# Conditional build:
3%bcond_without apidocs # API documentation
4
fe1c2470 5Summary: A WPE backend designed for Linux desktop systems
04d42b76 6Summary(pl.UTF-8): Backend WPE zaprojektowany dla biurkowych systemów linuksowych
fe1c2470 7Name: wpebackend-fdo
ce0b92c3 8Version: 1.10.0
29ea462a 9Release: 1
fe1c2470
AG
10License: BSD
11Group: Libraries
12Source0: https://wpewebkit.org/releases/%{name}-%{version}.tar.xz
ce0b92c3 13# Source0-md5: 306adbb0c66dc753e1794c83b7a2682b
fe1c2470 14URL: https://wpewebkit.org/
04d42b76 15BuildRequires: EGL-devel
04d42b76 16BuildRequires: glib2-devel >= 2.0
0041e466 17%{?with_apidocs:BuildRequires: hotdoc}
ce0b92c3 18BuildRequires: libepoxy-devel
04d42b76 19BuildRequires: libstdc++-devel >= 6:4.7
ce0b92c3
JB
20BuildRequires: libwpe-devel >= 1.10.0
21BuildRequires: meson >= 0.49
22BuildRequires: ninja >= 1.5
29ea462a 23BuildRequires: pkgconfig
0041e466 24BuildRequires: rpm-build >= 4.6
ce0b92c3 25BuildRequires: rpmbuild(macros) >= 1.736
04d42b76
JB
26BuildRequires: wayland-devel >= 1.10
27BuildRequires: wayland-egl-devel >= 1.10
ce0b92c3 28Requires: libwpe >= 1.10.0
fe1c2470
AG
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32A WPE backend designed for Linux desktop systems.
33
04d42b76
JB
34%description -l pl.UTF-8
35Backend WPE zaprojektowany dla biurkowych systemów linuksowych.
36
fe1c2470 37%package devel
04d42b76
JB
38Summary: Header files for WPEBackend-fdo library
39Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WPEBackend-fdo
fe1c2470
AG
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
ce0b92c3 42Requires: libwpe-devel >= 1.10.0
fe1c2470
AG
43
44%description devel
04d42b76 45Header files for WPEBackend-fdo library.
fe1c2470
AG
46
47%description devel -l pl.UTF-8
04d42b76 48Pliki nagłówkowe biblioteki WPEBackend-fdo.
fe1c2470 49
0041e466
JB
50%package apidocs
51Summary: API documentation for WPEBackend-fdo library
52Summary(pl.UTF-8): Dokumentacja API biblioteki WPEBackend-fdo
53Group: Documentation
54BuildArch: noarch
55
56%description apidocs
57API documentation for WPEBackend-fdo library.
58
59%description apidocs -l pl.UTF-8
60Dokumentacja API biblioteki WPEBackend-fdo.
61
fe1c2470
AG
62%prep
63%setup -q
64
65%build
0041e466
JB
66%meson build \
67 %{?with_apidocs:-Dbuild_docs=true}
04d42b76 68
ce0b92c3 69%ninja_build -C build
fe1c2470
AG
70
71%install
72rm -rf $RPM_BUILD_ROOT
04d42b76 73
ce0b92c3 74%ninja_install -C build
fe1c2470
AG
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
84%doc COPYING NEWS
85%attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so.1.*
86%attr(755,root,root) %ghost %{_libdir}/libWPEBackend-fdo-1.0.so.1
87
88%files devel
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so
91%{_includedir}/wpe-fdo-1.0
92%{_pkgconfigdir}/wpebackend-fdo-1.0.pc
0041e466
JB
93
94%if %{with apidocs}
95%files apidocs
96%defattr(644,root,root,755)
97%{_docdir}/WPEBackend-fdo
98%endif
This page took 0.106195 seconds and 4 git commands to generate.