moserial-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. %define pkg_version 3.0.8
  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. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. moserial is a clean, friendly gtk-based serial terminal for the gnome desktop. It is written in Vala for extra goodness.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. %{__make} %{?_smp_mflags}
  30. %install
  31. %{__rm} -rf ${RPM_BUILD_ROOT}
  32. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  33. desktop-file-install --delete-original \
  34. --dir %{buildroot}%{_datadir}/applications \
  35. %{buildroot}%{_datadir}/applications/%{name}.desktop
  36. %find_lang %{name}
  37. %clean
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %post
  40. touch --no-create %{_datadir}/icons/hicolor
  41. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  42. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  43. fi
  44. %postun
  45. touch --no-create %{_datadir}/icons/hicolor
  46. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  47. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  48. fi
  49. %files -f %{name}.lang
  50. %defattr(-,root,root)
  51. %doc COPYING ChangeLog NEWS README
  52. %{_bindir}/moserial
  53. %{_datadir}/applications/moserial.desktop
  54. %{_datadir}/icons/hicolor/*/*/*
  55. %{_datadir}/gnome/help/moserial
  56. %{_datadir}/moserial/glade/moserial.ui
  57. %{_datadir}/omf/moserial/*
  58. %{_mandir}/man1/moserial.1.gz
  59. %changelog
  60. * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.8-1
  61. - new upstream release
  62. - remove Patch0 (moserial-3.0.2-stropts.patch)
  63. * Thu Jun 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.7-1
  64. - new upstream release
  65. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1
  66. - new upstream release
  67. * Fri Oct 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  68. - new upstream release
  69. - change BuildRequires: gtk3-devel instead of gtk2-devel
  70. - add Patch0 (moserial-3.0.2-stropts.patch)
  71. * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  72. - new upstream release
  73. * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  74. - initial build for Vine Linux