[packages/librevenge] noarch apidocs
glen
glen at pld-linux.org
Sun Mar 29 14:47:55 CEST 2015
commit 4a8f62a553298cec92c9e952436b65fe24c516eb
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 29 15:47:48 2015 +0300
noarch apidocs
librevenge.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/librevenge.spec b/librevenge.spec
index 593e34a..927bd46 100644
--- a/librevenge.spec
+++ b/librevenge.spec
@@ -2,12 +2,12 @@
# Conditional build:
%bcond_without static_libs # don't build static library
%bcond_without gdb # GDB pretty printers
-#
+
Summary: Library for generic document converters
Summary(pl.UTF-8): Biblioteka dla ogólnych konwerterów dokumentów
Name: librevenge
Version: 0.0.2
-Release: 2
+Release: 3
License: MPL v2.0 or LGPL v2.1+
Group: Libraries
Source0: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
@@ -66,6 +66,9 @@ Statyczna biblioteka librevenge.
Summary: API documentation for librevenge library
Summary(pl.UTF-8): Dokumentacja API biblioteki librevenge
Group: Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
API documentation for librevenge library.
@@ -106,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}
%{__rm} $RPM_BUILD_ROOT%{_libdir}/librevenge-*.la
%if %{with gdb}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/librevenge.git/commitdiff/4a8f62a553298cec92c9e952436b65fe24c516eb
More information about the pld-cvs-commit
mailing list