Update to 0.0.8.3

Drop patch for poppler >= 0.15 (no longer needed)
Run update-mime-database in %post and %postun
epel9
Christoph Wickert 14 years ago
parent 3d531024b4
commit 1f98054f20

1
.gitignore vendored

@ -1,2 +1,3 @@
zathura-0.0.8.1.tar.gz
/zathura-0.0.8.2.tar.gz
/zathura-0.0.8.3.tar.gz

@ -1 +1 @@
b63750f8993e0f139162101a19576981 zathura-0.0.8.2.tar.gz
95b1d02593e7055f08da3825ad54954d zathura-0.0.8.3.tar.gz

@ -1,12 +0,0 @@
diff -up zathura-0.0.8.1/zathura.c.poppler15 zathura-0.0.8.1/zathura.c
--- zathura-0.0.8.1/zathura.c.poppler15 2010-10-06 16:35:44.966101001 -0400
+++ zathura-0.0.8.1/zathura.c 2010-10-06 16:35:58.124101001 -0400
@@ -4300,7 +4300,7 @@ cb_view_button_release(GtkWidget* widget
/* get selected text */
g_static_mutex_lock(&(Zathura.Lock.pdflib_lock));
- char* selected_text = poppler_page_get_text(
+ char* selected_text = poppler_page_get_selected_text(
Zathura.PDF.pages[Zathura.PDF.page_number]->page,SELECTION_STYLE,
&rectangle);

@ -1,14 +1,13 @@
Name: zathura
Version: 0.0.8.2
Release: 5%{?dist}
Version: 0.0.8.3
Release: 1%{?dist}
Summary: A lightweight PDF viewer
Group: Applications/Publishing
License: zlib
URL: http://zathura.pwmt.org/projects/zathura
Source0: http://zathura.pwmt.org/attachments/download/31/%{name}-%{version}.tar.gz
Patch0: zathura-add-desktop-file.patch
Patch1: zathura-0.0.8.1-poppler-0.15-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gdk-pixbuf-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel
BuildRequires: desktop-file-utils
@ -24,7 +23,6 @@ an easy usage that mainly focuses on keyboard interaction.
%prep
%setup -q
%patch0 -p1 -b .desktopfile
%patch1 -p1 -b .poppler15
# don't rebuid at install time
sed -ie "s/install:\ all/install:\ /g" Makefile
@ -47,6 +45,14 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
rm -rf %{buildroot}
%post
update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
update-mime-database %{_datadir}/mime &> /dev/null || :
%files
%defattr(-,root,root,-)
%doc LICENSE README
@ -56,6 +62,11 @@ rm -rf %{buildroot}
%changelog
* Fri Apr 01 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.8.3-1
- Update to 0.0.8.3
- Drop patch for poppler >= 0.15 (no longer needed)
- Run update-mime-database in %%post and %%postun
* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> - 0.0.8.2-5
- Rebuild (poppler-0.16.3)

Loading…
Cancel
Save