]> git.pld-linux.org Git - packages/wpebackend-fdo.git/blobdiff - wpebackend-fdo.spec
- updated to 1.6.1
[packages/wpebackend-fdo.git] / wpebackend-fdo.spec
index 0aea1f1b1039545d5c9acfe5047f9fda323e0aaa..54d41bb8a44aaaa37f32edc09ae57be15f9fa38d 100644 (file)
@@ -1,45 +1,61 @@
+# TODO: apidocs (BR: hotdoc, like libwpe.spec)
 Summary:       A WPE backend designed for Linux desktop systems
+Summary(pl.UTF-8):     Backend WPE zaprojektowany dla biurkowych systemów linuksowych
 Name:          wpebackend-fdo
-Version:       1.4.0
+Version:       1.6.1
 Release:       1
 License:       BSD
 Group:         Libraries
 Source0:       https://wpewebkit.org/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 63553c3f43593c2a8c587c32e88fdf3c
+# Source0-md5: ea6c2a13e6c2423f2c2b0b31fcf9567b
+Patch0:                %{name}-libdir.patch
 URL:           https://wpewebkit.org/
-BuildRequires: Mesa-libEGL-devel
-BuildRequires: cmake
-BuildRequires: glib2-devel
-BuildRequires: libwpe-devel
-BuildRequires: wayland-devel
-BuildRequires: xorg-lib-libxkbcommon-devel
+BuildRequires: EGL-devel
+BuildRequires: cmake >= 3.3
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: libwpe-devel >= 1.6.0
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: wayland-devel >= 1.10
+BuildRequires: wayland-egl-devel >= 1.10
+Requires:      libwpe >= 1.6.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 A WPE backend designed for Linux desktop systems.
 
+%description -l pl.UTF-8
+Backend WPE zaprojektowany dla biurkowych systemów linuksowych.
+
 %package devel
-Summary:       Header files for %{name} library
-Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki %{name}
+Summary:       Header files for WPEBackend-fdo library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki WPEBackend-fdo
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      libwpe-devel >= 1.6.0
 
 %description devel
-Header files for %{name} library.
+Header files for WPEBackend-fdo library.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki %{name}.
+Pliki nagłówkowe biblioteki WPEBackend-fdo.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%cmake .
+install -d build
+cd build
+%cmake ..
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -59,5 +75,3 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libWPEBackend-fdo-1.0.so
 %{_includedir}/wpe-fdo-1.0
 %{_pkgconfigdir}/wpebackend-fdo-1.0.pc
-
-%changelog
This page took 0.073233 seconds and 4 git commands to generate.