[packages/mate-dialogs] package lang files with find-lang

glen glen at pld-linux.org
Sat Dec 22 20:05:27 CET 2012


commit 383cd9b0b64914425247cda8236eac8587c980aa
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Dec 22 21:05:07 2012 +0200

    package lang files with find-lang

 mate-dialogs.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/mate-dialogs.spec b/mate-dialogs.spec
index 04d18e5..60c4389 100644
--- a/mate-dialogs.spec
+++ b/mate-dialogs.spec
@@ -12,6 +12,7 @@ BuildRequires:	mate-doc-utils
 BuildRequires:	pkgconfig(gtk+)
 BuildRequires:	pkgconfig(gtk+-2.0)
 BuildRequires:	rarian-compat
+BuildRequires:	rpmbuild(find_lang) >= 1.36
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,7 +37,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name} --with-gnome
+%find_lang %{name} --with-omf --with-mate --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,7 +47,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS COPYING README
 %attr(755,root,root) %{_bindir}/gdialog
 %attr(755,root,root) %{_bindir}/matedialog
-%{_mandir}/man1/*
-%{_datadir}/mate/help/matedialog
-%{_datadir}/omf/matedialog
+%{_mandir}/man1/matedialog.1*
 %{_datadir}/matedialog
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-dialogs.git/commitdiff/383cd9b0b64914425247cda8236eac8587c980aa



More information about the pld-cvs-commit mailing list