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