bareftp-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. %define pkg_version 0.3.7
  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 & > /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 & > /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 %{_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. %{_datadir}/applications/bareftp.desktop
  59. %{_datadir}/icons/hicolor/*/apps/*
  60. %{_mandir}/man1/bareftp.1.gz
  61. %changelog
  62. * Fri Dec 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.7-1
  63. - new upstream release
  64. * Tue Nov 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.6-1
  65. - new upstream release
  66. * Sat Jun 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.4-1
  67. - initial build for Vine Linux