Summary: Serial terminal for the gnome desktop Name: moserial Version: 2.26.1 Release: 2%{?dist} Group: Applications/Communications License: GPLv3+ URL: http://live.gnome.org/moserial/ Source0: http://ftp.gnome.org/pub/GNOME/sources/moserial/2.26/moserial-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: yelp hicolor-icon-theme BuildRequires: vala desktop-file-utils GConf2-devel perl(XML::Parser) BuildRequires: gnome-doc-utils intltool %description Moserial is a clean, friendly gtk-based serial terminal for the gnome desktop. It is written in Vala for extra goodness. %prep %setup -q [ -s README ] && exit 1 %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p" desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean %{__rm} -rf %{buildroot} %post touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %postun touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %files -f %{name}.lang %defattr(-, root, root, -) %doc AUTHORS ChangeLog ChangeLog.pre-git COPYING MAINTAINERS NEWS %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/gnome/help/%{name} %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/%{name} %{_datadir}/omf/%{name} %changelog * Sat May 30 2009 Terje Rosten - 2.26.1-2 - add req. on yelp and hicolor-icon-theme - fix dir ownership - fix license - preserve timestamps - detect README changes * Fri May 29 2009 Terje Rosten - 2.26.1-1 - initial package