Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
fcf07b3d0a | ||
|
b73711a4b3 | ||
|
b53daadbad | ||
|
3ea31fd357 | ||
|
8e716fdda8 | ||
|
a4405737ae | ||
|
2d26006241 | ||
|
1809eff46d | ||
|
06ae0e6d71 | ||
|
3b60403e84 | ||
|
4fa9c33982 | ||
|
f1cb740ec9 | ||
|
816742fa95 | ||
|
95f33e0476 |
8
.gitignore
vendored
8
.gitignore
vendored
@ -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
4
c4project.rpmlintrc
Normal 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/")
|
||||
|
@ -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 don’t 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
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (cmake-9416f297430bc358eea48f8cf65aa0d602029629.tar.gz) = d150a5f2944baeba1f9f2af55b091f00ecb1248bc337ae43acf9ec361e0d89dbbf6764468cb0f2464b70078f38a4b3c53059c5944a6d5a206801d9749bc16c6c
|
||||
SHA512 (cmake-a1f9d73608025c595653e9d52236228efd23ea04.tar.gz) = f4ba45aaaeb94f36696fc04fbb175b2dcf29d65afdf63a6644ea7f65c2870c77a32a606ddfb9cbe6f8be13ff38df61a3cde83cbaaba942869f0b3984ea0ad965
|
||||
|
Loading…
Reference in New Issue
Block a user