From 44fc5c078dc33b63791dc23aabe564ec75c49c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 4 Dec 2011 18:20:30 +0200 Subject: [PATCH] Mark translations with %lang. --- libiptcdata.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libiptcdata.spec b/libiptcdata.spec index 26be2f3..13e0300 100644 --- a/libiptcdata.spec +++ b/libiptcdata.spec @@ -4,7 +4,7 @@ Name: libiptcdata Version: 1.0.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: IPTC tag library Group: Development/Libraries @@ -56,6 +56,7 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la rm -f $RPM_BUILD_ROOT%{python_sitearch}/iptcdata.la +%find_lang %{name} --all-name %clean rm -rf $RPM_BUILD_ROOT @@ -64,12 +65,11 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig -%files +%files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/* %{_libdir}/lib*.so.* -%{_datadir}/locale/*/LC_MESSAGES/*.mo %files devel %defattr(-,root,root) @@ -85,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/*.so %changelog +* Sun Dec 4 2011 Ville Skyttä - 1.0.4-6 +- Mark translations with %%lang. + * Wed Nov 16 2011 David Moore 1.0.4-5 - Removed 'Requires: gtk-doc', updated python sitearch.