]> git.pld-linux.org Git - packages/evince.git/commitdiff
- fix linking with zlib
authorPatryk Zawadzki <patrys@room-303.com>
Fri, 29 Jul 2011 17:59:58 +0000 (17:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    evince-linking.patch -> 1.1
    evince.spec -> 1.124

evince-linking.patch [new file with mode: 0644]
evince.spec

diff --git a/evince-linking.patch b/evince-linking.patch
new file mode 100644 (file)
index 0000000..27017aa
--- /dev/null
@@ -0,0 +1,11 @@
+--- evince-3.1.2/configure.ac~ 2011-06-13 20:09:47.000000000 +0200
++++ evince-3.1.2/configure.ac  2011-07-29 19:52:23.832704003 +0200
+@@ -313,7 +313,7 @@
+ AM_CONDITIONAL(ENABLE_TESTS, test x$enable_tests = xyes)
+ LIBDOCUMENT_CFLAGS="$LIBDOCUMENT_CFLAGS $DEBUG_FLAGS"
+-LIBDOCUMENT_LIBS="$LIBDOCUMENT_LIBS"
++LIBDOCUMENT_LIBS="$LIBDOCUMENT_LIBS -lz"
+ AC_SUBST(LIBDOCUMENT_CFLAGS)
+ AC_SUBST(LIBDOCUMENT_LIBS)
index 4e0f768d859d34246ceef87967fc761d762c6f09..eff0e652b014acfb1bbfcb00d71d54e0e451c0fd 100644 (file)
 Summary:       Document viewer for multiple document formats
 Summary(pl.UTF-8):     Przeglądarka dokumentów w wielu formatach
 Name:          evince
-Version:       3.0.2
-Release:       3
+Version:       3.1.2
+Release:       1
 License:       GPL v2
 Group:         X11/Applications/Graphics
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/evince/3.0/%{name}-%{version}.tar.bz2
-# Source0-md5: 4eff790d9ba7a0d9e8eda5b4bb91c92b
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/evince/3.1/%{name}-%{version}.tar.bz2
+# Source0-md5: 9c06e8a99204aba11da28e03a03b6823
 Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-linking.patch
 URL:           http://www.gnome.org/projects/evince/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1:1.10
@@ -156,6 +157,7 @@ View Postscript documents with Evince.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__gtkdocize}
@@ -172,6 +174,7 @@ View Postscript documents with Evince.
        --enable-comics \
        --enable-djvu \
        --enable-dvi \
+       --enable-introspection \
        --enable-t1lib \
        --enable-nautilus \
        --enable-pdf \
@@ -213,7 +216,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/evince
 %attr(755,root,root) %{_bindir}/evince-previewer
 %attr(755,root,root) %{_bindir}/evince-thumbnailer
-%attr(755,root,root) %{_libdir}/evinced
+%attr(755,root,root) %{_libexecdir}/evinced
 %attr(755,root,root) %{_libdir}/libevdocument3.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libevdocument3.so.3
 %attr(755,root,root) %{_libdir}/libevview3.so.*.*.*
@@ -234,6 +237,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/evince.1*
 %{_desktopdir}/evince.desktop
 %{_iconsdir}/hicolor/*/*/*.png
+%{_libdir}/girepository-1.0/*.typelib
 
 %files backend-djvu
 %defattr(644,root,root,755)
@@ -262,6 +266,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/evince
 %{_pkgconfigdir}/evince-document-*.pc
 %{_pkgconfigdir}/evince-view-*.pc
+%{_datadir}/gir-1.0/*.gir
 
 %if %{with apidocs}
 %files apidocs
This page took 0.03364 seconds and 4 git commands to generate.