From faee562a1cbcdee126472a2ee91be01d584712aa Mon Sep 17 00:00:00 2001 From: madomado Date: Mon, 30 Oct 2023 14:10:22 +0800 Subject: [PATCH] add: librda --- anda/lib/rda/anda.hcl | 5 +++++ anda/lib/rda/librda.spec | 39 +++++++++++++++++++++++++++++++++++++++ anda/lib/rda/update.rhai | 1 + 3 files changed, 45 insertions(+) create mode 100644 anda/lib/rda/anda.hcl create mode 100644 anda/lib/rda/librda.spec create mode 100644 anda/lib/rda/update.rhai diff --git a/anda/lib/rda/anda.hcl b/anda/lib/rda/anda.hcl new file mode 100644 index 0000000000..88790d9e51 --- /dev/null +++ b/anda/lib/rda/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "librda.spec" + } +} diff --git a/anda/lib/rda/librda.spec b/anda/lib/rda/librda.spec new file mode 100644 index 0000000000..49a5b19ecc --- /dev/null +++ b/anda/lib/rda/librda.spec @@ -0,0 +1,39 @@ +Name: librda +Version: 0.0.5 +Release: 1%?dist +Summary: Remote Desktop Awareness Shared Library +Group: System Environment/Libraries +License: LGPL2.1+ or GPL3+ +URL: https://github.com/ArcticaProject/librda +Source0: %url/archive/refs/tags/%version.tar.gz +Requires: glib2 glibc +BuildRequires: gobject-introspection-devel intltool gtk3-devel +BuildRequires: clang gcc make autoconf libtool gettext-devel + +%description +%summary. + +%prep +%autosetup + +%build +autoupdate +autoreconf -vfi +%configure --disable-static --enable-x2go --enable-ogon +%make_build + +%install +%make_install + +%files +%_bindir/rdacheck +%_includedir/rda/ +%_libdir/girepository-1.0/rda-*.typelib +%_libdir/librda.so* +%_libdir/pkgconfig/rda.pc +%_datadir/gir-1.0/rda-*.gir +%_datadir/locale/*/LC_MESSAGES/librda.mo +%_mandir/man1/rdacheck.1.gz + +%changelog +%autochangelog diff --git a/anda/lib/rda/update.rhai b/anda/lib/rda/update.rhai new file mode 100644 index 0000000000..cac800a9b9 --- /dev/null +++ b/anda/lib/rda/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("ArcticaProject/librda"));