]> git.pld-linux.org Git - packages/wpebackend-fdo.git/blob - wpebackend-fdo.spec
d459454e2bb5b54d53a3ead0c91475aefc072ef8
[packages/wpebackend-fdo.git] / wpebackend-fdo.spec
1 # TODO: apidocs (BR: hotdoc, like libwpe.spec)
2 Summary:        A WPE backend designed for Linux desktop systems
3 Summary(pl.UTF-8):      Backend WPE zaprojektowany dla biurkowych systemów linuksowych
4 Name:           wpebackend-fdo
5 Version:        1.8.0
6 Release:        1
7 License:        BSD
8 Group:          Libraries
9 Source0:        https://wpewebkit.org/releases/%{name}-%{version}.tar.xz
10 # Source0-md5:  6df96f80ff34c02d56f32a7a153a62c0
11 Patch0:         %{name}-libdir.patch
12 URL:            https://wpewebkit.org/
13 BuildRequires:  EGL-devel
14 BuildRequires:  cmake >= 3.3
15 BuildRequires:  glib2-devel >= 2.0
16 BuildRequires:  libstdc++-devel >= 6:4.7
17 BuildRequires:  libwpe-devel >= 1.8.0
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpmbuild(macros) >= 1.605
20 BuildRequires:  wayland-devel >= 1.10
21 BuildRequires:  wayland-egl-devel >= 1.10
22 Requires:       libwpe >= 1.8.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 A WPE backend designed for Linux desktop systems.
27
28 %description -l pl.UTF-8
29 Backend WPE zaprojektowany dla biurkowych systemów linuksowych.
30
31 %package devel
32 Summary:        Header files for WPEBackend-fdo library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki WPEBackend-fdo
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       libwpe-devel >= 1.8.0
37
38 %description devel
39 Header files for WPEBackend-fdo library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki WPEBackend-fdo.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 install -d build
50 cd build
51 %cmake ..
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} -C build install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %files
68 %defattr(644,root,root,755)
69 %doc COPYING NEWS
70 %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so.1.*
71 %attr(755,root,root) %ghost %{_libdir}/libWPEBackend-fdo-1.0.so.1
72
73 %files devel
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so
76 %{_includedir}/wpe-fdo-1.0
77 %{_pkgconfigdir}/wpebackend-fdo-1.0.pc
This page took 0.044488 seconds and 2 git commands to generate.