Initial import
This commit is contained in:
parent
c060adae7f
commit
0a6aaad206
3 changed files with 52 additions and 0 deletions
16
LICENSE
Normal file
16
LICENSE
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the “Software”), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
3
macros.zig-srpm
Normal file
3
macros.zig-srpm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# zig_arches lists what arches Zig works on
|
||||
|
||||
%zig_arches x86_64 aarch64 riscv64 %{mips64}
|
||||
33
zig-srpm-macros.spec
Normal file
33
zig-srpm-macros.spec
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
|
||||
Name: zig-srpm-macros
|
||||
Version: 1
|
||||
Release: 1%{?dist}
|
||||
Summary: SRPM macros required for Zig packages
|
||||
|
||||
License: MIT
|
||||
|
||||
Source0: macros.zig-srpm
|
||||
Source100: LICENSE
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: rpm
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
%prep
|
||||
%autosetup -c -T
|
||||
cp -a %{sources} .
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{rpmmacrodir}
|
||||
install -pm 644 macros.* %{buildroot}%{rpmmacrodir}/
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{rpmmacrodir}/macros.zig-srpm
|
||||
|
||||
%changelog
|
||||
* Tue Oct 24 2023 Jan Drögehoff <sentrycraft123@gmail.com> - 1-1
|
||||
- Initial spec
|
||||
Loading…
Add table
Add a link
Reference in a new issue