Use %find_lang
This commit is contained in:
parent
318a85ec60
commit
9cd47e43f4
22
avahi.spec
22
avahi.spec
@ -6,8 +6,8 @@
|
|||||||
%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
|
||||||
URL: http://avahi.org
|
URL: http://avahi.org
|
||||||
@ -215,7 +215,7 @@ Obsoletes: howl-libs
|
|||||||
Provides: howl-libs
|
Provides: howl-libs
|
||||||
|
|
||||||
%description compat-howl
|
%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
|
%package compat-howl-devel
|
||||||
Summary: Header files for development with the howl compatibility libraries
|
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}/*.la
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||||
|
|
||||||
# remove example
|
# remove example
|
||||||
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/avahi/services/sftp-ssh.service
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/avahi/services/sftp-ssh.service
|
||||||
|
|
||||||
# remove desktop file for avahi-discover
|
# 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
|
# fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
|
||||||
%if %{WITH_COMPAT_HOWL}
|
%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
|
%endif
|
||||||
%if %{WITH_COMPAT_DNSSD}
|
%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}/
|
ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT/%{_includedir}/
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
:;
|
:;
|
||||||
|
|
||||||
|
%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).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user