ankursinha / rpms / zathura

Forked from rpms/zathura 5 years ago
Clone
b8c9adf
Name:           zathura
6418904
Version:        0.2.7
922aba8
Release:        2%{?dist}
4a51842
Summary:        A lightweight document viewer
8db6bd0
Group:          Applications/Publishing
b8c9adf
License:        zlib
Petr Šabata 1eb4afa
URL:            http://pwmt.org/projects/%{name}/
Petr Šabata 1eb4afa
Source0:        http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz
f44632e
Petr Šabata 1eb4afa
BuildRequires:  cairo-devel
b8c9adf
BuildRequires:  desktop-file-utils
Petr Šabata 1eb4afa
BuildRequires:  file-devel
Petr Šabata 1eb4afa
BuildRequires:  gdk-pixbuf2-devel
Petr Šabata 1eb4afa
BuildRequires:  gettext
Petr Šabata 1eb4afa
BuildRequires:  girara-devel
Petr Šabata 1eb4afa
BuildRequires:  glib2-devel
6418904
BuildRequires:  gtk3-devel
Petr Šabata 1eb4afa
BuildRequires:  poppler-glib-devel
8110183
BuildRequires:  python-docutils
b8c9adf
b8c9adf
%description
63d09ff
Zathura is a highly customizable and functional document viewer.
63d09ff
It provides a minimalistic and space saving interface as well as
b8c9adf
an easy usage that mainly focuses on keyboard interaction.
Petr Šabata 1eb4afa
63d09ff
Zathura requires plugins to support document formats.
63d09ff
For instance:
dfc93f2
* zathura-pdf-poppler to open PDF files,
dfc93f2
* zathura-ps to open PostScript files,
dfc93f2
* zathura-djvu to open DjVu files.
63d09ff
All of these are available as separate packages in Fedora.
13970a3
A zathura-plugins-all package is available should you want
13970a3
to install all available plugins.
13970a3
5126ec1
%package devel
5126ec1
Summary: Development files for the zathura PDF viewer
5126ec1
Group: Development/Libraries
Petr Šabata 1eb4afa
Requires: %{name}%{?_isa} = %{version}-%{release}
5126ec1
Requires: pkgconfig
5126ec1
5126ec1
%description devel
5126ec1
libraries and header files for the zathura PDF viewer.
b8c9adf
13970a3
%package plugins-all
13970a3
Summary:        Zathura plugins (all plugins)
13970a3
Group:          Applications/Publishing
13970a3
Requires:       zathura-djvu
13970a3
Requires:       zathura-pdf-poppler
13970a3
Requires:       zathura-ps
13970a3
13970a3
%description plugins-all
13970a3
This package provides all Zathura plugins.
13970a3
b8c9adf
%prep
b8c9adf
%setup -q
93a0e08
# don't rebuild at install time
b8c9adf
sed -ie "s/install:\ all/install:\ /g" Makefile
8110183
# ensure manpages are built from *.rst sources
8110183
rm -f zathura.1 zathurarc.5
b8c9adf
b8c9adf
%build
b8c9adf
export CFLAGS="%{optflags}"
5126ec1
export LIBDIR="%{_libdir}"
8110183
# avoid stripping
8110183
export SFLAGS=
8110183
make %{_smp_mflags}
b8c9adf
b8c9adf
%install
5126ec1
export LIBDIR="%{_libdir}"
b8c9adf
make DESTDIR=%{buildroot} install
b8c9adf
mkdir -p %{buildroot}%{_datadir}/applications
b8c9adf
install -m 644 zathura.desktop %{buildroot}%{_datadir}/applications/
b8c9adf
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
b8c9adf
5126ec1
%find_lang zathura
b8c9adf
1f98054
%post
5126ec1
/sbin/ldconfig
dbbd874
update-desktop-database &> /dev/null || :
1f98054
1f98054
%postun
5126ec1
/sbin/ldconfig
dbbd874
update-desktop-database &> /dev/null || :
1f98054
5126ec1
%files -f zathura.lang
b8c9adf
%doc LICENSE README
b8c9adf
%{_bindir}/*
b8c9adf
%{_mandir}/man*/*
b8c9adf
%{_datadir}/applications/*
6418904
%{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml
b8c9adf
5126ec1
%files devel
5126ec1
%{_includedir}/zathura
5126ec1
%{_libdir}/pkgconfig/zathura.pc
b8c9adf
13970a3
%files plugins-all
13970a3
b8c9adf
%changelog
922aba8
* Thu Mar 06 2014 François Cami <fcami@fedoraproject.org> - 0.2.7-2
922aba8
- Rebuilt for rawhide.
922aba8
6418904
* Wed Mar 05 2014 François Cami <fcami@fedoraproject.org> - 0.2.7-1
922aba8
- Update to 0.2.7.
6418904
522fe20
* Sat Dec 28 2013 François Cami <fcami@fedoraproject.org> - 0.2.6-1 
522fe20
- Update to latest upstream.
522fe20
fcd4f4b
* Sat Aug 31 2013 François Cami <fcami@fedoraproject.org> - 0.2.4-1
fcd4f4b
- New upstream release
fcd4f4b
7ca42a0
* Tue May 28 2013 François Cami <fcami@fedoraproject.org> - 0.2.3-4
98eaf8d
- backport cdece5922982b06e1a86dfb7dfc8cf3d225f06f0
5b25732
- backport cf96d52790bc8d05a9e556e33af0b6fec1a4cb0e
4a51842
- rewrite summary.
4a51842
13970a3
* Mon May 27 2013 François Cami <fcami@fedoraproject.org> - 0.2.3-3
13970a3
- add a zathura-plugins-all subpackage.
13970a3
63d09ff
* Mon May 27 2013 François Cami <fcami@fedoraproject.org> - 0.2.3-2
63d09ff
- rewrite description.
63d09ff
Petr Šabata 1eb4afa
* Tue May 21 2013 Petr Šabata <contyk@redhat.com> - 0.2.3-1
Petr Šabata 1eb4afa
- 0.2.3 build
Petr Šabata 1eb4afa
- Use more macros
Petr Šabata 1eb4afa
dfc93f2
* Sun May 12 2013 François Cami <fcami@fedoraproject.org> - 0.2.2-2
dfc93f2
- add a note about plugins to avoid future occurrences of #962097
dfc93f2
b95ed05
* Fri Feb 22 2013 Kevin Fenzi <kevin@scrye.com> 0.2.2-1
b95ed05
- Update to 0.2.2
b95ed05
8110183
* Thu Feb 14 2013 Michal Schmidt <mschmidt@redhat.com> 0.2.1-2
8110183
- fix building of manpages
8110183
- use parallel make
8110183
5126ec1
* Mon Nov 05 2012 Kevin Fenzi <kevin@scrye.com> 0.2.1-1
5126ec1
- Update to 0.2.1
5126ec1
6a82497
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8.5-5
6a82497
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6a82497
1fa04de
* Wed May 16 2012 Marek Kasik <mkasik@redhat.com> - 0.0.8.5-4
1fa04de
- Rebuild (poppler-0.20.0)
1fa04de
f44632e
* Sat Mar 31 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.0.8.5-3
f44632e
- Fix FTBFS on recent releases
f44632e
- Update URLs
f44632e
- Cleanup SPEC
f44632e
467f82b
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8.5-2
467f82b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
467f82b
925bf55
* Tue Nov 15 2011 François Cami <fcami@fedoraproject.org> - 0.0.8.5-1
925bf55
- Update to latest upstream.
925bf55
2375e6d
* Fri Oct 28 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.3-6
2375e6d
- rebuild(poppler)
2375e6d
420cc01
* Fri Sep 30 2011 Marek Kasik <mkasik@redhat.com> - 0.0.8.3-5
420cc01
- Rebuild (poppler-0.18.0)
420cc01
bf145aa
* Mon Sep 19 2011 Marek Kasik <mkasik@redhat.com> - 0.0.8.3-4
bf145aa
- Rebuild (poppler-0.17.3)
bf145aa
1ab9528
* Fri Jul 15 2011 Marek Kasik <mkasik@redhat.com> - 0.0.8.3-3
1ab9528
- Rebuild (poppler-0.17.0)
1ab9528
dbbd874
* Sat Apr 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.8.3-2
dbbd874
- It's update-desktop-database, not update-mime-database
dbbd874
1f98054
* Fri Apr 01 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.8.3-1
1f98054
- Update to 0.0.8.3
1f98054
- Drop patch for poppler >= 0.15 (no longer needed)
1f98054
- Run update-mime-database in %%post and %%postun
1f98054
3d53102
* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> - 0.0.8.2-5
3d53102
- Rebuild (poppler-0.16.3)
3d53102
a7045b8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8.2-4
a7045b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a7045b8
fd06fd8
* Sat Jan 01 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.2-3
fd06fd8
- rebuild (poppler)
fd06fd8
2fa6e94
* Wed Dec 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.2-2
2fa6e94
- rebuild (poppler)
2fa6e94
d4a9ae9
* Wed Dec 01 2010 François Cami <fcami@đedoraproject.ort> - 0.0.8.2-1
d4a9ae9
- new upstream version + drop merged patch (dso build fix)
d4a9ae9
0f9e021
* Sat Nov 06 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.1-8
0f9e021
- rebuilt (poppler)
0f9e021
82c7359
* Wed Oct  6 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.8.1-7
1b06223
- rebuild and fix for new poppler
82c7359
8760b0d
* Fri Aug 20 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.0.8.1-6
8760b0d
- rebuild (poppler)
8760b0d
b8c9adf
* Sun Aug 15 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-5
b8c9adf
- switch to sed (Kevin Fenzi).
b8c9adf
- use desktop-file-validate on the desktop file (Kevin Fenzi).
b8c9adf
b8c9adf
* Sun Aug 15 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-4
b8c9adf
- change zathura.desktop Version to 1.0.
b8c9adf
b8c9adf
* Sat Aug 14 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-3
b8c9adf
- add CFLAGS (Kevin Fenzi).
b8c9adf
- use the debug target to generate the debuginfo rpm properly.
b8c9adf
- add zathura.desktop file and install it.
b8c9adf
b8c9adf
* Sat Aug 14 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-2
b8c9adf
- fix licensing, thanks to Dennis Johnson's review.
b8c9adf
b8c9adf
* Tue Aug 10 2010 François Cami <fcami@fedoraproject.org> 0.0.8.1-1
b8c9adf
- initial package.
b8c9adf