Signed-off-by: Petr Šabata <contyk@redhat.com>
epel9
Petr Šabata 7 years ago
parent 092b8e952e
commit 4c9d0ed6eb

1
.gitignore vendored

@ -4,3 +4,4 @@
/zathura-djvu-0.2.4.tar.gz /zathura-djvu-0.2.4.tar.gz
/zathura-djvu-0.2.5.tar.gz /zathura-djvu-0.2.5.tar.gz
/zathura-djvu-0.2.6.tar.gz /zathura-djvu-0.2.6.tar.gz
/zathura-djvu-0.2.8.tar.xz

@ -1 +1 @@
SHA512 (zathura-djvu-0.2.6.tar.gz) = 8534faa0de896ffea8d8d6f2d0c22697f2fd6ae3f73e955f5077e0a0656c13fd8823580f1b89c4b5aebb5189c69642ef690fc9167be178ce9533e9bb5d483dac SHA512 (zathura-djvu-0.2.8.tar.xz) = ec51d339a01e7f2d063d21ab0e32624770398a21727fe6714b8fa8f9a1ef46909d58fa26c4a50430234f04377cce076312ebefb8a6cbdc28ba5de1c205d944a9

@ -1,25 +1,24 @@
Name: zathura-djvu Name: zathura-djvu
Version: 0.2.6 Version: 0.2.8
Release: 5%{?dist} Release: 1%{?dist}
Summary: DjVu support for zathura Summary: DjVu support for zathura
License: zlib License: zlib
URL: http://pwmt.org/projects/zathura/plugins/%{name} URL: http://pwmt.org/projects/zathura/plugins/%{name}
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.xz
BuildRequires: binutils BuildRequires: binutils
BuildRequires: cairo-devel
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: djvulibre-devel
# Needed to validate the desktop file
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: girara-devel
BuildRequires: glib2-devel
# Needed to validate appdata
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.43
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: zathura-devel >= 0.3.8
BuildRequires: pkgconfig Requires: zathura >= 0.3.8
BuildRequires: sed
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(ddjvuapi)
BuildRequires: pkgconfig(girara-gtk3)
BuildRequires: pkgconfig(zathura)
Requires: zathura
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%description %description
The zathura-djvu plugin adds DjVu support to zathura by The zathura-djvu plugin adds DjVu support to zathura by
@ -27,30 +26,27 @@ using the djvulibre library.
%prep %prep
%setup -q %setup -q
# Don't rebuild during install phase
sed -i 's/^install:\s*all/install:/' Makefile
%build %build
CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug %meson
mv djvu-debug.so djvu.so %meson_build
%install %install
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install %meson_install
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainfo.xml
%post
update-desktop-database &> /dev/null || :
%postun
update-desktop-database &> /dev/null || :
%files %files
%license LICENSE %license LICENSE
%doc AUTHORS %doc AUTHORS
%{_libdir}/zathura/djvu.so %{_libdir}/zathura/libdjvu.so
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/org.pwmt.zathura-djvu.desktop
%{_datadir}/metainfo/org.pwmt.zathura-djvu.metainfo.xml
%changelog %changelog
* Tue Apr 10 2018 Petr Šabata <contyk@redhat.com> - 0.2.8-1
- 0.2.8 bump
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-5 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save