moserial-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. %define pkg_version 3.0.10
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: Gtk-based serial terminal
  4. Summary(ja): GTKベースのシリアルターミナル
  5. Name: moserial
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://ftp.gnome.org/pub/gnome/sources/moserial/3.0/%{name}-%{version}.tar.xz
  9. License: GPLv3+
  10. Group: Applications/Communications
  11. URL: http://live.gnome.org/moserial
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: hicolor-icon-theme
  14. BuildRequires: gtk3-devel
  15. BuildRequires: GConf2-devel
  16. BuildRequires: vala-devel
  17. BuildRequires: gnome-doc-utils >= 0.3.2
  18. BuildRequires: docbook-utils
  19. BuildRequires: desktop-file-utils
  20. BuildRequires: yelp-tools
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: Takemikaduchi
  24. %description
  25. moserial is a clean, friendly gtk-based serial terminal for the gnome desktop. It is written in Vala for extra goodness.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure --disable-static
  30. %{__make} %{?_smp_mflags}
  31. %install
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  34. desktop-file-install --delete-original \
  35. --dir %{buildroot}%{_datadir}/applications \
  36. %{buildroot}%{_datadir}/applications/%{name}.desktop
  37. %find_lang %{name}
  38. %clean
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %post
  41. touch --no-create %{_datadir}/icons/hicolor
  42. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  43. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  44. fi
  45. %postun
  46. touch --no-create %{_datadir}/icons/hicolor
  47. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  48. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  49. fi
  50. %files -f %{name}.lang
  51. %defattr(-,root,root)
  52. %doc COPYING ChangeLog NEWS README
  53. %{_bindir}/%{name}
  54. %{_datadir}/appdata/%{name}.appdata.xml
  55. %{_datadir}/applications/%{name}.desktop
  56. %{_datadir}/icons/hicolor/*/*/*
  57. %{_datadir}/help/*/%{name}
  58. %{_mandir}/man1/%{name}.1.gz
  59. %changelog
  60. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.10-1
  61. - new upstream release
  62. - add BuildRequires: yelp-tools
  63. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.8-1
  64. - new upstream release
  65. - remove Patch0 (moserial-3.0.2-stropts.patch)
  66. * Thu Jun 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.7-1
  67. - new upstream release
  68. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1
  69. - new upstream release
  70. * Fri Oct 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  71. - new upstream release
  72. - change BuildRequires: gtk3-devel instead of gtk2-devel
  73. - add Patch0 (moserial-3.0.2-stropts.patch)
  74. * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  75. - new upstream release
  76. * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  77. - initial build for Vine Linux