%define name skyutils %define version 2.1 %define release 1mdk %define major 0 %define libname lib%{name}%{major} Summary: Library package needed by smssend Name: %{name} Version: %{version} Release: %{release} Source0: http://zekiller.skytech.org/fichiers/%{name}-%{version}.tar.bz2 URL: http://zekiller.skytech.org/coders_en.html License: GPL Group: Development/C BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: sed, /sbin/ldconfig %description Author Christophe CALMEJANE says: This package contains utils functions that I use in many of my projects. From chained list to HTTP protocol, you may find many useful functions. This package is needed if you want to install smssend. %package -n %libname Group: System/Libraries Summary: Library package needed by smssend %description -n %libname Author Christophe CALMEJANE says: This package contains utils functions that I use in many of my projects. From chained list to HTTP protocol, you may find many useful functions. This package is needed if you want to install smssend. %package -n %libname-devel Summary: Development parts of %{libname} Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: libskyutils-devel %description -n %libname-devel Static library of %{libname} %prep %setup -q -n %name %build #enable ansi soooo beutiful... %configure --enable-ansi %make %install %makeinstall %clean rm -rf %buildroot %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files -n %libname %defattr(-,root,root) %doc README %_libdir/libskyutils-*.so.* %files -n %libname-devel %defattr(-,root,root) %_bindir/* %_libdir/libskyutils.so %_libdir/libskyutils.*a %_includedir/*.h %changelog * Tue Apr 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.1-1mdk - 2.1 * Wed Apr 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.0-1mdk - 2.0 * Wed Oct 10 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.14-1mdk - 1.14 * Wed Aug 29 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.13-1mdk - updated by Christian Zoffoli <czoffoli@linux-mandrake.com> : - updated to 1.13 - fixed typo in description - fixed some links * Mon Jan 29 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.10-1mdk - updated to 1.10 * Tue Dec 05 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.07-1mdk - updated to 1.07 * Wed Oct 04 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.05-1mdk - used srpm from Alexander Skwar : Tue Oct 3 2000 Alexander Skwar <ASkwar@linux-mandrake.com> - First Mandrake version