Mark translations with %lang.
This commit is contained in:
parent
914b78129a
commit
44fc5c078d
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: libiptcdata
|
Name: libiptcdata
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: IPTC tag library
|
Summary: IPTC tag library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -56,6 +56,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install
|
make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
||||||
rm -f $RPM_BUILD_ROOT%{python_sitearch}/iptcdata.la
|
rm -f $RPM_BUILD_ROOT%{python_sitearch}/iptcdata.la
|
||||||
|
%find_lang %{name} --all-name
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -64,12 +65,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -85,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{python_sitearch}/*.so
|
%{python_sitearch}/*.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Nov 16 2011 David Moore <david.moore@gmail.com> 1.0.4-5
|
||||||
- Removed 'Requires: gtk-doc', updated python sitearch.
|
- Removed 'Requires: gtk-doc', updated python sitearch.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user