%define name libax25 %define version 0.0.10 %define release 1mdk %define major 0 %define libname %{name}_%{major} Name: %{name} Summary: Libraries for Amateur AX25 Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.bz2 Url: http://ax25.sourceforge.net/ Group: Communications BuildRoot: %{_tmppath}/%{name}-buildroot License: GPL Requires: kernel >= 2.2 %description Libraries for Amateur AX25 (kernel >= 2.2). This package is split off from the previous ax25-utils. %package -n %libname Summary: Libraries for Amateur AX25 Group: Communications Obsoletes: libax25 Provides: libax25 %description -n %libname Libraries for Amateur AX25 %package -n %libname-devel Summary: Development package for %{name} Group: Communications Requires: %libname = %version Provides: libax25-devel Obsoletes: libax25-devel %description -n %libname-devel Development package for %{name} This package is split off from the previous ax25-utils. %prep rm -rf $RPM_BUILD_ROOT %setup -q %configure %build %make %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files -n %libname %defattr(-,root,root) %{_libdir}/*.so.* %{_mandir}/man5/* %doc README INSTALL ChangeLog AUTHORS NEWS %files -n %libname-devel %defattr(-,root,root) %{_libdir}/*.so %{_mandir}/man3/* %{_libdir}/lib*.a %{_libdir}/lib*.la %{_includedir}/netax25/* %changelog * Thu May 16 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.0.10-1mdk - 0.0.10 - fix spec * Mon Aug 20 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.0.7-5mdk - rebuild * Thu Jun 14 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.0.7-4mdk - fixed by Laurent Grawet <laurent.grawet@ibelgique.com> : - Corrected group * Fri Aug 08 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.0.7-3mdk - clean spec * Thu Jul 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.0.7-2mdk - macros - bm * Tue Jun 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.0.7-1mdk - new in contribs