- Dropping the now unneeded patches
epel9
Petr Šabata 12 years ago
parent b192483e57
commit 9adfff92a6

1
.gitignore vendored

@ -1,2 +1,3 @@
/zathura-djvu-0.2.1.tar.gz /zathura-djvu-0.2.1.tar.gz
/zathura-djvu-0.2.2.tar.gz /zathura-djvu-0.2.2.tar.gz
/zathura-djvu-0.2.3.tar.gz

@ -1 +1 @@
38344cb762e1f5b5fe66f6ef49ac173f zathura-djvu-0.2.2.tar.gz a472f706d6f6384d8bc2750141a84fc6 zathura-djvu-0.2.3.tar.gz

@ -1,9 +0,0 @@
--- zathura-djvu-0.2.1-orig/page-text.c 2013-01-02 17:55:16.567766492 -0430
+++ zathura-djvu-0.2.1/page-text.c 2013-01-02 20:55:47.514511728 -0430
@@ -1,5 +1,6 @@
/* See LICENSE file for license and copyright information */
+#include <stdlib.h>
#include <libdjvu/miniexp.h>
#include <string.h>
#include <sys/types.h>

@ -1,13 +0,0 @@
--- Makefile.orig 2012-09-09 22:14:57.873155346 +0200
+++ Makefile 2012-09-09 22:13:32.916945999 +0200
@@ -70,9 +70,9 @@
doc: clean
$(QUIET)doxygen Doxyfile
-install: all
+install:
$(ECHO) installing ${PLUGIN} plugin
$(QUIET)mkdir -p ${DESTDIR}${PLUGINDIR}
$(QUIET)cp -f ${PLUGIN}.so ${DESTDIR}${PLUGINDIR}

@ -1,5 +1,5 @@
Name: zathura-djvu Name: zathura-djvu
Version: 0.2.2 Version: 0.2.3
Release: 1%{?dist} Release: 1%{?dist}
Summary: DjVu support for zathura Summary: DjVu support for zathura
@ -7,46 +7,34 @@ Group: Applications/Publishing
License: zlib License: zlib
URL: http://pwmt.org/projects/zathura/plugins/%{name} URL: http://pwmt.org/projects/zathura/plugins/%{name}
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz 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
Requires: zathura Requires: zathura
BuildRequires: djvulibre-devel BuildRequires: djvulibre-devel
BuildRequires: zathura-devel >= 0.2.2 BuildRequires: zathura-devel >= 0.2.3
%description %description
The zathura-djvu plugin adds DjVu support to zathura by The zathura-djvu plugin adds DjVu support to zathura by
using the djvulibre library. using the djvulibre library.
%prep %prep
%setup -q %setup -q
%if 0%{?fedora} <= 17
%patch0 -p1
%patch1
%else
%patch1
%endif
%build %build
CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
mv djvu-debug.so djvu.so mv djvu-debug.so djvu.so
%install %install
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
%files %files
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%{_libdir}/zathura/djvu.so %{_libdir}/zathura/djvu.so
%{_datadir}/applications/%{name}.desktop
%changelog %changelog
* Tue May 21 2013 Petr Šabata <contyk@redhat.com> - 0.2.3-1
- 0.2.3 bump
- Dropping the now unneeded patches
* Fri Mar 29 2013 Kevin Fenzi <kevin@scrye.com> 0.2.2-1 * Fri Mar 29 2013 Kevin Fenzi <kevin@scrye.com> 0.2.2-1
- Update to 0.2.2 - Update to 0.2.2
@ -61,4 +49,3 @@ make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
* Tue Jan 01 2013 François Cami <fcami@fedoraproject.org> - 0.2.1-1 * Tue Jan 01 2013 François Cami <fcami@fedoraproject.org> - 0.2.1-1
- Initial package. - Initial package.

Loading…
Cancel
Save