|
|
|
Name: zathura-cb
|
|
|
|
Version: 0.1.5
|
|
|
|
Release: 2%{?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: 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
|
|
|
|
|
|
|
|
%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=%{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
|
|
|
|
* Fri Feb 26 2016 Petr Šabata <contyk@redhat.com> - 0.1.5-2
|
|
|
|
- Correct build dependencies
|
|
|
|
|
|
|
|
* Fri Feb 26 2016 Petr Šabata <contyk@redhat.com> - 0.1.5-1
|
|
|
|
- 0.1.5 bump
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Wed Jun 10 2015 Petr Šabata <contyk@redhat.com> - 0.1.4-3
|
|
|
|
- Rebuild for new girara
|
|
|
|
|
|
|
|
* Tue Jun 09 2015 Petr Šabata <contyk@redhat.com> - 0.1.4-2
|
|
|
|
- Fix the dep list, install LICENSE with the %%license macro
|
|
|
|
|
|
|
|
* Wed Nov 12 2014 Petr Šabata <contyk@redhat.com> - 0.1.4-1
|
|
|
|
- 0.1.4 bugfix bump
|
|
|
|
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Apr 23 2014 François Cami <fcami@fedoraproject.org> - 0.1.2-3
|
|
|
|
- Fix BuildRequires list.
|
|
|
|
|
|
|
|
* Tue Apr 22 2014 François Cami <fcami@fedoraproject.org> - 0.1.2-2
|
|
|
|
- Remove desktop file.
|
|
|
|
|
|
|
|
* Wed Mar 05 2014 François Cami <fcami@fedoraproject.org> - 0.1.2-1
|
|
|
|
- Initial package.
|