rpms/evince/devel property-backends.patch, NONE, 1.1 evince.spec, 1.107, 1.108

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Jan 29 05:35:14 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/evince/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28053

Modified Files:
	evince.spec 
Added Files:
	property-backends.patch 
Log Message:
split off backends


property-backends.patch:

--- NEW FILE property-backends.patch ---
diff -up evince-2.21.90/properties/ev-properties-main.c.property-deps evince-2.21.90/properties/ev-properties-main.c
--- evince-2.21.90/properties/ev-properties-main.c.property-deps	2008-01-29 00:09:41.000000000 -0500
+++ evince-2.21.90/properties/ev-properties-main.c	2008-01-29 00:14:44.000000000 -0500
@@ -133,6 +133,8 @@ nautilus_module_initialize (GTypeModule 
 	/* set up translation catalog */
 	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+
+	ev_backends_manager_init ();
 }
 
 void


Index: evince.spec
===================================================================
RCS file: /cvs/extras/rpms/evince/devel/evince.spec,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- evince.spec	29 Jan 2008 03:45:17 -0000	1.107
+++ evince.spec	29 Jan 2008 05:34:27 -0000	1.108
@@ -14,6 +14,10 @@
 URL:		http://www.gnome.org/projects/evince/
 Source0: 	http://download.gnome.org/sources/%{name}/2.21/%{name}-%{version}.tar.bz2
 Patch0:		evince-0.6.0-print-error.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=512719
+Patch1:		property-deps.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=512720
+Patch2:		property-backends.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gtk2-devel >= %{gtk2_version}
@@ -21,6 +25,7 @@
 BuildRequires:	poppler-devel >= %{poppler_version}
 BuildRequires:	libXt-devel
 BuildRequires:	nautilus-devel
+BuildRequires:  gnome-keyring-devel
 BuildRequires:	libgnomeui-devel
 BuildRequires:	libglade2-devel
 BuildRequires:	libtiff-devel
@@ -54,9 +59,37 @@
 evince is a GNOME-based document viewer.
 
 
+%package devel
+Summary: Libraries and headers for evince
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Libraries and header files for evince backend development.
+
+
+%package dvi
+Summary: Evince backend for dvi files
+Group: Applications/Publishing
+Requires: %{name} = %{version}-%{release}
+
+%description dvi
+A backend to let evince display dvi files.
+
+
+%package djvu
+Summary: Evince backend for djvu files
+Group: Applications/Publishing
+Requires: %{name} = %{version}-%{release}
+
+%description djvu
+A backend to let evince display djvu files.
+
+
 %prep
 %setup -q
 %patch0 -p1 -b .print-error
+%patch1 -p1 -b .property-deps
 
 %build
 intltoolize --force
@@ -86,6 +119,8 @@
 /bin/rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
 # Get rid of static libs and .la files.
 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/evince/backends/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 # don't ship icon caches
 rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
@@ -109,6 +144,7 @@
 
 
 %post
+/sbin/ldconfig
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 gconftool-2 --makefile-install-rule \
 	%{_sysconfdir}/gconf/schemas/evince.schemas \
@@ -138,6 +174,7 @@
 
 
 %postun
+/sbin/ldconfig
 update-desktop-database &> /dev/null ||:
 scrollkeeper-update -q || :
 
@@ -155,10 +192,31 @@
 %{_datadir}/%{name}/
 %{_datadir}/applications/%{name}.desktop
 %{_sysconfdir}/gconf/schemas/*.schemas
-%{_datadir}/omf/%{name}/
 %{_datadir}/icons/hicolor/*/apps/evince.*
 %{_mandir}/man1/evince.1.gz
-
+%{_libdir}/libevbackend.so.*
+%dir %{_libdir}/evince/backends
+%{_libdir}/evince/backends/libpdfdocument.so
+%{_libdir}/evince/backends/pdfdocument.evince-backend
+%{_libdir}/evince/backends/libpsdocument.so
+%{_libdir}/evince/backends/psdocument.evince-backend
+%{_libdir}/evince/backends/libtiffdocument.so
+%{_libdir}/evince/backends/tiffdocument.evince-backend
+%{_libdir}/evince/backends/libcomicsdocument.so
+%{_libdir}/evince/backends/comicsdocument.evince-backend
+
+
+%files devel
+%{_includedir}/evince-2.20
+%{_libdir}/libevbackend.so
+
+%files dvi
+%{_libdir}/evince/backends/libdvidocument.so*
+%{_libdir}/evince/backends/dvidocument.evince-backend
+
+%files djvu
+%{_libdir}/evince/backends/libdjvudocument.so
+%{_libdir}/evince/backends/djvudocument.evince-backend
 
 %changelog
 * Mon Jan 28 2008 Matthias Clasen <mclasen at redhat.com> - 2.21.90-1




More information about the fedora-extras-commits mailing list