lcrt-vl.spec 1.9 KB

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