Blob Blame History Raw
Summary: Grid-entry natural handwriting input panel
Name: cellwriter
Version: 1.3.5
Release: 1%{?dist}
License: GPLv2+
Group: User Interface/X Hardware Support
URL: http://code.google.com/p/cellwriter/
Source0: http://cellwriter.googlecode.com/files/cellwriter_%{version}-1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: desktop-file-utils
BuildRequires: libXtst-devel
BuildRequires: gtk2-devel
BuildRequires: libgnome-devel

%description
CellWriter is a grid-entry natural handwriting input panel. As 
you write characters into the cells, your writing is instantly 
recognized at the character level. When you press 'Enter' on the 
panel, the input you entered is sent to the currently focused 
application as if typed on the keyboard.

Works well on a Wacom tablet, TabletPC, or any device with a stylus.

%prep
%setup -qn cellwriter

%build
%configure
make %{?_smp_mflags} LIBS="$LIBS -lX11 -lm -lXtst"

%install
rm -rf $RPM_BUILD_ROOT

make DESTDIR="$RPM_BUILD_ROOT" install

desktop-file-install --delete-original --vendor=fedora \
  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  ${RPM_BUILD_ROOT}/%{_datadir}/applications/cellwriter.desktop


%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
%defattr(-,root,root,-)
%doc README COPYING TODO AUTHORS
%{_bindir}/cellwriter
%dir %{_datadir}/cellwriter
%{_datadir}/cellwriter/*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/scalable/apps/cellwriter.svg
%{_datadir}/pixmaps/cellwriter.xpm
%{_mandir}/*/*


%changelog
* Mon Jun 18 2012 Jon Ciesla <limburgher@gmail.com> - 1.3.5-1
- Latest upstream, BZ 833060.

* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Thu Nov 10 2011 Jon Ciesla <limb@jcomserv.net> - 1.3.4-7.
- Rebuild for libpng 1.5.

* Fri Mar 04 2011 Jon Ciesla <limb@jcomserv.net> - 1.3.4-6.
- Updated description to match relevant keywords, BZ 682014.

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Mon Jun 28 2010 Jon Ciesla <limb@jcomserv.net> - 1.3.4-4.
- FTBFS fix, 599941.

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Thu Jun 26 2008 Jeremy Katz <katzj@redhat.com> - 1.3.4-1
- Update to 1.3.4

* Thu Apr 24 2008 Jeremy Katz <katzj@redhat.com> - 1.3.3-1
- Update to 1.3.3

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-3
- Autorebuild for GCC 4.3

* Tue Dec 11 2007 Jeremy Katz <katzj@redhat.com> - 1.3.1-2
- Add patch to make desktop file validate with stricter desktop-file-utils
- Update the icon cache
- Cleaner URL

* Mon Dec 10 2007 Jeremy Katz <katzj@redhat.com> - 1.3.1-1
- Initial build.