Mark translations with %lang.

This commit is contained in:
Ville Skyttä 2011-12-04 18:20:30 +02:00
parent 914b78129a
commit 44fc5c078d

View File

@ -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ä <ville.skytta@iki.fi> - 1.0.4-6
- Mark translations with %%lang.
* Wed Nov 16 2011 David Moore <david.moore@gmail.com> 1.0.4-5
- Removed 'Requires: gtk-doc', updated python sitearch.