2005-08-09 17:45:33 +00:00
|
|
|
%define poppler_version 0.3.3
|
2005-06-06 10:17:06 +00:00
|
|
|
%define gtk2_version 2.6.0
|
|
|
|
|
2005-01-27 19:12:56 +00:00
|
|
|
Summary: Document viewer
|
|
|
|
Name: evince
|
2005-08-16 12:59:33 +00:00
|
|
|
Version: 0.3.3
|
|
|
|
Release: 1
|
2005-01-27 19:12:56 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2005-06-06 10:17:06 +00:00
|
|
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
|
|
BuildRequires: poppler-devel >= %{poppler_version}
|
2005-08-09 17:45:33 +00:00
|
|
|
BuildRequires: libgnomeprintui22-devel
|
|
|
|
BuildRequires: libgnomeui-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2005-01-27 19:12:56 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2005-04-23 11:04:53 +00:00
|
|
|
BuildRequires: scrollkeeper
|
2005-01-27 19:12:56 +00:00
|
|
|
Prereq: /usr/bin/update-desktop-database
|
2005-04-23 11:04:53 +00:00
|
|
|
PreReq: scrollkeeper >= 0.1.4
|
2005-06-06 10:17:06 +00:00
|
|
|
Requires: gtk2 >= %{gtk2_version}
|
|
|
|
Requires: poppler >= %{poppler_version}
|
2005-01-27 19:12:56 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2005-04-23 11:04:53 +00:00
|
|
|
/bin/rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
|
|
|
|
|
2005-01-27 19:12:56 +00:00
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
2005-02-09 14:08:30 +00:00
|
|
|
update-desktop-database %{_datadir}/applications
|
|
|
|
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
2005-03-08 18:11:34 +00:00
|
|
|
SCHEMAS="evince.schemas evince-thumbnailer.schemas"
|
2005-02-09 14:08:30 +00:00
|
|
|
for S in $SCHEMAS; do
|
|
|
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
|
|
|
|
done
|
2005-04-23 11:04:53 +00:00
|
|
|
scrollkeeper-update
|
2005-01-27 19:12:56 +00:00
|
|
|
|
|
|
|
%postun
|
2005-02-09 14:08:30 +00:00
|
|
|
update-desktop-database %{_datadir}/applications
|
2005-04-23 11:04:53 +00:00
|
|
|
scrollkeeper-update
|
2005-01-27 19:12:56 +00:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README ChangeLog
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/evince
|
|
|
|
%{_datadir}/applications/*.desktop
|
2005-03-08 18:11:34 +00:00
|
|
|
%{_sysconfdir}/gconf/schemas/*.schemas
|
2005-04-23 11:04:53 +00:00
|
|
|
%{_datadir}/gnome/help/evince
|
|
|
|
%{_datadir}/omf/evince
|
2005-01-27 19:12:56 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-08-16 12:59:33 +00:00
|
|
|
* Tue Aug 16 2005 Matthias Clasen <mclasen@redhat.com>
|
|
|
|
- Newer upstream version
|
|
|
|
|
2005-08-09 17:45:33 +00:00
|
|
|
* Tue Aug 09 2005 Andrew Overholt <overholt@redhat.com> 0.3.2-3
|
|
|
|
- Add necessary build requirements.
|
|
|
|
- Bump poppler_version to 0.3.3.
|
|
|
|
|
2005-08-04 17:41:42 +00:00
|
|
|
* Thu Aug 4 2005 Matthias Clasen <mclasen@redhat.com> - 0.3.2-1
|
|
|
|
- Newer upstream version
|
|
|
|
|
2005-06-06 10:17:06 +00:00
|
|
|
* Mon Jun 6 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.3.1-2
|
|
|
|
- Add poppler version dep and refactor the gtk2 one
|
|
|
|
|
2005-05-22 11:18:31 +00:00
|
|
|
* Sun May 22 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.3.1-1
|
|
|
|
- Update to 0.3.1
|
|
|
|
|
2005-05-07 10:51:42 +00:00
|
|
|
* Sat May 7 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.3.0-1
|
|
|
|
- Update to 0.3.0
|
|
|
|
|
2005-04-23 10:52:41 +00:00
|
|
|
* Sat Apr 23 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.2.1-1
|
|
|
|
- Update to 0.2.1
|
2005-04-23 11:04:53 +00:00
|
|
|
- Add help support
|
2005-04-23 10:52:41 +00:00
|
|
|
|
2005-04-06 10:03:41 +00:00
|
|
|
* Wed Apr 6 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.2.0-1
|
|
|
|
- Update to 0.2.0
|
|
|
|
|
2005-03-14 13:09:09 +00:00
|
|
|
* Sat Mar 12 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.9-1
|
|
|
|
- Update to 0.1.9
|
|
|
|
|
2005-03-12 11:46:00 +00:00
|
|
|
* Sat Mar 12 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.8-1
|
|
|
|
- Update to 0.1.8
|
|
|
|
|
2005-03-08 18:00:48 +00:00
|
|
|
* Sat Mar 8 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.7-1
|
|
|
|
- Update to 0.1.7
|
2005-03-08 18:11:34 +00:00
|
|
|
- Install the new schemas
|
2005-03-08 18:00:48 +00:00
|
|
|
|
2005-03-08 14:23:26 +00:00
|
|
|
* Sat Mar 8 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.6-1
|
2005-03-08 14:22:37 +00:00
|
|
|
- Update to 0.1.6
|
|
|
|
- Add poppler dependency
|
|
|
|
|
2005-03-03 16:32:39 +00:00
|
|
|
* Sat Mar 3 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.5-2
|
|
|
|
- Rebuild
|
|
|
|
|
2005-02-26 19:09:35 +00:00
|
|
|
* Sat Feb 26 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.5-1
|
|
|
|
- Update to 0.1.5
|
|
|
|
|
2005-02-09 13:29:39 +00:00
|
|
|
* Tue Feb 9 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.4-1
|
|
|
|
- Update to 0.1.4
|
2005-02-09 14:08:30 +00:00
|
|
|
- Install schemas and update desktop database
|
2005-02-09 13:29:39 +00:00
|
|
|
|
2005-02-04 16:10:41 +00:00
|
|
|
* Tue Feb 4 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.3-1
|
|
|
|
- Update to 0.1.3
|
|
|
|
|
2005-02-01 16:27:19 +00:00
|
|
|
* Tue Feb 1 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.2-1
|
|
|
|
- Update to 0.1.2
|
|
|
|
|
2005-01-27 19:12:56 +00:00
|
|
|
* Wed Jan 26 2005 Jeremy Katz <katzj@redhat.com> - 0.1.1-1
|
|
|
|
- 0.1.1
|
|
|
|
|
|
|
|
* Thu Jan 20 2005 Jeremy Katz <katzj@redhat.com> - 0.1.0-0.20050120
|
|
|
|
- update to current cvs
|
|
|
|
|
|
|
|
* Thu Jan 6 2005 Jeremy Katz <katzj@redhat.com> - 0.1.0-0.20050106.1
|
|
|
|
- require gtk2 >= 2.6
|
|
|
|
|
|
|
|
* Thu Jan 6 2005 Jeremy Katz <katzj@redhat.com>
|
|
|
|
- Initial build.
|
|
|
|
- Add a desktop file
|