1 | Name: lcrt |
---|
2 | Version: 1.1.2 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Graphic Linux remote login tool |
---|
5 | Summary(ja): グラフィック Linux リモートログインツール |
---|
6 | |
---|
7 | Group: Applications/Internet |
---|
8 | License: GPLv2 |
---|
9 | URL: https://github.com/niutao/lcrt |
---|
10 | #URL: http://code.google.com/p/lcrt/ |
---|
11 | Source0: %{name}-%{version}.tar.gz |
---|
12 | Source1: ja_JP.c |
---|
13 | Source2: ja_JP.h |
---|
14 | |
---|
15 | Patch0: enable_ja_trans.patch |
---|
16 | Patch1: fix_desktop_entry.patch |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | BuildRequires: desktop-file-utils |
---|
20 | BuildRequires: gtk2-devel >= 2.0 |
---|
21 | BuildRequires: sqlite3-devel >= 3.0.0 |
---|
22 | BuildRequires: vte-devel >= 0.22.2 |
---|
23 | |
---|
24 | Requires: openssh |
---|
25 | Requires: openssh-clients |
---|
26 | |
---|
27 | %description |
---|
28 | lcrt is a Linux remote login tool. Just like ssh or telnet, but it has |
---|
29 | a GUI and can manage many connections. User can use it to save connection |
---|
30 | information such as hostname, username and password(optionally), and |
---|
31 | auto login at next time. lcrt also can clone a connected session, so |
---|
32 | user can open many connections quickly. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | %patch0 -p1 |
---|
37 | %patch1 -p1 |
---|
38 | %{__cp} -f %{SOURCE1} %{SOURCE2} language/ |
---|
39 | |
---|
40 | %build |
---|
41 | %configure |
---|
42 | %{__make} %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
45 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
46 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
47 | |
---|
48 | desktop-file-install --vendor="" \ |
---|
49 | --delete-original \ |
---|
50 | --dir=%{buildroot}/%{_datadir}/applications \ |
---|
51 | %{buildroot}/%{_datadir}/applications/%{name}.desktop |
---|
52 | |
---|
53 | %post |
---|
54 | update-desktop-database > /dev/null 2>&1 || : |
---|
55 | |
---|
56 | %postun |
---|
57 | update-desktop-database > /dev/null 2>&1 || : |
---|
58 | |
---|
59 | %files |
---|
60 | %defattr(-,root,root,-) |
---|
61 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
62 | %{_bindir}/%{name} |
---|
63 | %{_datadir}/applications/%{name}.desktop |
---|
64 | %{_datadir}/gnome/* |
---|
65 | %{_datadir}/%{name}/* |
---|
66 | %{_datadir}/pixmaps/* |
---|
67 | %{_mandir}/man1/%{name}.1.gz |
---|
68 | |
---|
69 | %changelog |
---|
70 | * Sun Jun 17 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.2-1 |
---|
71 | - initial build for VineSeed |
---|