evince/evince.spec

263 lines
7.3 KiB
RPMSpec
Raw Normal View History

2006-05-23 03:38:30 +00:00
%define poppler_version 0.5.2
2006-05-17 15:59:15 +00:00
%define gtk2_version 2.8.0
2005-12-02 00:17:47 +00:00
%define dbus_version 0.60
Name: evince
2006-05-17 15:59:15 +00:00
Version: 0.5.3
2006-05-09 17:22:14 +00:00
Release: 1
Summary: Document viewer
License: GPL
Group: Applications/Publishing
URL: http://www.gnome.org/projects/evince/
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: poppler-devel >= %{poppler_version}
BuildRequires: libXt-devel
BuildRequires: nautilus
BuildRequires: libgnomeprintui22-devel
BuildRequires: libgnomeui-devel
BuildRequires: gnome-vfs2-devel
BuildRequires: libglade2-devel
BuildRequires: libtiff-devel
BuildRequires: gnome-doc-utils
BuildRequires: scrollkeeper
BuildRequires: dbus-devel >= %{dbus_version}
Requires(pre): GConf2
Requires(post): GConf2
Requires(post): scrollkeeper
Requires(post): desktop-file-utils
Requires(preun): GConf2
Requires(postun): scrollkeeper
Requires(postun): desktop-file-utils
%description
evince is a GNOME-based document viewer.
%prep
%setup -q
%build
2005-08-18 00:31:41 +00:00
%configure --disable-scrollkeeper
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
%find_lang %name
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
2005-04-23 11:04:53 +00:00
/bin/rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
2005-08-18 00:48:22 +00:00
# Get rid of static libs and .la files.
/bin/rm $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-1.0/*.a
/bin/rm $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-1.0/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="evince.schemas evince-thumbnailer.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/$S >/dev/null || :
done
killall -HUP gconfd-2 || :
fi
%post
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
killall -HUP gconfd-2 2>/dev/null || :
update-desktop-database &> /dev/null ||:
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
%preun
if [ "$1" -eq 0 ]; then
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
killall -HUP gconfd-2 2>/dev/null || :
fi
%postun
update-desktop-database &> /dev/null ||:
scrollkeeper-update -q || :
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README ChangeLog
%{_bindir}/*
2005-08-18 00:48:22 +00:00
%{_libdir}/nautilus/extensions-1.0/libevince-properties-page.so*
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_sysconfdir}/gconf/schemas/*.schemas
%{_datadir}/gnome/help/%{name}/
%{_datadir}/omf/%{name}/
%changelog
2006-05-23 03:38:30 +00:00
* Mon May 22 2006 Kristian Høgsberg <krh@redhat.com> 0.5.3-1
- Bump poppler_version to 0.5.2.
2006-05-17 15:59:15 +00:00
* Wed May 17 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.3-1
- Update to 0.5.3
2006-05-09 17:22:14 +00:00
* Tue May 9 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.2-1
- update to 0.5.2
* Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0.5.1-3
- quiet scriptlet spew from gconfd killing
2006-03-01 19:30:03 +00:00
* Wed Mar 1 2006 Kristian Høgsberg <krh@redhat.com> - 0.5.1-2
- Rebuild to pick up new poppler soname.
2006-02-28 02:45:33 +00:00
* Mon Feb 27 2006 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
- Update to 0.5.1
2006-02-28 02:47:13 +00:00
- Drop upstreamed patch
2006-02-28 02:45:33 +00:00
2006-02-11 02:40:45 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-3.2
- bump again for double-long bug on ppc(64)
2006-02-07 11:35:47 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-3.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Mon Jan 30 2006 Christopher Aillon <caillon@redhat.com> 0.5.0-3
- Don't explicitly set the invisible char to '*'
* Mon Jan 23 2006 Kristian Høgsberg <krh@redhat.com> 0.5.0-2
- Spec file update from Brian Pepple <bdpepple@ameritech.net> (#123527):
- Drop Requires for gtk2 & poppler, devel soname pulls these in.
- Disable GConf schema install in install section.
- Add BR for gnome-doc-utils, nautilus & libXt-devel.
- Use smp_mflags.
- Drop BR for desktop-file-utils,gcc & gcc-c++.
- Add URL & full source.
- Use more macros.
- Fix ownership of some directories.
- Drop depreciated prereq, and use requires.
- Use fedora extras preferred buildroot.
- Various formatting changes.
2006-01-20 15:42:19 +00:00
* Fri Jan 20 2006 Kristian Høgsberg <krh@redhat.com> 0.5.0-1
- Update to 0.5.0 release.
* Tue Dec 13 2005 Kristian Høgsberg <krh@redhat.com> 0.4.0-4
- Added a couple of missing build requires.
2005-12-10 16:49:01 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0.4.0-3.1
2005-12-09 22:40:21 +00:00
- rebuilt
2005-12-02 00:17:47 +00:00
* Thu Dec 01 2005 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-3
- rebuild for new dbus
2005-09-13 15:02:46 +00:00
* Tue Sep 13 2005 Marco Pesenti Gritti <mpg@redhat.com> 0.4.0-2
- Rebuild
2005-08-26 16:26:04 +00:00
* Fri Aug 26 2005 Marco Pesenti Gritti <mpg@redhat.com> 0.4.0-1
- Update to 0.4.0
- No more need to remove ev-application-service.h
2005-08-26 16:26:04 +00:00
* Fri Aug 19 2005 Kristian Høgsberg <krh@redhat.com> 0.3.4-2
- Remove stale autogenerated ev-application-service.h.
2005-08-18 00:04:28 +00:00
* Wed Aug 17 2005 Kristian Høgsberg <krh@redhat.com> 0.3.4-1
- New upstream version again.
2005-08-18 00:48:22 +00:00
- Add nautilus property page .so's.
2005-08-18 00:31:41 +00:00
- Stop scrollkeeper from doing what it does.
2005-08-18 00:04:28 +00:00
2005-08-17 22:05:51 +00:00
* Wed Aug 17 2005 Kristian Høgsberg <krh@redhat.com> 0.3.3-2
- Bump release and rebuild.
2005-08-17 23:56:29 +00:00
- Require poppler > 0.4.0.
2005-08-17 22:05:51 +00:00
2005-08-16 12:59:33 +00:00
* Tue Aug 16 2005 Matthias Clasen <mclasen@redhat.com>
- Newer upstream version
* 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
* 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
* 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-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
- 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
- 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
- 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
* 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