[udis86] Add package udis86
Some checks failed
Build udis86 / Build and push image (push) Failing after 2m43s
Some checks failed
Build udis86 / Build and push image (push) Failing after 2m43s
This commit is contained in:
32
.gitea/workflows/build-udis86.yml
Normal file
32
.gitea/workflows/build-udis86.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: Build udis86
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .gitea/workflows/build-udis86.yml
|
||||||
|
- "udis86.spec"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_push:
|
||||||
|
name: Build and push image
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Setup environment
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y podman iptables
|
||||||
|
|
||||||
|
# These stage versions are pinned by https://github.com/renovatebot/renovate
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6 # v5
|
||||||
|
|
||||||
|
- name: Build RPM and Upload
|
||||||
|
uses: https://git.hydrosaber.com/hydros/build-rpm@main
|
||||||
|
with:
|
||||||
|
spec-file-path: ./udis86.spec
|
||||||
|
repository-user: eriq12
|
||||||
|
repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }}
|
||||||
47
udis86.spec
Normal file
47
udis86.spec
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
%global udis86_commit 5336633af70f3917760a6d441ff02d93477b0c86
|
||||||
|
%global udis86_shortcommit %(c=%{udis86_commit}; echo ${c:0:7})
|
||||||
|
|
||||||
|
Name: udis86
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: Disassembler Library for x86 and x86-64
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://github.com/canihavesomecoffee/udis86
|
||||||
|
Source: https://github.com/canihavesomecoffee/udis86/archive/%{udis86_commit}/udis86-%{udis86_shortcommit}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: meson
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Disassembler Library for x86 and x86-64
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_datadir}/pkgconfig/%{name}.pc
|
||||||
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%autochangelog
|
||||||
Reference in New Issue
Block a user