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-djvu/zathura-djvu.spec

89 lines
2.8 KiB

Name: zathura-djvu
Version: 0.2.4
Release: 3%{?dist}
Summary: DjVu support for zathura
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(glib-2.0)
BuildRequires: pkgconfig(ddjvuapi)
BuildRequires: pkgconfig(girara-gtk3)
BuildRequires: pkgconfig(zathura)
Requires: zathura
%description
The zathura-djvu plugin adds DjVu support to zathura by
using the djvulibre library.
%prep
%setup -q
# Don't rebuild during install phase
sed -i 's/^install:\s*all/install:/' Makefile
%build
CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
mv djvu-debug.so djvu.so
%install
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
%files
%license LICENSE
%doc AUTHORS
%{_libdir}/zathura/djvu.so
%{_datadir}/applications/%{name}.desktop
%changelog
* Wed Jun 10 2015 Petr Šabata <contyk@redhat.com> - 0.2.4-3
- Rebuild for new girara
* Tue Jun 09 2015 Petr Šabata <contyk@redhat.com> - 0.2.4-2
- Fix the dep list, install LICENSE with the %%license macro
* Fri Oct 17 2014 Petr Šabata <contyk@redhat.com> - 0.2.4-1
- 0.2.4 bump
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Mar 06 2014 François Cami <fcami@fedoraproject.org> - 0.2.3-5
- Bump for rawhide (again)
* Thu Mar 06 2014 François Cami <fcami@fedoraproject.org> - 0.2.3-4
- Bump for rawhide
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed May 29 2013 Petr Šabata <contyk@redhat.com> - 0.2.3-2
- Fix a debuginfo regression (#967954)
* Tue May 21 2013 Petr Šabata <contyk@redhat.com> - 0.2.3-1
- 0.2.3 bump
- Dropping the now unneeded patches
* Fri Mar 29 2013 Kevin Fenzi <kevin@scrye.com> 0.2.2-1
- Update to 0.2.2
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jan 12 2013 François Cami <fcami@fedoraproject.org> - 0.2.1-3
- force-require zathura.
* Tue Jan 08 2013 François Cami <fcami@fedoraproject.org> - 0.2.1-2
- Add fix for djvulibre-devel < 3.5.25 - Thanks to M. Schwendt and E. Echeverria
* Tue Jan 01 2013 François Cami <fcami@fedoraproject.org> - 0.2.1-1
- Initial package.