|
|
|
@ -1,58 +1,50 @@
|
|
|
|
|
Name: zathura-cb
|
|
|
|
|
Version: 0.1.6
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.1.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Comic book support for zathura
|
|
|
|
|
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
|
|
|
|
|
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.xz
|
|
|
|
|
BuildRequires: binutils
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: cairo-devel
|
|
|
|
|
# Needed to validate the desktop file
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
|
BuildRequires: pkgconfig(gdk-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(girara-gtk3)
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(libarchive)
|
|
|
|
|
BuildRequires: pkgconfig(zathura)
|
|
|
|
|
Requires: zathura
|
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
|
BuildRequires: girara-devel
|
|
|
|
|
# Needed to validate appdata
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: libarchive
|
|
|
|
|
BuildRequires: meson >= 0.43
|
|
|
|
|
BuildRequires: zathura-devel >= 0.3.8
|
|
|
|
|
Requires: zathura >= 0.3.8
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The zathura-cb plugin adds comic book archive support to zathura.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
sed -i s/^install\:.*/install\:/g Makefile
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
|
|
|
|
|
mv cb-debug.so cb.so
|
|
|
|
|
%meson
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install
|
|
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
%meson_install
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainfo.xml
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS
|
|
|
|
|
%{_libdir}/zathura/cb.so
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
%{_libdir}/zathura/libcb.so
|
|
|
|
|
%{_datadir}/applications/org.pwmt.zathura-cb.desktop
|
|
|
|
|
%{_datadir}/metainfo/org.pwmt.zathura-cb.metainfo.xml
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 10 2018 Petr Šabata <contyk@redhat.com> - 0.1.8-1
|
|
|
|
|
- 0.1.8 bump
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|