You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

79 lines
2.2 KiB

%define optflags %nil
Name: pveclib
Version: 1.0.3
Release: 2%{?dist}
Summary: Library for simplified access to PowerISA vector operations
License: ASL 2.0
URL: https://github.com/open-power-sdk/pveclib
Source0: https://github.com/open-power-sdk/pveclib/archive/v%{version}.tar.gz
ExclusiveArch: ppc %{power64}
BuildRequires: libtool
#BuildRequires: autoconf-archive
BuildRequires: gcc-c++
%description
A library of useful vector operations for PowerISA 2.06 or later. Pveclib
builds on the PPC vector built-ins provided by <altivec.h> to provide higher
level operations. These operations also bridge gaps in compiler builtin
support for the latest PowerISA and functional differences between versions
of the PowerISA. The intent is to improve the productivity of application
developers who need to optimize their applications or dependent libraries for
POWER.
%package devel
Summary: Header files for pveclib
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Contains header files for using pveclib operations as inline vector
instructions.
%package static
Summary: This package contains static libraries for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description static
This package contains static libraries for pveclib.
So far only constant vectors used in conversions.
%prep
%autosetup
%build
%configure --docdir=%{_docdir}/%{name}
make V=1
### %make_build
%install
%make_install
%check
# do not fail on test failures as builder might not support all required features
make check || :
# we are installing it using doc
find %{buildroot} -type f -name "*.la" -delete
%files
%license LICENSE COPYING
%doc COPYING README.md CONTRIBUTING.md ChangeLog.md
%{_libdir}/libpvec.so.0
%{_libdir}/libpvec.so.0.0.0
%files devel
%doc README.md
%{_libdir}/libpvec.so
%{_includedir}/pveclib
%files static
%doc README.md
%{_libdir}/libpvec.a
%changelog
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Jul 30 2019 Munroe S <munroesj52@gmail.com> 1.0.3-1
- Updates for RPM release.
* Mon Jul 22 2019 Munroe S <munroesj52@gmail.com> 1.0.2y-1
- Updates for RPM pre-release.
* Fri May 31 2019 Munroe S <munroesj52@gmail.com> 1.0.2-1
- Initial RPM release