-
Notifications
You must be signed in to change notification settings - Fork 10
/
gstm.spec.in
76 lines (61 loc) · 1.99 KB
/
gstm.spec.in
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Name: gstm
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: A front-end to ssh tunneling
Group: Applications/System
License: GPLv2
URL: https://github.com/dallenwilson/gstm/releases
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: openssh-clients
Requires: util-linux
Requires: libappindicator
BuildRequires: gtk3-devel
BuildRequires: intltool >= 0.35.0
BuildRequires: libxml2-devel
BuildRequires: pkgconfig
%description
gSTM, short for Gnome SSH Tunnel Manager, is a graphical front-end for
managing ssh tunneled port redirects.
%package -n gaskpass
Group: Applications/System
Summary: A Gnome X11 passphrase dialog for OpenSSH
Requires: openssh-clients
%description -n gaskpass
A Gnome X11 passphrase dialog for OpenSSH used by gSTM.
%prep
%setup -q
%build
# avoid compile error wiht older gcc (RHEL7/CentOS7):
# fniface.c:233:2: error: 'for' loop initial declarations are only allowed in C99 mode
CFLAGS="%{build_cflags} -std=gnu99"
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
# docs are installed in files section
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/pixmaps/*
%{_datadir}/pixmaps/gSTM.png
%{_datadir}/%{name}/ui/%{name}.ui
%files -n gaskpass
%{_bindir}/gaskpass
%{_datadir}/%{name}/ui/gaskpass.ui
%changelog
* Wed Nov 25 2020 dallenwilson / github - 1.3.7-1
- AppIndicator support added. Multiple UI improvements. Multiple memory leaks plugged.
* Sat Apr 04 2020 dallenwilson / github - 1.3.6-1
- Corrected Makefile for gAskpass.
* Tue Mar 31 2020 dallenwilson / github - 1.3.5.1-1
- Minor version bump due to debian packaging issues with launchpad.net
* Fri Mar 27 2020 dallenwilson / github - 1.3.5-1
- v1.3.5 release.
* Mon Mar 23 2020 jaroslawp / github - 1.3.4-1
- Adapted specfile from an old Mageia Linux one