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