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++
URL: http://www.fefe.de/%name
Source: http://www.fefe.de/%name-%version.tar.bz2
Provides: %name-devel = %version-%release
Provides: %name-devel-static = %version-%release

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


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


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


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


%files
%doc CHANGES README TODO
%_libdir/*
%_includedir/*
%_mandir/man3/*


%changelog
openSUSE Build Service is sponsored by