]> git.pld-linux.org Git - packages/zathura-djvu.git/commitdiff
- new auto/th/zathura-djvu-0.2.8-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 21 Oct 2018 07:53:38 +0000 (09:53 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 21 Oct 2018 07:53:38 +0000 (09:53 +0200)
zathura-djvu.spec [new file with mode: 0644]

diff --git a/zathura-djvu.spec b/zathura-djvu.spec
new file mode 100644 (file)
index 0000000..bab91e5
--- /dev/null
@@ -0,0 +1,55 @@
+Summary:       DjVu support for zathura
+Summary(pl.UTF-8):     Obsługa DjVu dla zathury
+Name:          zathura-djvu
+Version:       0.2.8
+Release:       1
+License:       BSD-like
+Group:         Applications/Publishing
+Source0:       https://pwmt.org/projects/zathura-djvu/download/%{name}-%{version}.tar.xz
+# Source0-md5: e92d09832e8104283467caa78488b52d
+URL:           https://pwmt.org/projects/zathura-djvu/
+BuildRequires: cairo-devel
+BuildRequires: djvulibre-devel
+# C11
+BuildRequires: gcc >= 6:4.7
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: girara-devel >= 0.1.8
+BuildRequires: meson >= 0.43
+BuildRequires: ninja
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.727
+BuildRequires: zathura-devel >= 0.3.8
+Requires:      girara >= 0.1.8
+Requires:      zathura >= 0.3.8
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The zathura-djvu plugin adds DjVu support to zathura by using the
+djvulibre library.
+
+%description -l pl.UTF-8
+Wtyczka zathura-djvu dodaje do zathury obsługę DjVu z wykorzystaniem
+biblioteki djvulibre.
+
+%prep
+%setup -q
+
+%build
+%meson build
+
+%meson_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%meson_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE
+%attr(755,root,root) %{_libdir}/zathura/libdjvu.so
+%{_desktopdir}/org.pwmt.zathura-djvu.desktop
+%{_datadir}/metainfo/org.pwmt.zathura-djvu.metainfo.xml
This page took 0.136382 seconds and 4 git commands to generate.