kuftp-vl.spec 3.4 KB

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