[packages/mate-doc-utils] package lang files with find-lang

glen glen at pld-linux.org
Sat Dec 22 20:11:32 CET 2012


commit 9119b7384c899977f8d6b3bf01801fb4ea07470c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Dec 22 21:11:16 2012 +0200

    package lang files with find-lang

 mate-doc-utils.spec | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/mate-doc-utils.spec b/mate-doc-utils.spec
index b103af5..d509581 100644
--- a/mate-doc-utils.spec
+++ b/mate-doc-utils.spec
@@ -11,6 +11,7 @@ BuildRequires:	intltool
 BuildRequires:	mate-common
 BuildRequires:	pkgconfig(gnome-doc-utils)
 BuildRequires:	pkgconfig(libxml-2.0)
+BuildRequires:	rpmbuild(find_lang) >= 1.36
 BuildRequires:	pkgconfig(libxslt)
 BuildRequires:	rarian-devel
 BuildRequires:	tar >= 1:1.22
@@ -47,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name}
+%find_lang %{name} --with-omf --with-mate --all-name
 
 # Remove unnecessary python sitepackages provided by gnome-doc-utils
 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/*
@@ -68,13 +69,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/mate-doc-prepare
 %attr(755,root,root) %{_bindir}/mate-doc-tool
 %{_aclocaldir}/mate-doc-utils.m4
-# XXX: what's right package
-%dir %{_datadir}/mate
-%dir %{_datadir}/mate/help
-%{_datadir}/mate/help/mate-doc-make
-%{_datadir}/mate/help/mate-doc-xslt
-%{_datadir}/omf/mate-doc-make
-%{_datadir}/omf/mate-doc-xslt
 %{_datadir}/mate-doc-utils
 %{_datadir}/xml/mate
 %{_npkgconfigdir}/mate-doc-utils.pc
+
+# XXX: what's the right package
+%dir %{_datadir}/mate
+%dir %{_datadir}/mate/help
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-doc-utils.git/commitdiff/9119b7384c899977f8d6b3bf01801fb4ea07470c



More information about the pld-cvs-commit mailing list