bareftp-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. %define pkg_version 0.3.10
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: File Transfer Client
  4. Summary(ja): ファイル転送クライアント
  5. Name: bareftp
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://www.bareftp.org/release/%{name}-%{version}.tar.gz
  9. License: GPL
  10. Group: Applications/Internet
  11. URL: http://www.bareftp.org/
  12. Requires(post): desktop-file-utils
  13. Requires(postun): desktop-file-utils
  14. BuildRequires: mono-devel >= 2.0
  15. BuildRequires: gtk-sharp2 >= 2.12
  16. BuildRequires: gnome-sharp2 >= 2.20
  17. BuildRequires: gconf-sharp2 >= 2.20
  18. BuildRequires: gnome-keyring-sharp-devel
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. bareFTP is a file transfer client supporting the FTP, FTP over SSL/TLS (FTPS) and
  25. SSH File Transfer Protocol (SFTP). It is written in C#, targeting the Mono framework
  26. and the GNOME desktop environment. bareFTP is free and open source software released
  27. under the terms of the GPL license.
  28. %prep
  29. %setup -q
  30. %build
  31. %configure
  32. %{__make} %{?_smp_mflags}
  33. %install
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  36. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
  37. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  38. %find_lang %{name}
  39. %clean
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %post
  42. umask 022
  43. update-mime-database %{_datadir}/mime 2>&1 > /dev/null || :
  44. touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
  45. update-desktop-database -q > /dev/null || :
  46. %postun
  47. update-mime-database %{_datadir}/mime 2>&1 > /dev/null || :
  48. update-desktop-database -q > /dev/null || :
  49. if [ $1 -eq 0 ]; then
  50. touch --no-create %{_datadir}/icons/hicolor > /dev/null
  51. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null
  52. fi
  53. %files -f %{name}.lang
  54. %defattr(-,root,root)
  55. %doc COPYING ChangeLog NEWS README
  56. %{_bindir}/bareftp
  57. %{_libdir}/bareftp/*
  58. %{_libexecdir}/bareftp/*
  59. %{_datadir}/applications/bareftp.desktop
  60. %{_datadir}/icons/hicolor/*/apps/*
  61. %{_mandir}/man1/bareftp.1.gz
  62. %changelog
  63. * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.10-1
  64. - new upstream release
  65. * Sat Jul 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.8-1
  66. - new upstream release
  67. * Fri Dec 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.7-1
  68. - new upstream release
  69. * Tue Nov 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.6-1
  70. - new upstream release
  71. * Sat Jun 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.4-1
  72. - initial build for Vine Linux