File libowfat.spec of Package libowfat

Name: libowfat
Summary: GPL reimplementation of some of D. J. Bernstein's general-purpose utility APIs
Version: 0.29
Release: 1
License: GPL-2.0
Group: Development/Libraries/C and C++
Provides: %name-devel = %version-%release
Provides: %name-devel-static = %version-%release

libowfat is a library of general purpose APIs extracted from Dan Bernstein's
software, reimplemented and covered by the GNU General Public License Version 2.
The API has been slightly extended (for example, I provide a uint32_read
function, and I extended the socket API to support IPv6) where I found it
necessary or beneficial in a specific project.

%setup -q
echo "socket_remote4.o: havescope.h" >> GNUmakefile

%make_build DIET= CFLAGS="%optflags -Os -fno-strict-aliasing -D_REENTRANT -I."

make prefix=%buildroot%_prefix LIBDIR=%buildroot%_libdir MAN3DIR="%buildroot%_mandir/man3" install


openSUSE Build Service is sponsored by