add: dotherside (#3471) (#3474)

(cherry picked from commit 00099ccd08)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2025-02-21 00:07:28 -08:00
committed by GitHub
parent 9e84085525
commit dcb1afd820
3 changed files with 45 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
Name: DOtherSide
Version: 0.9.0
Release: 1%?dist
Summary: C language library for creating bindings for the Qt QML language
License: LGPL-3.0-only
URL: https://github.com/filcuc/DOtherSide
Source0: %url/archive/refs/tags/v%{version}.tar.gz
Provides: dotherside = %version-%release
BuildRequires: cmake make
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Qml)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6Quick)
BuildRequires: cmake(Qt6QuickControls2)
BuildRequires: cmake(Qt6Widgets)
%description
%summary.
%prep
%autosetup -n dotherside-%version
%build
%cmake
%cmake_build
%install
%cmake_install
mv %buildroot/usr/lib/ %buildroot%_libdir
%files
%doc README.md
%license LICENSE
%_includedir/DOtherSide/DOtherSide.h
%_includedir/DOtherSide/DOtherSideTypes.h
%_libdir/libDOtherSide.so
%_libdir/libDOtherSide.so.%(echo "%version" | sed -E 's@\.[0-9]+$@@')
%_libdir/libDOtherSide.so.%version
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "DOtherSide.spec"
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("filcuc/dotherside"));