Use %find_lang

This commit is contained in:
Matthias Clasen 2009-06-12 03:04:38 +00:00
parent 318a85ec60
commit 9cd47e43f4

View File

@ -6,7 +6,7 @@
%endif %endif
Name: avahi Name: avahi
Version: 0.6.25 Version: 0.6.25
Release: 3%{?dist} Release: 4%{?dist}
Summary: Local network service discovery Summary: Local network service discovery
Group: System Environment/Base Group: System Environment/Base
License: LGPLv2 License: LGPLv2
@ -338,6 +338,8 @@ ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT/%{_includedir}/
# #
:; :;
%find_lang %{name}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -411,7 +413,7 @@ fi
%post gobject -p /sbin/ldconfig %post gobject -p /sbin/ldconfig
%postun gobject -p /sbin/ldconfig %postun gobject -p /sbin/ldconfig
%files %files -f %{name}.lang
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service %doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/avahi-daemon %attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/avahi-daemon
@ -429,7 +431,6 @@ fi
%attr(0755,root,root) %{_libdir}/libavahi-core.so.* %attr(0755,root,root) %{_libdir}/libavahi-core.so.*
%attr(0755,root,root) %{_libdir}/libavahi-client.so.* %attr(0755,root,root) %{_libdir}/libavahi-client.so.*
%{_datadir}/avahi %{_datadir}/avahi
%{_datadir}/locale/*
%{_libdir}/avahi %{_libdir}/avahi
%exclude %{_datadir}/avahi/interfaces %exclude %{_datadir}/avahi/interfaces
%{_mandir}/man5/* %{_mandir}/man5/*
@ -571,6 +572,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Jun 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.6.25-4
- Use %%find_lang
* Tue May 26 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.25-3 * Tue May 26 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.25-3
- Create avahi-ui-sharp-devel package for pkgconfig dep-chain (#477308). - Create avahi-ui-sharp-devel package for pkgconfig dep-chain (#477308).