kuftp-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: kuftp
  2. Version: 1.5.0
  3. Summary: A graphical FTP client for KDE
  4. Summary(ja): KDE 3 のグラフィカルな FTP クライアント
  5. Release: 5%{?_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 KDE.
  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 は KDE 用のグラフィカルな FTP クライアントです。
  25. 最大の特徴は、Konqueror または Firefox のようなタブ・セッションズです。
  26. ブックマークマネージャー、キュー・マネージャー、速度制限、
  27. プロキシサポート、SSL/TSL サポート、複数の charsets のサポート、
  28. およびその他のいくつかの素敵な細かな特徴は、最新のバージョンにおいて現在利用可能です。
  29. %prep
  30. %setup -q
  31. %build
  32. %configure \
  33. --with-qt-libraries=`/usr/bin/pkg-config --variable=libdir qt-mt`\
  34. --disable-rpath \
  35. --enable-new-ldflags \
  36. --enable-final
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. %makeinstall
  41. mkdir -p $RPM_BUILD_ROOT%{_localedir}/ja/LC_MESSAGES
  42. install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_localedir}/ja/LC_MESSAGES/%{name}.mo
  43. # changed .desktop file location
  44. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/kde
  45. mv $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/kuftp.desktop \
  46. $RPM_BUILD_ROOT%{_datadir}/applications/kde/
  47. %find_lang %{name}
  48. %clean
  49. rm -rf %buildroot
  50. %post
  51. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  52. %postun
  53. if [ $1 -eq 0 ] ; then
  54. update-desktop-database -q &> /dev/null
  55. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  56. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  57. fi
  58. %posttrans
  59. update-desktop-database -q &> /dev/null
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,755)
  63. %doc AUTHORS README COPYING TODO ChangeLog
  64. %doc %{_docdir}/HTML/en/kuftp/*
  65. %{_bindir}/kuftp
  66. %{_libdir}/libkuftpbookmarks.a
  67. %dir %{_datadir}/applications/kde
  68. %{_datadir}/applications/kde/kuftp.desktop
  69. %{_datadir}/apps/kuftp/kuftpui.rc
  70. %{_datadir}/icons/hicolor/*/apps/kuftp.png
  71. %changelog
  72. * Sun Mar 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-5
  73. - rebuilt with openssl-1.0.0d
  74. * Fri Apr 16 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.0-4
  75. - added --with-qt-libraries to configure
  76. * Wed Mar 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-3
  77. - rebuilt with new toolchain
  78. - added %%post, %%postun and %%posttrans section
  79. - moved .desktop file location
  80. * Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.0-2
  81. - changed Group to Applications/Internet
  82. * Mon Jan 11 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.5.0-1vl5
  83. - initial build for Vine Seed
  84. - spec in utf-8