aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-23 10:47:44 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-05-23 10:47:44 +0200
commit40bb735d69428165f8e5d363cc9943411ca54b47 (patch)
tree0c66d1262a4be381909500fc2c6a1bb5f3b8dfab
parent237948e31e2d7b9b41e25c03199cf41de2e0d4e7 (diff)
downloadgterm-40bb735d69428165f8e5d363cc9943411ca54b47.tar.gz
add specfile
-rw-r--r--gterm.spec32
1 files changed, 32 insertions, 0 deletions
diff --git a/gterm.spec b/gterm.spec
new file mode 100644
index 0000000..6f7878e
--- /dev/null
+++ b/gterm.spec
@@ -0,0 +1,32 @@
+Name: gterm
+License: GPLv2+
+Version: 0
+Release: 1%{?dist}
+Summary: terminal application
+Source: %{name}-%{version}.tar.gz
+
+BuildRequires: gcc binutils
+BuildRequires: meson ninja-build
+BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(vte-2.91)
+
+%description
+Terminal application, based on gtk3 and vte. The plan is to have a
+modern terminal (which runs on wayland for example) for xterm fans.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="%{optflags}"
+meson --prefix=%{_prefix} build-rpm
+ninja-build -C build-rpm
+
+%install
+export DESTDIR=%{buildroot}
+ninja-build -C build-rpm install
+
+%files
+%doc README COPYING
+%{_bindir}/gterm
+%{_mandir}/man1/gterm.1*