48d88c
Summary: Grid-entry natural handwriting input panel
48d88c
Name: cellwriter
6f115d
Version: 1.3.4
8d84de
Release: 1%{?dist}
48d88c
License: GPLv2+
48d88c
Group: User Interface/X Hardware Support
48d88c
URL: http://risujin.org/cellwriter/
48d88c
Source0: http://pub.risujin.org/%{name}/%{name}-%{version}.tar.gz
48d88c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
48d88c
BuildRequires: desktop-file-utils
48d88c
BuildRequires: libXtst-devel
48d88c
BuildRequires: gtk2-devel
48d88c
BuildRequires: libgnome-devel
48d88c
48d88c
%description
48d88c
CellWriter is a grid-entry natural handwriting input panel. As 
48d88c
you write characters into the cells, your writing is instantly 
48d88c
recognized at the character level. When you press 'Enter' on the 
48d88c
panel, the input you entered is sent to the currently focused 
48d88c
application as if typed on the keyboard.
48d88c
48d88c
%prep
48d88c
%setup -q
48d88c
48d88c
%build
48d88c
%configure
48d88c
make %{?_smp_mflags}
48d88c
48d88c
%install
48d88c
rm -rf $RPM_BUILD_ROOT
48d88c
48d88c
make DESTDIR="$RPM_BUILD_ROOT" install
48d88c
48d88c
desktop-file-install --delete-original --vendor=fedora \
48d88c
  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
48d88c
  ${RPM_BUILD_ROOT}/%{_datadir}/applications/cellwriter.desktop
48d88c
48d88c
48d88c
%clean
48d88c
rm -rf $RPM_BUILD_ROOT
48d88c
48d88c
%post
48d88c
touch --no-create %{_datadir}/icons/hicolor
48d88c
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
48d88c
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
48d88c
fi
48d88c
48d88c
%postun
48d88c
touch --no-create %{_datadir}/icons/hicolor
48d88c
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
48d88c
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
48d88c
fi
48d88c
48d88c
48d88c
%files
48d88c
%defattr(-,root,root,-)
48d88c
%doc README COPYING TODO AUTHORS
48d88c
%{_bindir}/cellwriter
48d88c
%dir %{_datadir}/cellwriter
48d88c
%{_datadir}/cellwriter/*
48d88c
%{_datadir}/applications/*.desktop
48d88c
%{_datadir}/icons/hicolor/scalable/apps/cellwriter.svg
48d88c
%{_datadir}/pixmaps/cellwriter.xpm
48d88c
%{_mandir}/*/*
48d88c
48d88c
48d88c
%changelog
6f115d
* Thu Jun 26 2008 Jeremy Katz <katzj@redhat.com> - 1.3.4-1
6f115d
- Update to 1.3.4
6f115d
8d84de
* Thu Apr 24 2008 Jeremy Katz <katzj@redhat.com> - 1.3.3-1
8d84de
- Update to 1.3.3
8d84de
b65422
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-3
b65422
- Autorebuild for GCC 4.3
b65422
48d88c
* Tue Dec 11 2007 Jeremy Katz <katzj@redhat.com> - 1.3.1-2
48d88c
- Add patch to make desktop file validate with stricter desktop-file-utils
48d88c
- Update the icon cache
48d88c
- Cleaner URL
48d88c
48d88c
* Mon Dec 10 2007 Jeremy Katz <katzj@redhat.com> - 1.3.1-1
48d88c
- Initial build.
48d88c