moserial-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. %define pkg_version 2.30.0
  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/2.30/%{name}-%{version}.tar.bz2
  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: gtk2-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. * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  61. - initial build for Vine Linux