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