mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
pkg: try to use git source in fedora spec
This commit is contained in:
parent
2ed9e1fb34
commit
3477b6b5b0
@ -30,8 +30,6 @@ for RECIPE_PATH in "$RECIPES_DIR"/*/; do
|
||||
PKG_LICENSE=$(yq eval '.metadata.license // "UNKNOWN"' "$RECIPE_FILE")
|
||||
PKG_DESCRIPTION=$(yq eval '.metadata.description // "No description available."' "$RECIPE_FILE")
|
||||
MAINTAINER=$(yq eval '.metadata.maintainer // "Unknown Maintainer"' "$RECIPE_FILE")
|
||||
SOURCE_URL="https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v${RECIPE_VERSION}.tar.gz"
|
||||
|
||||
MAKE_COMMAND_RAW=$(yq eval '.build.steps[0]' "$RECIPE_FILE" | grep -oP '(make.+)')
|
||||
MAKE_COMMAND=${MAKE_COMMAND_RAW::-1}
|
||||
|
||||
@ -60,13 +58,16 @@ for RECIPE_PATH in "$RECIPES_DIR"/*/; do
|
||||
# For proper date formatting consistent with other builds.
|
||||
export LC_ALL=c
|
||||
cat <<EOF >"$SPEC_FILE"
|
||||
%global forgeurl https://github.com/ilya-zlobintsev/LACT
|
||||
%global tag v$RECIPE_VERSION
|
||||
|
||||
Name: $RECIPE_NAME
|
||||
Version: $RECIPE_VERSION
|
||||
Release: $RECIPE_RELEASE
|
||||
Summary: $PKG_DESCRIPTION
|
||||
License: $PKG_LICENSE
|
||||
URL: https://github.com/ilya-zlobintsev/LACT
|
||||
Source0: $SOURCE_URL
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: rust cargo $PKG_BUILD_DEPENDS
|
||||
@ -76,7 +77,7 @@ Requires: $PKG_DEPENDS
|
||||
$PKG_DESCRIPTION
|
||||
|
||||
%prep
|
||||
%setup -q -n LACT-%{version}
|
||||
%forgesetup
|
||||
|
||||
%build
|
||||
$MAKE_COMMAND %{?_smp_mflags}
|
||||
|
@ -1,10 +1,13 @@
|
||||
%global forgeurl https://github.com/ilya-zlobintsev/LACT
|
||||
%global tag v0.7.0
|
||||
|
||||
Name: lact-headless
|
||||
Version: 0.7.0
|
||||
Release: 1
|
||||
Summary: AMDGPU control utility
|
||||
License: MIT
|
||||
URL: https://github.com/ilya-zlobintsev/LACT
|
||||
Source0: https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v0.7.0.tar.gz
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: rust cargo gcc libdrm-devel dbus curl make clang git
|
||||
@ -14,7 +17,7 @@ Requires: libdrm hwdata
|
||||
AMDGPU control utility
|
||||
|
||||
%prep
|
||||
%setup -q -n LACT-%{version}
|
||||
%forgesetup
|
||||
|
||||
%build
|
||||
make build-release-headless %{?_smp_mflags}
|
||||
@ -34,6 +37,8 @@ make install PREFIX=/usr DESTDIR=%{buildroot}
|
||||
/usr/share/pixmaps/io.github.lact-linux.png
|
||||
|
||||
%changelog
|
||||
* Sun Feb 02 2025 - ilya-zlobintsev - -
|
||||
- Autogenerated from CI, please see for detailed changelog.
|
||||
* Wed Jan 15 2025 - ilya-zlobintsev - -
|
||||
- Autogenerated from CI, please see for detailed changelog.
|
||||
* Thu Nov 14 2024 - ilya-zlobintsev - -
|
||||
|
@ -1,10 +1,13 @@
|
||||
%global forgeurl https://github.com/ilya-zlobintsev/LACT
|
||||
%global tag v0.7.0
|
||||
|
||||
Name: lact-libadwaita
|
||||
Version: 0.7.0
|
||||
Release: 1
|
||||
Summary: AMDGPU control utility
|
||||
License: MIT
|
||||
URL: https://github.com/ilya-zlobintsev/LACT
|
||||
Source0: https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v0.7.0.tar.gz
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: rust cargo gtk4-devel gcc libdrm-devel blueprint-compiler libadwaita-devel dbus curl make clang git
|
||||
@ -14,7 +17,7 @@ Requires: gtk4 libdrm libadwaita hwdata
|
||||
AMDGPU control utility
|
||||
|
||||
%prep
|
||||
%setup -q -n LACT-%{version}
|
||||
%forgesetup
|
||||
|
||||
%build
|
||||
make build-release-libadwaita %{?_smp_mflags}
|
||||
@ -34,6 +37,8 @@ make install PREFIX=/usr DESTDIR=%{buildroot}
|
||||
/usr/share/pixmaps/io.github.lact-linux.png
|
||||
|
||||
%changelog
|
||||
* Sun Feb 02 2025 - ilya-zlobintsev - -
|
||||
- Autogenerated from CI, please see for detailed changelog.
|
||||
* Wed Jan 15 2025 - ilya-zlobintsev - -
|
||||
- Autogenerated from CI, please see for detailed changelog.
|
||||
* Thu Nov 14 2024 - ilya-zlobintsev - -
|
||||
|
@ -1,10 +1,13 @@
|
||||
%global forgeurl https://github.com/ilya-zlobintsev/LACT
|
||||
%global tag v0.7.0
|
||||
|
||||
Name: lact
|
||||
Version: 0.7.0
|
||||
Release: 1
|
||||
Summary: AMDGPU control utility
|
||||
License: MIT
|
||||
URL: https://github.com/ilya-zlobintsev/LACT
|
||||
Source0: https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v0.7.0.tar.gz
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: rust cargo gtk4-devel gcc libdrm-devel blueprint-compiler dbus curl make clang git
|
||||
@ -14,7 +17,7 @@ Requires: gtk4 libdrm hwdata
|
||||
AMDGPU control utility
|
||||
|
||||
%prep
|
||||
%setup -q -n LACT-%{version}
|
||||
%forgesetup
|
||||
|
||||
%build
|
||||
make build-release %{?_smp_mflags}
|
||||
@ -34,6 +37,8 @@ make install PREFIX=/usr DESTDIR=%{buildroot}
|
||||
/usr/share/pixmaps/io.github.lact-linux.png
|
||||
|
||||
%changelog
|
||||
* Sun Feb 02 2025 - ilya-zlobintsev - -
|
||||
- Autogenerated from CI, please see for detailed changelog.
|
||||
* Wed Jan 15 2025 - ilya-zlobintsev - -
|
||||
- Autogenerated from CI, please see for detailed changelog.
|
||||
* Thu Nov 14 2024 - ilya-zlobintsev - -
|
||||
|
Loading…
Reference in New Issue
Block a user