[packages/libnsfb] - pl, complete dependencies
qboosh
qboosh at pld-linux.org
Sat May 10 14:51:34 CEST 2014
commit c54d352f1c77cd0a4b005ab288e374bf268e956f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 10 14:54:07 2014 +0200
- pl, complete dependencies
libnsfb.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 53 insertions(+), 15 deletions(-)
---
diff --git a/libnsfb.spec b/libnsfb.spec
index 46a1be7..4858c74 100644
--- a/libnsfb.spec
+++ b/libnsfb.spec
@@ -3,6 +3,7 @@
%bcond_without static_libs # don't build static library
Summary: Framebuffer abstraction library
+Summary(pl.UTF-8): Biblioteka abstrakcji bufora ramki
Name: libnsfb
Version: 0.1.1
Release: 1
@@ -14,9 +15,16 @@ Patch0: %{name}-link.patch
URL: http://www.netsurf-browser.org/projects/libnsfb/
BuildRequires: SDL-devel
BuildRequires: libvncserver-devel
-BuildRequires: libxcb-devel
+BuildRequires: libxcb-devel >= 1.3
BuildRequires: netsurf-buildsystem >= 1.1
+BuildRequires: pkgconfig
BuildRequires: wayland-devel
+BuildRequires: xcb-util-devel
+BuildRequires: xcb-util-image-devel
+BuildRequires: xcb-util-keysyms-devel
+BuildRequires: xcb-util-wm-devel >= 0.3.0
+Requires: libxcb-devel >= 1.3
+Requires: xcb-util-wm-devel >= 0.3.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -31,35 +39,60 @@ supported and the library provides routines for tasks such as drawing
onto the framebuffer and rectangle copy operations.
LibNSFB currently supports the following as framebuffer providers:
-
- Linux framebuffer
- X
- SDL
- VNC
- ABLE framebuffer
+%description
+LibNSFB to napisana w C biblioteka abstrakcji bufora ramki. Obecnie
+jest rozwijana pod kątem użycia w przeglądarce NetSurf, ale może być
+także używana w innych projektach.
+
+Ogólną ideą biblioteki jest zapewnienie ogólnej abstrakcji liniowego
+obszaru pamięci, który odpowiada widocznej tablicy pikseli na
+urządzeniu wyświetlającym. Obsługiwane są różne głębie koloru, a
+biblioteka udostępnia takie operacje, jak rysowanie w buforze ramki
+czy kopiowanie prostokątów.
+
+LibNSFB obecnie obsługuje następujące bufory ramki:
+- linuksowy framebuffer
+- X
+- SDL
+- VNC
+- framebuffer ABLE
+
%package devel
Summary: libnsfb library headers
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libnsfb
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: SDL-devel
+Requires: libvncserver-devel
+Requires: libxcb-devel >= 1.3
+Requires: wayland-devel
+Requires: xcb-util-devel
+Requires: xcb-util-image-devel
+Requires: xcb-util-keysyms-devel
+Requires: xcb-util-wm-devel >= 0.3.0
%description devel
-This is the libraries, include files and other resources you can use
-to incorporate libnsfb into applications.
+This package contains the include files and other resources you can
+use to incorporate libnsfb into applications.
%description devel -l pl.UTF-8
Pliki nagłówkowe pozwalające na używanie biblioteki libnsfb w swoich
programach.
%package static
-Summary: libnsfb static libraries
-Summary(pl.UTF-8): Statyczne biblioteki libnsfb
+Summary: libnsfb static library
+Summary(pl.UTF-8): Statyczna biblioteka libnsfb
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
-This is package with static libnsfb libraries.
+This is package with static libnsfb library.
%description static -l pl.UTF-8
Statyczna biblioteka libnsfb.
@@ -73,27 +106,31 @@ export CC="%{__cc}"
export CFLAGS="%{rpmcflags}"
export LDFLAGS="%{rpmldflags}"
-%{__make} Q= \
+%{__make} \
+ Q= \
PREFIX=%{_prefix} \
COMPONENT_TYPE=lib-shared
%if %{with static_libs}
-%{__make} Q= \
+%{__make} \
+ Q= \
PREFIX=%{_prefix} \
COMPONENT_TYPE=lib-static
%endif
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install Q= \
- lib=%{_lib} \
+%{__make} install \
+ Q= \
PREFIX=%{_prefix} \
+ LIBDIR=%{_lib} \
COMPONENT_TYPE=lib-shared \
DESTDIR=$RPM_BUILD_ROOT
%if %{with static_libs}
-%{__make} install Q= \
- lib=%{_lib} \
+%{__make} install \
+ Q= \
PREFIX=%{_prefix} \
+ LIBDIR=%{_lib} \
COMPONENT_TYPE=lib-static \
DESTDIR=$RPM_BUILD_ROOT
%endif
@@ -107,11 +144,12 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libnsfb.so.*.*.*
-%ghost %{_libdir}/libnsfb.so.0
+%attr(755,root,root) %ghost %{_libdir}/libnsfb.so.0
%files devel
%defattr(644,root,root,755)
-%{_libdir}/libnsfb.so
+%doc usage
+%attr(755,root,root) %{_libdir}/libnsfb.so
%{_includedir}/libnsfb*.h
%{_pkgconfigdir}/libnsfb.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libnsfb.git/commitdiff/c54d352f1c77cd0a4b005ab288e374bf268e956f
More information about the pld-cvs-commit
mailing list