|
|
|
@ -1,42 +1,38 @@
|
|
|
|
|
Name: zathura-pdf-poppler
|
|
|
|
|
Version: 0.2.2
|
|
|
|
|
Version: 0.2.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: PDF support for zathura via poppler
|
|
|
|
|
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
License: zlib
|
|
|
|
|
URL: http://pwmt.org/projects/zathura/plugins/%{name}
|
|
|
|
|
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: zathura-pdf-poppler-fix_install.patch
|
|
|
|
|
|
|
|
|
|
Requires: zathura
|
|
|
|
|
|
|
|
|
|
BuildRequires: poppler-glib-devel, zathura-devel >= 0.2.2
|
|
|
|
|
BuildRequires: poppler-glib-devel
|
|
|
|
|
BuildRequires: zathura-devel >= 0.2.3
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The zathura-pdf-poppler plugin adds PDF support to zathura by using
|
|
|
|
|
the poppler rendering engine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
|
|
|
|
|
mv pdf-debug.so pdf.so
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
|
|
|
|
|
|
|
|
|
|
make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
%{_libdir}/zathura/pdf.so
|
|
|
|
|
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 21 2013 Petr Šabata <contyk@redhat.com> - 0.2.3-1
|
|
|
|
|
- 0.2.3 bump
|
|
|
|
|
|
|
|
|
|
* Fri Mar 29 2013 Kevin Fenzi <kevin@scrye.com> 0.2.2-1
|
|
|
|
|
- Update to 0.2.2
|
|
|
|
|
|
|
|
|
|