80 lines
4.0 KiB
RPMSpec
80 lines
4.0 KiB
RPMSpec
|
Name: libowfat
|
||
|
Version: 0.26
|
||
|
Release: 1mamba
|
||
|
Summary: Reimplement libdjb under GPL
|
||
|
Group: Development/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||
|
URL: http://www.fefe.de/libowfat/
|
||
|
Source: http://dl.fefe.de/libowfat-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: dietlibc-devel >= %{version}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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 (no later versions).
|
||
|
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.
|
||
|
Many of the functions I implement here have since been placed in the public domain, so there are other sources to get this code (except for my extensions obviously).
|
||
|
The implementations here may not be as portable as the original versions; I tend to focus on the Single Unix Specification and not on some obsolete legacy systems found in the basements of some vintage hardware clubs.
|
||
|
I also provide man pages for many functions, mostly extracted from Dan's web documentation or documentation found in earlier versions of his software.
|
||
|
For some reason, he abandoned man pages in favor of HTML recently.
|
||
|
On July 4 2002, Dan also placed his DNS routines and supporting low level functions in the public domain, so I copy them here instead of reimplementing them.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Group: Development/Libraries
|
||
|
|
||
|
%description devel
|
||
|
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 (no later versions).
|
||
|
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.
|
||
|
Many of the functions I implement here have since been placed in the public domain, so there are other sources to get this code (except for my extensions obviously).
|
||
|
The implementations here may not be as portable as the original versions; I tend to focus on the Single Unix Specification and not on some obsolete legacy systems found in the basements of some vintage hardware clubs.
|
||
|
I also provide man pages for many functions, mostly extracted from Dan's web documentation or documentation found in earlier versions of his software.
|
||
|
For some reason, he abandoned man pages in favor of HTML recently.
|
||
|
On July 4 2002, Dan also placed his DNS routines and supporting low level functions in the public domain, so I copy them here instead of reimplementing them.
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%make -f GNUmakefile \
|
||
|
prefix=%{_libdir}/dietlibc \
|
||
|
LIBDIR=%{_libdir}/dietlibc/lib-%{_build_arch} \
|
||
|
DIET="%{_bindir}/diet -Os"
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeoldinstall -f GNUmakefile \
|
||
|
prefix=%{buildroot}%{_libdir}/dietlibc \
|
||
|
LIBDIR=%{buildroot}%{_libdir}/dietlibc/lib-%{_build_arch} \
|
||
|
MAN3DIR=%{buildroot}%{_mandir}/man3 \
|
||
|
DIET="%{_bindir}/diet -Os"
|
||
|
|
||
|
# fix conflicting file (from openssl-devel)
|
||
|
mv %{buildroot}%{_mandir}/man3/buffer.3 \
|
||
|
%{buildroot}%{_mandir}/man3/buffer-libowfat.3
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/dietlibc/lib-%{_build_arch}/libowfat.a
|
||
|
%{_libdir}/dietlibc/include/*.h
|
||
|
%{_mandir}/man3/*
|
||
|
%doc CHANGES COPYING README
|
||
|
|
||
|
%changelog
|
||
|
* Tue Aug 28 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.26-1mamba
|
||
|
- update to 0.26
|
||
|
|
||
|
* Wed Apr 28 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.19.2-1qilnx
|
||
|
- new version rebuild (dl.fefe.de is now reachable)
|
||
|
|
||
|
* Tue Apr 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.16-1qilnx
|
||
|
- first build
|