File xournal.spec of Package xournal
#
# spec file for package xournal (Version 0.4.2.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xournal
BuildRequires: gtk2-devel libgnomecanvas-devel libgnomeprintui-devel update-desktop-files
Url: http://math.mit.edu/~auroux/software/xournal/
Version: 0.4.2.1
Release: 1
Summary: An application for notetaking, sketching, and keeping a journal using a stylus
License: GPL v2 or later
Group: Productivity/Office/Other
AutoReqProv: on
Source: %{name}-%{version}.tar.bz2
Source1: xournal.desktop
Source2: xournal.png
Patch0: xournal-fix-dontUse_mktemp.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Xournal is an application for notetaking, sketching, keeping a journal
using a stylus. It is free software (GNU GPL) and runs on Linux (recent
distributions) and other GTK+/Gnome platforms. It is similar to
Microsoft Windows Journal or to other alternatives such as Jarnal and
Gournal.
Authors:
--------
Denis Auroux (auroux@math.mit.edu)
%prep
%setup
#%patch0
%build
autoreconf -f --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} --with-libdir=%{_libdir}
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} libdir=%{_libdir} install
%suse_update_desktop_file -i xournal Office Core-Office
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} libdir=%{_libdir} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%dir %{_datadir}/xournal
%{_bindir}/xournal
%{_datadir}/xournal/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%changelog
* Fri Apr 11 2008 dkukawka@suse.de
- updated to new 0.4.2.1:
- bugfix for #1926757 (crash upon pasting variable-width stroke)
- bugfix: set ruler/recognizer setting to default upon switching
tools
- bugfixes for X.org 7.3; allow XInput and core events in reverse
order
- resize selection
- pressure sensitive pen (variable stroke width)
- geometric shape recognizer (see manual)
- clean up compiler warnings (patch contributed by Danny Kukawka)
- removed upstream gone patches:
- xournal-fix-compilerWarnings.diff
- xournal-retval.patch
* Thu Sep 27 2007 dkukawka@suse.de
- updated to new upstream version 0.4.1:
- bugfix: compatibility with new versions of pdftoppm
- GTK+ 2.11 event processing bugfix
- minor bugfixes: hand tool, handling of filenames containing '&'
- desktop and MIME files + updated installer
- config options: left-handed scrollbar, hide some menu items
(customizable in config file), auto-save preferences
- bugfixes for GTK+ 2.11 behavior
- text tool (handles most TrueType and Type1 fonts)
- font selection dialog and button
- keyboard mappings (arrow keys)
- menu mnemonics and shortcuts
- more responsive hand tool
- bugfix for GTK+ 2.11 XInput behavior
- various minor bugfixes and enhancements
- added patch:
- xournal-fix-compilerWarnings.diff (fix really many compiler
warnings and 64bit issues)
* Thu Mar 08 2007 dkukawka@suse.de
- updated to new upstream version 0.3.3:
- bugfix: upon loading a new file, zoom is set to default
startup zoom
- config option to allow input from a mouse or other core pointer
device
- config file entry to specify a default location for open/save
(patch contributed by Andy Neitzke)
- config file entries to customize visibility and position of
toolbars
- icon (thanks to Michele Codutti)
- added new icon for the desktop file
* Mon Jan 08 2007 dkukawka@suse.de
- updated to new upstream version 0.3.2:
- preferences file and Save Preferences command
- extra customization (via preferences file)
- minor UI changes (patch contributed by Eduardo de Barros Lima)
- hand tool (partially contributed by Vincenzo Ciancia)
- a few bugfixes in rendering of bitmap backgrounds
- fixed a file format bug on systems with non-standard numeric
locale (bug reported by Gert Renckens)
- fixed b.n.c #222484
* Sun Nov 12 2006 stbinner@suse.de
- don't repeat Name in GenericName field within .desktop file
* Wed Sep 13 2006 ro@suse.de
- fix a missing return value in nonvoid function
* Wed Jul 26 2006 dkukawka@suse.de
- updated to current upstream version 0.3:
- new PDF rendering engine: export to PDF generates optimized files
(smaller and more accurate)
- export to PDF handles PDF backgrounds (up to PDF-1.4) natively
(without conversion to bitmap)
- default thickness of erasers and highlighters slightly increased
- zoom dialog box with input box and "fit to page height" option
- file format documentation added to the user's manual
* Mon Jul 03 2006 dkukawka@suse.de
- updated to current upstream version 0.2.2:
* Version 0.2.2 (Jun 5, 2006):
- mapping of tools to stylus buttons (the options menu has new
entries to allow the mapping of buttons 2 and 3 to arbitrary
tools; the tools menu and toolbar affect the settings for
button 1) (see manual)
- moving selection by drag-and-drop works across page
boundaries
- vertical space tool can move items to next page (only when
the entire block being moved has crossed the page boundary;
items on the new page are not moved) - "apply to all pages"
is now a toggle button affecting the behavior of paper size,
color, and style commands
- change in the behavior of the selection upon switching
between tools
* Version 0.2.1 (Jun 3, 2006):
- recently used files listed in file menu
- can change color or thickness of pen strokes in selection
- function to apply paper style to all pages
- can specify on command line a PDF file to annotate
- suggest a derived file name for PDF annotation
- speed up switching between pages
- fixed a bug in XInput initialization (thanks to Luca de Cicco)
- fixed a bug in print ranges (thanks to Mathieu Bouchard)
- fixed a refresh bug in rescaling bitmap backgrounds
* Thu Feb 02 2006 dkukawka@suse.de
- init version 0.2
- added icon and desktop file