Name: zathura-cb Version: 0.1.2 Release: 3%{?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: libarchive-devel BuildRequires: zathura-devel >= 0.2.5 BuildRequires: girara-devel BuildRequires: glib2-devel BuildRequires: gtk3-devel BuildRequires: cairo-devel %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 %install make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %doc AUTHORS LICENSE %{_libdir}/zathura/cb.so %changelog * Wed Apr 23 2014 François Cami - 0.1.2-3 - Fix BuildRequires list. * Tue Apr 22 2014 François Cami - 0.1.2-2 - Remove desktop file. * Wed Mar 05 2014 François Cami - 0.1.2-1 - Initial package.