[zathura-pdf-poppler/f16] initial Fedora package

François Cami fcami at fedoraproject.org
Thu Dec 6 20:43:11 UTC 2012


commit 8497f7652070d8b4574065a70753d5e4da48aa3f
Author: François Cami <fcami at fedoraproject.org>
Date:   Thu Dec 6 21:38:55 2012 +0100

    initial Fedora package

 .gitignore                            |    1 +
 sources                               |    1 +
 zathura-pdf-poppler-fix_install.patch |   13 +++++++
 zathura-pdf-poppler.spec              |   57 +++++++++++++++++++++++++++++++++
 4 files changed, 72 insertions(+), 0 deletions(-)
---
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 <fcami at fedoraproject.org> - 0.2.1-4
+- really remove pre-EL6 stuff.
+
+* Sun Dec 02 2012 François Cami <fcami at fedoraproject.org> - 0.2.1-3
+- switch to using RPM_BUILD_ROOT exclusively.
+- remove pre-EL6 stuff.
+
+* Wed Nov 28 2012 François Cami <fcami at fedoraproject.org> - 0.2.1-2
+- fix BR. Thanks to Dennis Johnson.
+
+* Wed Nov 28 2012 François Cami <fcami at fedoraproject.org> - 0.2.1-1
+- new upstream
+
+* Sun Aug 19 2012 François Cami <fcami at fedoraproject.org> - 0.2.0-2
+- minor build fixes.
+
+* Fri Aug 10 2012 François Cami <fcami at fedoraproject.org> - 0.2.0-1
+- Initial package.
+


More information about the scm-commits mailing list