]> git.pld-linux.org Git - packages/wayland.git/blobdiff - wayland.spec
- updated to 1.5.0
[packages/wayland.git] / wayland.spec
index 4096d110837cad8885844ced5458bd33e2212a61..3435c6bd77a4beacc2afd05ce83e764f25d05bd1 100644 (file)
@@ -6,16 +6,18 @@
 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.0.1
+Version:       1.5.0
 Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 749e86e60f6202d5d31e83725b6ef3cb
+# Source0-md5: 1d882776b27329b91d2d500b6d66dd1d
 Patch0:                %{name}-publican.patch
+Patch1:                %{name}-man.patch
 URL:           http://wayland.freedesktop.org/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
+BuildRequires: docbook-style-xsl
 BuildRequires: doxygen
 BuildRequires: expat-devel
 BuildRequires: libffi-devel
@@ -81,11 +83,11 @@ Dokumentacja API biblioteki oraz protokołu Wayland.
 
 %prep
 %setup -q
-
-# this file is required by publican 3.0; publican patch adds it in en-US dir
-test ! -f doc/Wayland/en_US/Revision_History.xml
-
 %patch0 -p1
+%patch1 -p1
+
+# force regeneration (.so link is broken, double man3/)
+%{__rm} doc/man/*.3
 
 %build
 %{__libtoolize}
@@ -96,6 +98,7 @@ test ! -f doc/Wayland/en_US/Revision_History.xml
 %configure \
        --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
+
 %{__make}
 
 %install
@@ -104,10 +107,15 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        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
+
 # obsoleted by pkg-config
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libwayland-*.la
+%if %{with apidocs}
 # packaged as %doc in -devel
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/wayland
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -132,13 +140,17 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libwayland-cursor.so
 %attr(755,root,root) %{_libdir}/libwayland-server.so
 %{_includedir}/wayland-*.h
+%dir %{_datadir}/wayland
+%{_datadir}/wayland/wayland.dtd
+%{_datadir}/wayland/wayland.xml
+%{_datadir}/wayland/wayland-scanner.mk
 %{_pkgconfigdir}/wayland-client.pc
 %{_pkgconfigdir}/wayland-cursor.pc
+%{_pkgconfigdir}/wayland-scanner.pc
 %{_pkgconfigdir}/wayland-server.pc
 %{_aclocaldir}/wayland-scanner.m4
-%{_aclocaldir}/wayland-scanner.mk
-%{_mandir}/man3/wl_display_connect.3*
-%{_mandir}/man3/wl_display_connect_to_fd*
+%{_mandir}/man3/wayland-util.h.3*
+%{_mandir}/man3/wl_*.3*
 
 %if %{with static_libs}
 %files static
@@ -151,5 +163,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%doc doc/Wayland/Wayland/en-US/html/*
+%doc doc/publican/Wayland/en-US/html/*
 %endif
This page took 0.060213 seconds and 4 git commands to generate.