Use %find_lang
This commit is contained in:
parent
318a85ec60
commit
9cd47e43f4
22
avahi.spec
22
avahi.spec
@ -6,8 +6,8 @@
|
||||
%endif
|
||||
Name: avahi
|
||||
Version: 0.6.25
|
||||
Release: 3%{?dist}
|
||||
Summary: Local network service discovery
|
||||
Release: 4%{?dist}
|
||||
Summary: Local network service discovery
|
||||
Group: System Environment/Base
|
||||
License: LGPLv2
|
||||
URL: http://avahi.org
|
||||
@ -215,7 +215,7 @@ Obsoletes: howl-libs
|
||||
Provides: howl-libs
|
||||
|
||||
%description compat-howl
|
||||
Libraries that are compatible with those provided by the howl package.
|
||||
Libraries that are compatible with those provided by the howl package.
|
||||
|
||||
%package compat-howl-devel
|
||||
Summary: Header files for development with the howl compatibility libraries
|
||||
@ -300,7 +300,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
# remove example
|
||||
# remove example
|
||||
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/avahi/services/sftp-ssh.service
|
||||
|
||||
# remove desktop file for avahi-discover
|
||||
@ -329,15 +329,17 @@ touch $RPM_BUILD_ROOT/etc/avahi/etc/localtime
|
||||
#
|
||||
# fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
|
||||
%if %{WITH_COMPAT_HOWL}
|
||||
ln -s avahi-compat-howl.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/howl.pc
|
||||
ln -s avahi-compat-howl.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/howl.pc
|
||||
%endif
|
||||
%if %{WITH_COMPAT_DNSSD}
|
||||
ln -s avahi-compat-libdns_sd.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libdns_sd.pc
|
||||
ln -s avahi-compat-libdns_sd.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libdns_sd.pc
|
||||
ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT/%{_includedir}/
|
||||
%endif
|
||||
#
|
||||
#
|
||||
:;
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -411,7 +413,7 @@ fi
|
||||
%post gobject -p /sbin/ldconfig
|
||||
%postun gobject -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service
|
||||
%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-client.so.*
|
||||
%{_datadir}/avahi
|
||||
%{_datadir}/locale/*
|
||||
%{_libdir}/avahi
|
||||
%exclude %{_datadir}/avahi/interfaces
|
||||
%{_mandir}/man5/*
|
||||
@ -571,6 +572,9 @@ fi
|
||||
%endif
|
||||
|
||||
%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
|
||||
- Create avahi-ui-sharp-devel package for pkgconfig dep-chain (#477308).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user