]> git.pld-linux.org Git - packages/wayland.git/blobdiff - wayland.spec
- updated to 1.12.0
[packages/wayland.git] / wayland.spec
index c3d40359516ccd7dd7dcbb65f9038d8a21be32bf..bd8cf2828dbf8581305bfdbab4c84a2b8b87b080 100644 (file)
@@ -2,23 +2,25 @@
 # Conditional build:
 %bcond_without apidocs         # don't build API documentation
 %bcond_without static_libs     # don't build static libraries
-#
+
 Summary:       Wayland - protocol for a compositor to talk to its clients
 Summary(pl.UTF-8):     Wayland - protokół między serwerem składającym a klientami
 Name:          wayland
-Version:       1.8.1
+Version:       1.12.0
 Release:       1
 License:       MIT
 Group:         Libraries
-Source0:       http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 6e877877c3e04cfb865cfcd0733c9ab1
+Source0:       https://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
+# Source0-md5: ee615e2d1e205eec48b02f069327eb96
 Patch1:                %{name}-man.patch
-URL:           http://wayland.freedesktop.org/
+URL:           https://wayland.freedesktop.org/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
 BuildRequires: expat-devel >= 1.95
 BuildRequires: libffi-devel >= 3
 BuildRequires: libtool >= 2:2.2
+# for DTD valudation
+BuildRequires: libxml2-devel >= 2.0
 BuildRequires: pkgconfig
 %if %{with apidocs}
 BuildRequires: docbook-style-xsl
@@ -75,6 +77,9 @@ Statyczne biblioteki Wayland.
 Summary:       Wayland API and protocol documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki oraz protokołu Wayland
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 Wayland API and protocol documentation.
@@ -88,8 +93,6 @@ Dokumentacja API biblioteki oraz protokołu Wayland.
 
 # force regeneration (.so link is broken, double man3/)
 %{__rm} doc/man/*.3
-# force doxygen man regeneration
-%{__rm} -r doc/doxygen/man
 
 %build
 %{__libtoolize}
@@ -111,7 +114,8 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 # referenced by some installed wl_*.3 man pages
-cp -p doc/doxygen/man/man3/wayland-util.h.3 $RPM_BUILD_ROOT%{_mandir}/man3
+cp -p doc/doxygen/man/man3/wayland-{client-core,server,server-core,util}.h.3 \
+       doc/doxygen/man/man3/wayland-{client,server,shm,util}.c.3 $RPM_BUILD_ROOT%{_mandir}/man3
 
 # obsoleted by pkg-config
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libwayland-*.la
@@ -153,7 +157,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/wayland-server.pc
 %{_aclocaldir}/wayland-scanner.m4
 %if %{with apidocs}
-%{_mandir}/man3/wayland-util.h.3*
+%{_mandir}/man3/wayland-*.c.3*
+%{_mandir}/man3/wayland-*.h.3*
 %{_mandir}/man3/wl_*.3*
 %endif
 
This page took 0.096806 seconds and 4 git commands to generate.