mikutter-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: Simple, powerful and moeful twitter client
  2. Summary(ja): 至高の Twitter Client
  3. Name: mikutter
  4. Version: 3.2.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv3
  7. Group: System Environment/Libraries
  8. URL: http://mikutter.hachune.net/
  9. Source: http://mikutter.hachune.net/bin/%{name}.%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. Requires: ruby >= 1.9.3
  13. Requires: ruby-gtk2 >= 1.5.0
  14. Requires: rcairo >= 1.10.0
  15. Requires: openssl
  16. Requires(postun,posttrans): desktop-file-utils
  17. %description
  18. mikutter - simple, powerful and moeful twitter client
  19. %description -l ja
  20. 全てのミク廃、そして Twitter 中毒者へ贈る、至高の Twitter Client。
  21. %prep
  22. %setup -q -n %{name}
  23. %build
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
  27. cp -r core $RPM_BUILD_ROOT%{_datadir}/%{name}/
  28. cp -r data $RPM_BUILD_ROOT%{_datadir}/%{name}/
  29. cp -r devel $RPM_BUILD_ROOT%{_datadir}/%{name}/
  30. cp -r plugin $RPM_BUILD_ROOT%{_datadir}/%{name}/
  31. cp -r vendor $RPM_BUILD_ROOT%{_datadir}/%{name}/
  32. install -m 0755 %{name}.rb $RPM_BUILD_ROOT%{_datadir}/%{name}/
  33. install -m 0644 Gemfile $RPM_BUILD_ROOT%{_datadir}/%{name}/
  34. rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/core/skin/data/icon.png
  35. cp $RPM_BUILD_ROOT%{_datadir}/%{name}/core/skin/data/icon_alternative.png \
  36. $RPM_BUILD_ROOT%{_datadir}/%{name}/core/skin/data/icon.png
  37. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/core/skin/data/sounds/*
  38. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  39. cat > $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop << EOF
  40. [Desktop Entry]
  41. Name=mikutter
  42. Name[ja]=mikutter
  43. Comment=simple, powerful and moeful twitter client
  44. Comment[ja]=至高の Twitter クライアント
  45. Icon=/usr/share/mikutter/core/skin/data/icon.png
  46. Exec=/usr/bin/ruby /usr/share/mikutter/mikutter.rb %U
  47. Type=Application
  48. StartupNotify=true
  49. Categories=Network;InstantMessaging;
  50. Terminal=false
  51. EOF
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %postun
  55. if [ $1 -eq 0 ] ; then
  56. update-desktop-database -q > /dev/null || :
  57. fi
  58. %posttrans
  59. update-desktop-database -q &> /dev/null || :
  60. %files
  61. %defattr(-,root,root,-)
  62. %doc LICENSE README
  63. %{_datadir}/applications/%{name}.desktop
  64. %{_datadir}/%{name}
  65. %changelog
  66. * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  67. - new upstream release
  68. * Sun Oct 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.7-1
  69. - new upstream release
  70. * Tue Sep 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.6-1
  71. - new upstream release
  72. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1
  73. - new upstream release
  74. * Sun Jul 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-1
  75. - new upstream release
  76. * Sun Jun 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  77. - new upstream release
  78. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1537-1
  79. - new upstream release
  80. * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1476-1
  81. - new upstream release
  82. * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1430-1
  83. - new upstream release
  84. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1410-1
  85. - initial build