]> git.pld-linux.org Git - packages/wpebackend-fdo.git/blob - wpebackend-fdo.spec
78a015bec1e1b28a5dbe0ce7e5704f63bf7bef5a
[packages/wpebackend-fdo.git] / wpebackend-fdo.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs # API documentation
4
5 Summary:        A WPE backend designed for Linux desktop systems
6 Summary(pl.UTF-8):      Backend WPE zaprojektowany dla biurkowych systemów linuksowych
7 Name:           wpebackend-fdo
8 Version:        1.12.0
9 Release:        1
10 License:        BSD
11 Group:          Libraries
12 Source0:        https://wpewebkit.org/releases/%{name}-%{version}.tar.xz
13 # Source0-md5:  c43b34a4b4933bcd80068ae5776ee346
14 URL:            https://wpewebkit.org/
15 BuildRequires:  EGL-devel
16 BuildRequires:  glib2-devel >= 2.0
17 %{?with_apidocs:BuildRequires:  hotdoc}
18 BuildRequires:  libepoxy-devel
19 BuildRequires:  libstdc++-devel >= 6:4.7
20 BuildRequires:  libwpe-devel >= 1.12.0
21 BuildRequires:  meson >= 0.49
22 BuildRequires:  ninja >= 1.5
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-build >= 4.6
25 BuildRequires:  rpmbuild(macros) >= 1.736
26 BuildRequires:  wayland-devel >= 1.10
27 BuildRequires:  wayland-egl-devel >= 1.10
28 Requires:       libwpe >= 1.12.0
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 A WPE backend designed for Linux desktop systems.
33
34 %description -l pl.UTF-8
35 Backend WPE zaprojektowany dla biurkowych systemów linuksowych.
36
37 %package devel
38 Summary:        Header files for WPEBackend-fdo library
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki WPEBackend-fdo
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       libwpe-devel >= 1.12.0
43
44 %description devel
45 Header files for WPEBackend-fdo library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki WPEBackend-fdo.
49
50 %package apidocs
51 Summary:        API documentation for WPEBackend-fdo library
52 Summary(pl.UTF-8):      Dokumentacja API biblioteki WPEBackend-fdo
53 Group:          Documentation
54 BuildArch:      noarch
55
56 %description apidocs
57 API documentation for WPEBackend-fdo library.
58
59 %description apidocs -l pl.UTF-8
60 Dokumentacja API biblioteki WPEBackend-fdo.
61
62 %prep
63 %setup -q
64
65 %build
66 %meson build \
67         %{?with_apidocs:-Dbuild_docs=true}
68
69 %ninja_build -C build
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %ninja_install -C build
75
76 %clean
77 rm -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
93
94 %if %{with apidocs}
95 %files apidocs
96 %defattr(644,root,root,755)
97 %{_docdir}/WPEBackend-fdo
98 %endif
This page took 0.047172 seconds and 2 git commands to generate.