%define poppler_version 0.3.3 %define gtk2_version 2.6.0 Summary: Document viewer Name: evince Version: 0.3.3 Release: 1 License: GPL Group: Applications/Publishing Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: poppler-devel >= %{poppler_version} BuildRequires: libgnomeprintui22-devel BuildRequires: libgnomeui-devel BuildRequires: libtiff-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: desktop-file-utils BuildRequires: scrollkeeper Prereq: /usr/bin/update-desktop-database PreReq: scrollkeeper >= 0.1.4 Requires: gtk2 >= %{gtk2_version} Requires: poppler >= %{poppler_version} %description evince is a GNOME-based document viewer. %prep %setup -q %build %configure make %install rm -rf $RPM_BUILD_ROOT %makeinstall mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications /bin/rm -rf $RPM_BUILD_ROOT/var/scrollkeeper %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %post update-desktop-database %{_datadir}/applications export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="evince.schemas evince-thumbnailer.schemas" for S in $SCHEMAS; do gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null done scrollkeeper-update %postun update-desktop-database %{_datadir}/applications scrollkeeper-update %files -f %{name}.lang %defattr(-,root,root,-) %doc README ChangeLog %{_bindir}/* %{_datadir}/evince %{_datadir}/applications/*.desktop %{_sysconfdir}/gconf/schemas/*.schemas %{_datadir}/gnome/help/evince %{_datadir}/omf/evince %changelog * Tue Aug 16 2005 Matthias Clasen - Newer upstream version * Tue Aug 09 2005 Andrew Overholt 0.3.2-3 - Add necessary build requirements. - Bump poppler_version to 0.3.3. * Thu Aug 4 2005 Matthias Clasen - 0.3.2-1 - Newer upstream version * Mon Jun 6 2005 Marco Pesenti Gritti - 0.3.1-2 - Add poppler version dep and refactor the gtk2 one * Sun May 22 2005 Marco Pesenti Gritti - 0.3.1-1 - Update to 0.3.1 * Sat May 7 2005 Marco Pesenti Gritti - 0.3.0-1 - Update to 0.3.0 * Sat Apr 23 2005 Marco Pesenti Gritti - 0.2.1-1 - Update to 0.2.1 - Add help support * Wed Apr 6 2005 Marco Pesenti Gritti - 0.2.0-1 - Update to 0.2.0 * Sat Mar 12 2005 Marco Pesenti Gritti - 0.1.9-1 - Update to 0.1.9 * Sat Mar 12 2005 Marco Pesenti Gritti - 0.1.8-1 - Update to 0.1.8 * Sat Mar 8 2005 Marco Pesenti Gritti - 0.1.7-1 - Update to 0.1.7 - Install the new schemas * Sat Mar 8 2005 Marco Pesenti Gritti - 0.1.6-1 - Update to 0.1.6 - Add poppler dependency * Sat Mar 3 2005 Marco Pesenti Gritti - 0.1.5-2 - Rebuild * Sat Feb 26 2005 Marco Pesenti Gritti - 0.1.5-1 - Update to 0.1.5 * Tue Feb 9 2005 Marco Pesenti Gritti - 0.1.4-1 - Update to 0.1.4 - Install schemas and update desktop database * Tue Feb 4 2005 Marco Pesenti Gritti - 0.1.3-1 - Update to 0.1.3 * Tue Feb 1 2005 Marco Pesenti Gritti - 0.1.2-1 - Update to 0.1.2 * Wed Jan 26 2005 Jeremy Katz - 0.1.1-1 - 0.1.1 * Thu Jan 20 2005 Jeremy Katz - 0.1.0-0.20050120 - update to current cvs * Thu Jan 6 2005 Jeremy Katz - 0.1.0-0.20050106.1 - require gtk2 >= 2.6 * Thu Jan 6 2005 Jeremy Katz - Initial build. - Add a desktop file