This commit is contained in:
parent
cf996aa449
commit
5f1bd139d2
26
_service
Normal file
26
_service
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="filename">supergfxctl</param>
|
||||||
|
<param name="url">https://gitlab.com/asus-linux/supergfxctl.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="version">git-master</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="revision">5.1.2</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<!-- <param name="changesgenerate">enable</param> -->
|
||||||
|
<!-- <param name="changesauthor">RN <R_Nik_C@proton.me></param> -->
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual"/>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="srcdir">supergfxctl</param>
|
||||||
|
</service>
|
||||||
|
<!-- <service name="cargo_audit" mode="manual"> -->
|
||||||
|
<!-- <param name="srcdir">supergfxctl</param> -->
|
||||||
|
<!-- </service> -->
|
||||||
|
</services>
|
@ -1,5 +0,0 @@
|
|||||||
[source.crates-io]
|
|
||||||
replace-with = "vendored-sources"
|
|
||||||
|
|
||||||
[source.vendored-sources]
|
|
||||||
directory = "vendor"
|
|
3
supergfxctl-5.1.2.obscpio
Normal file
3
supergfxctl-5.1.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:11cf0d745c1353a65a4fa41edfefcc9fc627950caf64a818e23476faf322569f
|
||||||
|
size 213003
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:42671feacf8924c1a6b7ac14b1af099765240dd272b861aa39ea03c5a4f583ec
|
|
||||||
size 49076
|
|
@ -1,10 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 28 16:37:31 UTC 2023 - RN <R_Nik_C@proton.me>
|
||||||
|
|
||||||
|
- Switched to _service usage, because cargo_config is part of the vendor.tar now
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 27 22:56:20 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
Wed Dec 27 22:56:20 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
- Avoid bashisms in build recipe
|
- Avoid bashisms in build recipe
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 14 05:46:34 UTC 2023 - rn <R_Nik_C@proton.me>
|
Tue Nov 14 05:46:34 UTC 2023 - RN <R_Nik_C@proton.me>
|
||||||
|
|
||||||
- Update to version 5.1.2:
|
- Update to version 5.1.2:
|
||||||
* Bump deps
|
* Bump deps
|
||||||
|
4
supergfxctl.obsinfo
Normal file
4
supergfxctl.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: supergfxctl
|
||||||
|
version: 5.1.2
|
||||||
|
mtime: 1694041803
|
||||||
|
commit: af23df7596712bb9433a3be917febadeb3f1f419
|
@ -7,16 +7,10 @@ Summary: Super graphics mode controller
|
|||||||
License: MPL-2.0
|
License: MPL-2.0
|
||||||
URL: https://gitlab.com/asus-linux/supergfxctl
|
URL: https://gitlab.com/asus-linux/supergfxctl
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source1: vendor-%{version}.tar.xz
|
Source1: vendor.tar.zst
|
||||||
Source2: cargo_config
|
|
||||||
|
|
||||||
BuildRequires: cargo
|
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: clang-devel
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: rust
|
|
||||||
BuildRequires: rust-std-static
|
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
BuildRequires: pkgconfig(libudev)
|
BuildRequires: pkgconfig(libudev)
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
@ -33,8 +27,6 @@ supergfxctl is a super graphics mode controller for laptops with hybrid nvidia.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -a1
|
%autosetup -a1
|
||||||
mkdir .cargo
|
|
||||||
cp %{SOURCE2} .cargo/config
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cargo_build
|
%cargo_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:260cae0a62ca840834f8845a0ed81925c68925b87f1b8b54d2260c218bb27f68
|
|
||||||
size 14793916
|
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:787647afdbf7a330e21c4a79ae1fd8c68394b6b25cb1d34f339c4be8ac1506b2
|
||||||
|
size 18844053
|
Loading…
Reference in New Issue
Block a user