diff --git a/.gitignore b/.gitignore index e69de29..f56b76f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/zathura-cb-0.1.2.tar.gz diff --git a/sources b/sources index e69de29..97ee2fa 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +56aad6e0ac0a256abc6a4fd441ea45ce zathura-cb-0.1.2.tar.gz diff --git a/zathura-cb.spec b/zathura-cb.spec new file mode 100644 index 0000000..ef7c1de --- /dev/null +++ b/zathura-cb.spec @@ -0,0 +1,46 @@ +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. +