|
|
|
@ -1,25 +1,27 @@
|
|
|
|
|
Name: zathura-cb
|
|
|
|
|
Version: 0.1.4
|
|
|
|
|
Release: 4%{?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
|
|
|
|
|
BuildRequires: binutils
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
|
BuildRequires: pkgconfig(gdk-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(girara-gtk3)
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(libarchive)
|
|
|
|
|
BuildRequires: pkgconfig(zathura)
|
|
|
|
|
Requires: zathura
|
|
|
|
|
Name: zathura-cb
|
|
|
|
|
Version: 0.1.4
|
|
|
|
|
Release: 5%{?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
|
|
|
|
|
BuildRequires: binutils
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
|
BuildRequires: pkgconfig(gdk-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-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
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The zathura-cb plugin adds comic book archive support to zathura.
|
|
|
|
@ -33,15 +35,25 @@ CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
|
|
|
|
|
mv cb-debug.so cb.so
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
|
|
|
|
|
rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
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 || :
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS
|
|
|
|
|
%{_libdir}/zathura/cb.so
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jul 02 2015 Petr Šabata <contyk@redhat.com> - 0.1.4-5
|
|
|
|
|
- Install the desktop file again
|
|
|
|
|
|
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|