Feat: add frame

This commit is contained in:
cat-master21
2023-02-25 10:11:46 -08:00
parent 4bf782059b
commit 4e1b778c23
2 changed files with 71 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "frame.spec"
}
}
+66
View File
@@ -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