evince/evince.spec
Marco Pesenti Gritti 873bc3fdcf - Update to 0.2.0
2005-04-06 10:03:41 +00:00

103 lines
2.4 KiB
RPMSpec

Summary: Document viewer
Name: evince
Version: 0.2.0
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
Prereq: /usr/bin/update-desktop-database
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
%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
%postun
update-desktop-database %{_datadir}/applications
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README ChangeLog
%{_bindir}/*
%{_datadir}/evince
%{_datadir}/applications/*.desktop
%{_sysconfdir}/gconf/schemas/*.schemas
%changelog
* Wed Apr 6 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.2.0-1
- Update to 0.2.0
* Sat Mar 12 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.9-1
- Update to 0.1.9
* Sat Mar 12 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.8-1
- Update to 0.1.8
* Sat Mar 8 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.7-1
- Update to 0.1.7
- Install the new schemas
* Sat Mar 8 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.6-1
- Update to 0.1.6
- Add poppler dependency
* Sat Mar 3 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.5-2
- Rebuild
* Sat Feb 26 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.5-1
- Update to 0.1.5
* Tue Feb 9 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.4-1
- Update to 0.1.4
- Install schemas and update desktop database
* Tue Feb 4 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.3-1
- Update to 0.1.3
* Tue Feb 1 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.2-1
- Update to 0.1.2
* 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