forked from pool/rinutils
* Exclude .ninja files from trailing space check * Refactoring and minor build-fixes. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/rinutils?expand=0&rev=8
62 lines
1.7 KiB
RPMSpec
62 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package rinutils
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: rinutils
|
|
Version: 0.10.2
|
|
Release: 0
|
|
Summary: Shlomi Fish's gnu11 C Library of Random headers
|
|
License: MIT
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://github.com/shlomif/rinutils/
|
|
Source: https://github.com/shlomif/rinutils/releases/download/%{version}/rinutils-%{version}.tar.xz
|
|
BuildRequires: cmake
|
|
# Only due to the PROJECT declaration in CMakeLists
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: xz
|
|
|
|
%description
|
|
Shlomi Fish's gnu11 C Library of Random headers.
|
|
|
|
%package devel
|
|
Summary: Shlomi Fish's gnu11 C Library of Random headers
|
|
Group: Development/Libraries/C and C++
|
|
BuildArch: noarch
|
|
|
|
%description devel
|
|
Shlomi Fish's gnu11 C Library of Random headers.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake -DWITH_TEST_SUITE=OFF -DINSTALL_TO_DATADIR=ON
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files devel
|
|
%license LICENSE
|
|
%doc README.asciidoc NEWS.asciidoc
|
|
%{_includedir}/rinutils/
|
|
%{_datadir}/pkgconfig/*.pc
|
|
%dir %{_datadir}/cmake/
|
|
%{_datadir}/cmake/Rinutils/
|
|
|
|
%changelog
|