You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zathura-cb/zathura-cb.spec

109 lines
3.6 KiB

Name: zathura-cb
8 years ago
Version: 0.1.6
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: 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 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8 years ago
* Sun Jan 15 2017 Petr Šabata <contyk@redhat.com> - 0.1.6-1
- 0.1.6 bump
* Fri Feb 26 2016 Petr Šabata <contyk@redhat.com> - 0.1.5-2
- Correct build dependencies
9 years ago
* 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
10 years ago
* 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.