From 8f50771066a7b51043506974478cb43cbd4f5e42183eb2d2f8d8ba4a40e70ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sun, 16 Nov 2014 16:09:01 +0000 Subject: [PATCH] - renamed to zathura-plugin-ps - change licence to Zlib - SFLAGS="" to get debuginfo - change deps to pkgconfig - initial commit of zathura ps plugin OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/zathura-plugin-ps?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + zathura-plugin-ps.changes | 25 +++++++++++++++++ zathura-plugin-ps.spec | 58 +++++++++++++++++++++++++++++++++++++++ zathura-ps-0.2.2.tar.gz | 3 ++ 5 files changed, 110 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 zathura-plugin-ps.changes create mode 100644 zathura-plugin-ps.spec create mode 100644 zathura-ps-0.2.2.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/zathura-plugin-ps.changes b/zathura-plugin-ps.changes new file mode 100644 index 0000000..69f9e4f --- /dev/null +++ b/zathura-plugin-ps.changes @@ -0,0 +1,25 @@ +------------------------------------------------------------------- +Sun Nov 16 16:06:41 UTC 2014 - mimi.vx@gmail.com + +- renamed to zathura-plugin-ps + +------------------------------------------------------------------- +Tue Oct 28 16:33:35 UTC 2014 - mimi.vx@gmail.com + +- change licence to Zlib + +------------------------------------------------------------------- +Mon Oct 27 14:10:02 UTC 2014 - mimi.vx@gmail.com + +- SFLAGS="" to get debuginfo + +------------------------------------------------------------------- +Thu Oct 23 15:03:22 UTC 2014 - mimi.vx@gmail.com + +- change deps to pkgconfig + +------------------------------------------------------------------- +Thu Oct 23 14:04:07 UTC 2014 - mimi.vx@gmail.com + +- initial commit of zathura ps plugin + diff --git a/zathura-plugin-ps.spec b/zathura-plugin-ps.spec new file mode 100644 index 0000000..f3e3639 --- /dev/null +++ b/zathura-plugin-ps.spec @@ -0,0 +1,58 @@ +# +# spec file for package zathura-plugin-ps +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define realname zathura-ps +Name: zathura-plugin-ps +Version: 0.2.2 +Release: 0 +Summary: PS support for zathura via libspectre +License: Zlib +Group: Productivity/Office/Other +Url: http://pwmt.org/projects/zathura/plugins/zathura-ps/ +Source: http://pwmt.org/projects/zathura/plugins/download/%{realname}-%{version}.tar.gz +BuildRequires: pkgconfig(girara-gtk3) +BuildRequires: pkgconfig(libspectre) +BuildRequires: pkgconfig(zathura) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: zathura-ps-plugin + +%description +The zathura-ps plugin adds PostScript support to zathura by using the libspectre library. + +%prep +%setup -q -n %{realname}-%{version} + +%build +export CFLAGS="%{optflags}" +make %{?_smp_mflags} VERBOSE=1 SFLAGS="" + +%install +%make_install LIBDIR=%{_libdir} SFLAGS="" +find %{buildroot} -name "*.desktop" -delete -print + +%post -n %{name} -p /sbin/ldconfig + +%postun -n %{name} -p /sbin/ldconfig + +%files -n %{name} +%defattr(-,root,root) +%doc AUTHORS LICENSE +%dir %{_libdir}/zathura +%{_libdir}/zathura/ps.so + +%changelog diff --git a/zathura-ps-0.2.2.tar.gz b/zathura-ps-0.2.2.tar.gz new file mode 100644 index 0000000..76be0d7 --- /dev/null +++ b/zathura-ps-0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8 +size 5793