]> git.pld-linux.org Git - packages/libnsfb.git/commitdiff
- pl, complete dependencies auto/th/libnsfb-0.1.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 10 May 2014 12:54:07 +0000 (14:54 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 10 May 2014 12:54:07 +0000 (14:54 +0200)
libnsfb.spec

index 46a1be713ce405ef00d497165d1c5bf87db42f9a..4858c74315b03fd9354cdfb75f660f284199eb96 100644 (file)
@@ -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
 
This page took 0.828726 seconds and 4 git commands to generate.