Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 9b408ecfdded40715c956c9894c3a57e > files > 4

zathura-djvu-0.2.1-2.fc16.src.rpm

Name:           zathura-djvu
Version:        0.2.1
Release:        2%{?dist}
Summary:        DjVu support for zathura

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-djvu-0.2.1-use-stdlib-instead-stddef-header.patch
Patch1:         zathura-djvu-fix_install.patch

BuildRequires:  djvulibre-devel
BuildRequires:  zathura-devel >= 0.2.1 


%description
The zathura-djvu plugin adds DjVu support to zathura by
using the djvulibre library.


%prep
%setup -q
%if 0%{?fedora} <= 17
%patch0 -p1 
%patch1 
%else
%patch1 
%endif


%build
CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
mv djvu-debug.so djvu.so


%install
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install


%files
%doc AUTHORS LICENSE 
%{_libdir}/zathura/djvu.so


%changelog
* Tue Jan 08 2013 François Cami <fcami@fedoraproject.org> - 0.2.1-2
- Add fix for djvulibre-devel < 3.5.25 - Thanks to M. Schwendt and E. Echeverria

* Tue Jan 01 2013 François Cami <fcami@fedoraproject.org> - 0.2.1-1
- Initial package.