Compare commits

..

No commits in common. "rawhide" and "f34" have entirely different histories.

3 changed files with 9 additions and 24 deletions

3
.gitignore vendored
View file

@ -1,3 +0,0 @@
/yaksa-0.2.tar.gz
/yaksa-0.3.tar.gz
/yaksa-0.4.tar.gz

View file

@ -1 +0,0 @@
SHA512 (yaksa-0.4.tar.gz) = cc8c309bdbd732733d7c87ec1ca0f9e3a9147ecd13e9f1a8fa53cada68c731b53ce8fdaf55a423cc6915a31edd82a91def2f485ad26caaec6837041dbdf7a7a4

View file

@ -1,16 +1,12 @@
%bcond tests 1
Name: yaksa
Version: 0.4
Version: 0.1
Release: %autorelease
Summary: High-performance library for noncontiguous data
%global forgeurl https://github.com/pmodels/yaksa/
%forgemeta
%global soversion 0
License: BSD-3-Clause
License: BSD
URL: %forgeurl
Source0: %forgesource
@ -20,12 +16,12 @@ BuildRequires: libtool
BuildRequires: make
BuildRequires: gcc
BuildRequires: python3
BuildRequires: uthash-devel
%description
Yaksa is a high-performance noncontiguous datatype engine that can be used to
express and manipulate noncontiguous data. The library sports features related
to packing/unpacking, I/O vectors, and flattening noncontiguous datatypes.
Yaksa is a high-performance noncontiguous datatype engine that can be
used to express and manipulate noncontiguous data. The library sports
features related to packing/unpacking, I/O vectors, and flattening
noncontiguous datatypes.
%package devel
Summary: Development files for libyaksa
@ -37,11 +33,6 @@ Requires: %{name}%{_isa} = %{version}-%{release}
%prep
%autosetup
# Poor man's unbundling: uthash is a header-only library, so we can
# effectively replace the local version with the system copy by symlinking.
ln -fvs /usr/include/uthash.h src/external/yuthash.h
ln -fvs /usr/include/utlist.h src/external/yutlist.h
%build
./autogen.sh
%configure \
@ -53,15 +44,13 @@ ln -fvs /usr/include/utlist.h src/external/yutlist.h
rm %{buildroot}%{_libdir}/libyaksa.la
%if %{with tests}
%check
timeout -v 2h make -j%{_smp_build_ncpus} testing
%endif
%global soversion 0
%files
%license COPYRIGHT
%doc README.md
%{_libdir}/libyaksa.so.%{soversion}{,.*}
%{_libdir}/libyaksa.so.%{soversion}
%{_libdir}/libyaksa.so.%{soversion}.*
%files devel
%{_includedir}/yaksa.h