[zathura-ps/f16] initial Fedora package

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


commit b2009de2956735aee2476f5eaa23651cdbe26881
Author: François Cami <fcami at fedoraproject.org>
Date:   Thu Dec 6 21:45:41 2012 +0100

    initial Fedora package

 .gitignore                   |    1 +
 sources                      |    1 +
 zathura-ps-fix_install.patch |   13 ++++++++++++
 zathura-ps.spec              |   44 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1b18a66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zathura-ps-0.2.0.tar.gz
diff --git a/sources b/sources
index e69de29..382110a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aaec6d2abad1f557b38aaad26d86fb64  zathura-ps-0.2.0.tar.gz
diff --git a/zathura-ps-fix_install.patch b/zathura-ps-fix_install.patch
new file mode 100644
index 0000000..aa0f1c7
--- /dev/null
+++ b/zathura-ps-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-ps.spec b/zathura-ps.spec
new file mode 100644
index 0000000..87a4079
--- /dev/null
+++ b/zathura-ps.spec
@@ -0,0 +1,44 @@
+Name:           zathura-ps
+Version:        0.2.0
+Release:        2%{?dist}
+Summary:        PS support for zathura via libspectre
+
+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-ps-fix_install.patch
+
+BuildRequires:  libspectre-devel, zathura-devel >= 0.2.1 
+#Requires:       
+
+%description
+The zathura-ps plugin adds PostScript support to zathura by
+using the libspectre library.
+
+
+%prep
+%setup -q
+%patch0
+
+
+%build
+CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
+mv ps-debug.so ps.so
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
+
+
+%files
+%doc AUTHORS LICENSE 
+%{_libdir}/zathura/ps.so
+
+
+%changelog
+* Sun Dec 02 2012 François Cami <fcami at fedoraproject.org> - 0.2.0-2
+- remove EL5 specific stuff.
+
+* Sun Dec 02 2012 François Cami <fcami at fedoraproject.org> - 0.2.0-1
+- Initial package.
+


More information about the scm-commits mailing list