c4project/c4project.spec
Benjamin A. Beasley 83cfddeebe Update to 9416f29
2022-01-05 16:04:21 -05:00

61 lines
1.3 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%global forgeurl https://github.com/biojppm/cmake/
%global commit 9416f297430bc358eea48f8cf65aa0d602029629
Name: c4project
Summary: Useful CMake scripts
# This project has never been assigned a version. The author really intends it
# for use as a git submodule rather than for system-wide installation.
Version: 0
%forgemeta
# Note that snapshot information is added by %%forgemeta.
Release: %autorelease
URL: %{forgeurl}
# The entire source is MIT, except Toolchain-PS4.cmake and
# Toolchain-XBoxOne.cmake, which are ASL 2.0.
License: MIT and ASL 2.0
Source0: %{forgesource}
BuildArch: noarch
Requires: cmake-filesystem
Requires: git-core
%global common_description %{expand:
%{summary}.}
%description %{common_description}
%prep
%forgeautosetup
# For now, we elect not to install the “bm-xp” browser-based benchmark explorer
# tool. It would be inconvenient to package this in a way that was useful in
# practice, and its not required by any of the CMake macros that are the real
# point of packaging this.
rm -rvf 'bm-xp'
%build
# Nothing to do
%install
install -t %{buildroot}%{_datadir}/cmake/%{name} -D -p -m 0644 *
%check
# No upstream tests
%files
%license LICENSE.txt
%doc README.md
%{_datadir}/cmake/%{name}
%changelog
%autochangelog