-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstupidterm.spec
33 lines (24 loc) · 871 Bytes
/
stupidterm.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Name: stupidterm
Version: %(git describe --tags | sed -ne 's/-/./g;s/^v\(.*\)/\1/p')
Release: 1%{?dist}
Summary: A Stupid Terminal based on VTE
License: LGPL
URL: https://github.com/esmil/stupidterm
#Source0: https://github.com/esmil/stupidterm/archive/master/stupidterm-master.tar.gz
Requires: vte291
BuildRequires: git sed vte291-devel desktop-file-utils
%description
A Stupid Terminal based on VTE
%define _builddir %(echo $PWD)
%build
make %{?_smp_mflags} clean
make %{?_smp_mflags} release
%install
rm -rf %{buildroot}
%make_install bindir='%{_bindir}'
desktop-file-install --dir='%{buildroot}%{_datadir}/applications' stupidterm.desktop
desktop-file-validate '%{buildroot}%{_datadir}/applications/stupidterm.desktop'
%files
%{_bindir}/st
%{_datadir}/applications/stupidterm.desktop
%changelog