From 8497f7652070d8b4574065a70753d5e4da48aa3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Thu, 6 Dec 2012 21:38:55 +0100 Subject: [PATCH] initial Fedora package --- .gitignore | 1 + sources | 1 + zathura-pdf-poppler-fix_install.patch | 13 ++++++ zathura-pdf-poppler.spec | 57 +++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 zathura-pdf-poppler-fix_install.patch create mode 100644 zathura-pdf-poppler.spec diff --git a/.gitignore b/.gitignore index e69de29..d73c63d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/zathura-pdf-poppler-0.2.1.tar.gz diff --git a/sources b/sources index e69de29..3224758 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6f36fe141f8e5e9e8d71eb143eaaa1c1 zathura-pdf-poppler-0.2.1.tar.gz diff --git a/zathura-pdf-poppler-fix_install.patch b/zathura-pdf-poppler-fix_install.patch new file mode 100644 index 0000000..aa0f1c7 --- /dev/null +++ b/zathura-pdf-poppler-fix_install.patch @@ -0,0 +1,13 @@ +--- 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} + diff --git a/zathura-pdf-poppler.spec b/zathura-pdf-poppler.spec new file mode 100644 index 0000000..b04ac96 --- /dev/null +++ b/zathura-pdf-poppler.spec @@ -0,0 +1,57 @@ +Name: zathura-pdf-poppler +Version: 0.2.1 +Release: 4%{?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 + +BuildRequires: poppler-glib-devel, zathura-devel >= 0.2.1 +#Requires: + +%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 + + +%files +%doc AUTHORS LICENSE +%{_libdir}/zathura/pdf.so + + +%changelog +* Sun Dec 02 2012 François Cami - 0.2.1-4 +- really remove pre-EL6 stuff. + +* Sun Dec 02 2012 François Cami - 0.2.1-3 +- switch to using RPM_BUILD_ROOT exclusively. +- remove pre-EL6 stuff. + +* Wed Nov 28 2012 François Cami - 0.2.1-2 +- fix BR. Thanks to Dennis Johnson. + +* Wed Nov 28 2012 François Cami - 0.2.1-1 +- new upstream + +* Sun Aug 19 2012 François Cami - 0.2.0-2 +- minor build fixes. + +* Fri Aug 10 2012 François Cami - 0.2.0-1 +- Initial package. +