kuftp-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Name: kuftp
  2. Version: 1.5.0
  3. Summary: A graphical FTP client for the K Desktop Environment
  4. Summary(ja): K デスクトップ環境用のグラフィカルな FTP クライアント
  5. Release: 3%{?_dist_release}
  6. License: GPLv2+
  7. Url: http://kuftp.sourceforge.net/
  8. Group: Applications/Internet
  9. Source0: %{name}-%{version}.tar.bz2
  10. Source1: %{name}.mo
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: kdelibs3-devel
  13. BuildRequires: openssl-devel
  14. BuildRequires: desktop-file-utils
  15. Requires(post): desktop-file-utils
  16. Requires(postun): desktop-file-utils
  17. %description
  18. KuFTP is a graphical FTP client for the K Desktop Environment.
  19. Most notable features is Tab Sessions like Konqueror or Firefox.
  20. Other features like bookmark manager,queue manager,speed limit,
  21. proxy support, SSL/TSL support, multi charsets support and some
  22. small nifty features are currently available in the latest version.
  23. %description -l ja
  24. KuFTP は K デスクトップ環境用のグラフィカルな FTP クライアントです。
  25. 最大の特徴は、Konqueror または Firefox のようなタブ・セッションズです。
  26. ブックマークマネージャー、キュー・マネージャー、速度制限、
  27. プロキシサポート、SSL/TSL サポート、複数の charsets のサポート、
  28. およびその他のいくつかの素敵な細かな特徴は、最新のバージョンにおいて現在利用可能です。
  29. %prep
  30. %setup -q
  31. %build
  32. %configure \
  33. --disable-rpath \
  34. --enable-new-ldflags \
  35. --enable-final
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf %buildroot
  39. %makeinstall
  40. mkdir -p %buildroot%{_localedir}/ja/LC_MESSAGES
  41. install -m 644 %{SOURCE1} %buildroot%{_localedir}/ja/LC_MESSAGES/%{name}.mo
  42. # changed .desktop file location
  43. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/kde
  44. mv $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/kuftp.desktop \
  45. $RPM_BUILD_ROOT%{_datadir}/applications/kde/
  46. %find_lang %{name}
  47. %clean
  48. rm -rf %buildroot
  49. %post
  50. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  51. %postun
  52. if [ $1 -eq 0 ] ; then
  53. update-desktop-database -q &> /dev/null
  54. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. fi
  57. %posttrans
  58. update-desktop-database -q &> /dev/null
  59. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,755)
  62. %doc AUTHORS README COPYING TODO ChangeLog
  63. %doc %{_docdir}/HTML/en/kuftp/*
  64. %{_bindir}/kuftp
  65. %{_libdir}/libkuftpbookmarks.a
  66. %dir %{_datadir}/applications/kde
  67. %{_datadir}/applications/kde/kuftp.desktop
  68. %{_datadir}/apps/kuftp/kuftpui.rc
  69. %{_datadir}/icons/hicolor/*/apps/kuftp.png
  70. %changelog
  71. * Wed Mar 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-3
  72. - rebuilt with new toolchain
  73. - added %%post, %%postun and %%posttrans section
  74. - moved .desktop file location
  75. * Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-2
  76. - changed Group to Applications/Internet
  77. * Mon Jan 11 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.5.0-1vl5
  78. - initial build for Vine Seed
  79. - spec in utf-8