packages: evince-gtk/evince-gtk.spec - up to 2.29.5 - auto-hell re-enabled ...
duddits
duddits at pld-linux.org
Wed Jan 20 21:10:36 CET 2010
Author: duddits Date: Wed Jan 20 20:10:36 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 2.29.5
- auto-hell re-enabled
- devel, more %files
---- Files affected:
packages/evince-gtk:
evince-gtk.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/evince-gtk/evince-gtk.spec
diff -u packages/evince-gtk/evince-gtk.spec:1.7 packages/evince-gtk/evince-gtk.spec:1.8
--- packages/evince-gtk/evince-gtk.spec:1.7 Fri Aug 22 11:14:45 2008
+++ packages/evince-gtk/evince-gtk.spec Wed Jan 20 21:10:30 2010
@@ -10,13 +10,12 @@
Summary(pl.UTF-8): Przeglądarka dokumentów w wielu formatach -- wersja nie wykorzystująca libgnome
%define _realname evince
Name: evince-gtk
-Version: 2.23.6
+Version: 2.29.5
Release: 1
License: GPL v2
Group: X11/Applications/Graphics
-Source0: http://ftp.gnome.org/pub/gnome/sources/evince/2.23/%{_realname}-%{version}.tar.bz2
-# Source0-md5: 04763835f04c3c8f52bfcef2041948a9
-Patch0: %{_realname}-desktop.patch
+Source0: http://ftp.gnome.org/pub/gnome/sources/evince/2.29/%{_realname}-%{version}.tar.bz2
+# Source0-md5: 6b847d060fe3cbe96a156f82a28ee4d9
URL: http://www.gnome.org/projects/evince/
BuildRequires: autoconf
BuildRequires: automake
@@ -46,6 +45,8 @@
Conflicts: evince
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define backendsdir %{_libdir}/evince/2/backends
+
%description
Evince is a document viewer for multiple document formats like pdf,
postscript, and many others. The goal of evince is to replace the
@@ -78,16 +79,28 @@
Ta wersja nie korzysta z bibliotek GNOME, a jedynie z GTK+.
+%package devel
+Summary: Header files for Evince GTK+
+Summary(pl.UTF-8): Pliki nagłówkowe Evince GTK+
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: gtk+2-devel >= 2:2.16.0
+
+%description devel
+Header files for Evince GTK+.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe Evince GTK+.
+
%prep
%setup -q -n %{_realname}-%{version}
-%patch0 -p1
%build
-#%%{__intltoolize}
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__autoheader}
-#%%{__automake}
+%{__intltoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
%{!?with_apidocs:--disable-gtk-doc} \
%{!?with_apidocs:--disable-scrollkeeper} \
@@ -105,9 +118,7 @@
--enable-t1lib \
--enable-thumbnailer \
--enable-tiff \
- --with-print=gtk \
- --with-html-dir=%{_gtkdocdir} \
- --without-libgnome
+ --with-html-dir=%{_gtkdocdir}
%{__make}
@@ -118,12 +129,15 @@
DESTDIR=$RPM_BUILD_ROOT \
HTML_DIR=%{_gtkdocdir}
+%{__rm} $RPM_BUILD_ROOT%{backendsdir}/*.la
+
%find_lang %{_realname}
%clean
rm -rf $RPM_BUILD_ROOT
%post
+/sbin/ldconfig
%update_desktop_database_post
%scrollkeeper_update_post
%update_icon_cache hicolor
@@ -131,6 +145,7 @@
%preun
%postun
+/sbin/ldconfig
%update_desktop_database_postun
%scrollkeeper_update_postun
%update_icon_cache hicolor
@@ -138,13 +153,34 @@
%files -f %{_realname}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
-%attr(755,root,root) %{_libdir}/*.so.*
+%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}/libevdocument.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libevdocument.so.2
+%attr(755,root,root) %{_libdir}/libevview.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libevview.so.2
+%attr(755,root,root) %{_libdir}/evinced
+%attr(755,root,root) %{_libdir}/evince-convert-metadata
%dir %{_libdir}/%{_realname}
-%dir %{_libdir}/%{_realname}/backends
-%attr(755,root,root) %{_libdir}/%{_realname}/backends/*.so
-%{_libdir}/%{_realname}/backends/*.evince-backend
+%dir %{_libdir}/%{_realname}/2
+%dir %{backendsdir}
+%{backendsdir}/comicsdocument.evince-backend
+%{backendsdir}/djvudocument.evince-backend
+%{backendsdir}/dvidocument.evince-backend
+%{backendsdir}/impressdocument.evince-backend
+%{backendsdir}/pdfdocument.evince-backend
+%{backendsdir}/pixbufdocument.evince-backend
+%{backendsdir}/psdocument.evince-backend
+%{backendsdir}/tiffdocument.evince-backend
+%attr(755,root,root) %{backendsdir}/libcomicsdocument.so
+%attr(755,root,root) %{backendsdir}/libdjvudocument.so
+%attr(755,root,root) %{backendsdir}/libdvidocument.so
+%attr(755,root,root) %{backendsdir}/libimpressdocument.so
+%attr(755,root,root) %{backendsdir}/libpdfdocument.so
+%attr(755,root,root) %{backendsdir}/libpixbufdocument.so
+%attr(755,root,root) %{backendsdir}/libpsdocument.so
+%attr(755,root,root) %{backendsdir}/libtiffdocument.so
%{_mandir}/man1/*
%{_datadir}/%{_realname}
%{_desktopdir}/*.desktop
@@ -157,12 +193,33 @@
%{_gtkdocdir}/*
%endif
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libevdocument.so
+%attr(755,root,root) %{_libdir}/libevview.so
+%{_libdir}/libevdocument.la
+%{_libdir}/libevview.la
+%dir %{_includedir}/%{_realname}
+%dir %{_includedir}/%{_realname}/2.29
+%dir %{_includedir}/%{_realname}/2.29/libdocument
+%dir %{_includedir}/%{_realname}/2.29/libview
+%{_includedir}/%{_realname}/2.29/*.h
+%{_includedir}/%{_realname}/2.29/libdocument/*.h
+%{_includedir}/%{_realname}/2.29/libview/*.h
+%{_pkgconfigdir}/evince-document-*.pc
+%{_pkgconfigdir}/evince-view-*.pc
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2010/01/20 20:10:30 duddits
+- up to 2.29.5
+- auto-hell re-enabled
+- devel, more %files
+
Revision 1.7 2008/08/22 09:14:45 cactus
- up to 2.23.6
- removed obsoleted patch for gs8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/evince-gtk/evince-gtk.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list