libowfat/libowfat.spec

77 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: libowfat
Version: 0.34
Release: 1mamba
Summary: Reimplement libdjb under GPL
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.fefe.de/libowfat/
Source: https://www.fefe.de/libowfat/libowfat-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: dietlibc-devel >= %{version}
%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).
%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).
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%make -j1 -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
%dir %{_libdir}/dietlibc/include/libowfat
%{_libdir}/dietlibc/include/libowfat/*.h
%{_mandir}/man3/*
%doc CHANGES COPYING README
%changelog
* Sun Nov 03 2024 Automatic Build System <autodist@openmamba.org> 0.34-1mamba
- automatic version update by autodist
* Wed Feb 15 2023 Automatic Build System <autodist@mambasoft.it> 0.33-1mamba
- automatic version update by autodist
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.32-1mamba
- update to 0.32
* 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