Summary: Document viewer Name: evince Version: 0.2.1 Release: 1 License: GPL Group: Applications/Publishing Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gtk2-devel >= 2.6.0 BuildRequires: poppler-devel BuildRequires: desktop-file-utils BuildRequires: scrollkeeper Prereq: /usr/bin/update-desktop-database PreReq: scrollkeeper >= 0.1.4 Requires: gtk2 >= 2.6.0 Requires: poppler %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 * 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