Compare commits

...

14 Commits

Author SHA1 Message Date
Benjamin A. Beasley
fcf07b3d0a Don’t install duplicate README.md and LICENSE.txt files 2024-03-11 11:04:12 -04:00
Benjamin A. Beasley
b73711a4b3 Add an rpmlintrc file
[skip changelog]
2024-03-11 11:04:10 -04:00
Benjamin A. Beasley
b53daadbad Update to 0^20230525gita1f9d73
This includes only a small fix to sanitizer invocations
2023-07-16 18:36:54 -04:00
Benjamin A. Beasley
3ea31fd357 Update to ef46370 2023-07-16 18:36:52 -04:00
Benjamin A. Beasley
8e716fdda8 Slice short commit hash using only shell builtins
[skip changelog]
2023-07-16 18:36:33 -04:00
Benjamin A. Beasley
a4405737ae Update to 0fb4dd1 2023-07-16 18:36:23 -04:00
Benjamin A. Beasley
2d26006241 Update to 95b2410e with minor fixes 2022-12-19 00:09:33 -05:00
Benjamin A. Beasley
1809eff46d Update to 9fa06ca 2022-08-31 09:47:29 -04:00
Benjamin A. Beasley
06ae0e6d71 Update to d99c4be (patch upstreamed) 2022-08-31 09:47:28 -04:00
Benjamin A. Beasley
3b60403e84 Patch: Add s390x to c4_get_target_cpu_architecture 2022-08-04 11:37:07 -04:00
Benjamin A. Beasley
4fa9c33982 Update to 2825506 2022-08-04 11:37:07 -04:00
Benjamin A. Beasley
f1cb740ec9 Update License field to SPDX 2022-08-04 11:37:07 -04:00
Benjamin A. Beasley
816742fa95 Reduce macro indirection in the spec file 2022-08-04 11:37:07 -04:00
Benjamin A. Beasley
95f33e0476 Update to 41a3a29; move snapshot info from release to version 2022-08-04 11:37:07 -04:00
4 changed files with 28 additions and 13 deletions

8
.gitignore vendored
View File

@ -2,3 +2,11 @@
/cmake-8e2a2bfc3361f76dbdcb75e876fc42149c382d85.tar.gz
/cmake-7a35d94e15221c2db050668c5549e730a26be01f.tar.gz
/cmake-9416f297430bc358eea48f8cf65aa0d602029629.tar.gz
/cmake-41a3a293f708566bf8cc2196ea2e671205821584.tar.gz
/cmake-2825506c79a92c32a27d76cbfde4f82d4d1f7ff8.tar.gz
/cmake-d99c4be9e1899c1578d8b4ca4cb7af8f1fc5082f.tar.gz
/cmake-9fa06caaf8d6834438eee7399f1c4b9a4c8c09de.tar.gz
/cmake-95b2410e31ebf28b56a4fffffef52c7d13d657ad.tar.gz
/cmake-0fb4dd1c36a12aefb93439b2aceb2643f95a8462.tar.gz
/cmake-ef46370c99776a1d307b2e0663ba30ee0e851609.tar.gz
/cmake-a1f9d73608025c595653e9d52236228efd23ea04.tar.gz

4
c4project.rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
# These are headers, but they are designed to be used with the CMake scripts,
# not included directly, so we do not need a separate -devel package.
addFilter(r" devel-file-in-non-devel-package /.*/c4project/compat/")

View File

@ -1,20 +1,18 @@
%global forgeurl https://github.com/biojppm/cmake/
%global commit 9416f297430bc358eea48f8cf65aa0d602029629
%global commit a1f9d73608025c595653e9d52236228efd23ea04
%global snapdate 20230525
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.
Version: 0^%{snapdate}git%(c='%{commit}'; echo "${c:0:7}")
Release: %autorelease
URL: %{forgeurl}
URL: https://github.com/biojppm/cmake
# 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}
# Toolchain-XBoxOne.cmake, which are Apache-2.0.
License: MIT AND Apache-2.0
Source0: %{url}/archive/%{commit}/cmake-%{commit}.tar.gz
BuildArch: noarch
@ -28,7 +26,7 @@ Requires: git-core
%prep
%forgeautosetup
%autosetup -n cmake-%{commit}
# 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
@ -42,7 +40,12 @@ rm -rvf 'bm-xp'
%install
install -t %{buildroot}%{_datadir}/cmake/%{name} -D -p -m 0644 *
install -d '%{buildroot}%{_datadir}/cmake/c4project'
# We install a copy of the repository, but we dont want to include dotfiles or
# duplicate the README and LICENSE files.
find . -mindepth 1 -maxdepth 1 ! -name '.*' \( -type d -o \
-type f ! -name 'README.md' ! -name 'LICENSE.txt' \) \
-execdir cp -vrp '{}' '%{buildroot}%{_datadir}/cmake/c4project' ';'
%check
@ -53,7 +56,7 @@ install -t %{buildroot}%{_datadir}/cmake/%{name} -D -p -m 0644 *
%license LICENSE.txt
%doc README.md
%{_datadir}/cmake/%{name}
%{_datadir}/cmake/c4project
%changelog

View File

@ -1 +1 @@
SHA512 (cmake-9416f297430bc358eea48f8cf65aa0d602029629.tar.gz) = d150a5f2944baeba1f9f2af55b091f00ecb1248bc337ae43acf9ec361e0d89dbbf6764468cb0f2464b70078f38a4b3c53059c5944a6d5a206801d9749bc16c6c
SHA512 (cmake-a1f9d73608025c595653e9d52236228efd23ea04.tar.gz) = f4ba45aaaeb94f36696fc04fbb175b2dcf29d65afdf63a6644ea7f65c2870c77a32a606ddfb9cbe6f8be13ff38df61a3cde83cbaaba942869f0b3984ea0ad965