ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] patch: nss-mdns, Avahi, dbus, libdaemon


From: Mike Goins
Subject: Re: [Ltib] patch: nss-mdns, Avahi, dbus, libdaemon
Date: Fri, 10 Feb 2012 20:44:23 -0500

> %define pfx /opt/freescale/rootfs/%{_target_cpu}
>
> Summary         : Avahi mDNS/DNS-SD service discovery suite
> Name            : avahi
> Version         : 0.6.30
> Release         : 1
> License         : LGPL
> Vendor          : Avid Technology
> Packager        : Fritz Mueller
> Group           : xxxx
> URL             : http://avahi.org
> Source          : %{name}-%{version}.tar.gz
> BuildRoot       : %{_tmppath}/%{name}
> Prefix          : %{pfx}
>
> %Description
> %{summary}
>
> %Prep
> %setup
>
> %Build
> ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} 
> --with-distro=debian --disable-nls --disable-glib --disable-gobject 
> --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 --disable-gdbm 
> --disable-mono --disable-monodoc --disable-autoipd --disable-python 
> --disable-doxygen-doc --disable-manpages --enable-compat-libdns_sd
> make
>
> %Install
> rm -rf $RPM_BUILD_ROOT
> make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
>
> %Clean
> rm -rf $RPM_BUILD_ROOT
>
> %Files
> %defattr(-,root,root)
> %{pfx}/*


This spec file and the nss-mdns both need the *.la file removal in the
Install section:
find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]