> %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

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to