1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- %define pkg_version 3.0.2
- %define pkg_release 1%{?_dist_release}
- Summary: Gtk-based serial terminal
- Summary(ja): GTKベースのシリアルターミナル
- Name: moserial
- Version: %{pkg_version}
- Release: %{pkg_release}
- Source0: http://ftp.gnome.org/pub/gnome/sources/moserial/3.0/%{name}-%{version}.tar.xz
- Patch0: moserial-3.0.2-stropts.patch
- License: GPLv3+
- Group: Applications/Communications
- URL: http://live.gnome.org/moserial
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Requires: hicolor-icon-theme
- BuildRequires: gtk3-devel
- BuildRequires: GConf2-devel
- BuildRequires: vala-devel
- BuildRequires: gnome-doc-utils >= 0.3.2
- BuildRequires: docbook-utils
- BuildRequires: desktop-file-utils
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %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
- %patch0 -p1 -b .stropts
- %build
- %configure --disable-static
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %{__make} install DESTDIR=${RPM_BUILD_ROOT}
- desktop-file-install --delete-original \
- --dir %{buildroot}%{_datadir}/applications \
- %{buildroot}%{_datadir}/applications/%{name}.desktop
- %find_lang %{name}
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %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 COPYING ChangeLog NEWS README
- %{_bindir}/moserial
- %{_datadir}/applications/moserial.desktop
- %{_datadir}/icons/hicolor/*/*/*
- %{_datadir}/gnome/help/moserial
- %{_datadir}/moserial/glade/moserial.ui
- %{_datadir}/omf/moserial/*
- %{_mandir}/man1/moserial.1.gz
- %changelog
- * Fri Oct 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
- - new upstream release
- - change BuildRequires: gtk3-devel instead of gtk2-devel
- - add Patch0 (moserial-3.0.2-stropts.patch)
- * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
- - new upstream release
- * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
- - initial build for Vine Linux
|