From 4e1b778c234db353a9a127aeda6bc78ffdbad522 Mon Sep 17 00:00:00 2001 From: cat-master21 <96554164+cat-master21@users.noreply.github.com> Date: Sat, 25 Feb 2023 10:11:46 -0800 Subject: [PATCH] Feat: add frame --- anda/lib/frame/anda.hcl | 5 +++ anda/lib/frame/frame.spec | 66 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 anda/lib/frame/anda.hcl create mode 100644 anda/lib/frame/frame.spec diff --git a/anda/lib/frame/anda.hcl b/anda/lib/frame/anda.hcl new file mode 100644 index 0000000000..fa0d800ad3 --- /dev/null +++ b/anda/lib/frame/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "frame.spec" + } +} diff --git a/anda/lib/frame/frame.spec b/anda/lib/frame/frame.spec new file mode 100644 index 0000000000..fa14e246be --- /dev/null +++ b/anda/lib/frame/frame.spec @@ -0,0 +1,66 @@ +Name: frame +Version: 2.5.0 +Release: %autorelease +Summary: Touch Frame Library + +License: GPLv3 AND LGPLv3 +URL: https://launchpad.net/frame +Source0: http://archive.ubuntu.com/ubuntu/pool/universe/f/frame/frame_2.5.0daily13.06.05+16.10.20160809.orig.tar.gz +Patch0: http://archive.ubuntu.com/ubuntu/pool/universe/f/frame/frame_2.5.0daily13.06.05+16.10.20160809-0ubuntu3.diff.gz + +BuildRequires: automake libtool gnome-common +BuildRequires: intltool +BuildRequires: make +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: libX11-devel +BuildRequires: libXi-devel +BuildRequires: libXext-devel +BuildRequires: xorg-x11-server-devel +BuildRequires: asciidoc + +%description +Frame handles the buildup and synchronization of a set of simultaneous touches. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -c -p1 + +%build +NOCONFIGURE=1 \ +./autogen.sh + +PYTHON=%{__python3} +export PYTHON + +%configure \ + --disable-silent-rules \ + --disable-static + +%make_build + +%install +%make_install +rm -fv %{buildroot}%{_libdir}/*.la + +%files +%license COPYING COPYING.GPL3 +%{_libdir}/libframe.so.* + +%files devel +%{_bindir}/frame-test-x11 +%dir %{_includedir}/oif +%{_includedir}/oif/*.h +%{_libdir}/libframe.so +%{_libdir}/pkgconfig/*.pc +%{_mandir}/man1/frame-test-x11.1.gz + +%changelog +%autochangelog