0.2.3 build

- Use more macros
epel9
Petr Šabata 12 years ago
parent dfc93f2d5a
commit 1eb4afa0d8

1
.gitignore vendored

@ -5,3 +5,4 @@ zathura-0.0.8.1.tar.gz
/zathura-0.1.2.tar.gz
/zathura-0.2.1.tar.gz
/zathura-0.2.2.tar.gz
/zathura-0.2.3.tar.gz

@ -1 +1 @@
51558163e942b52036ee00c60bd1500c zathura-0.2.2.tar.gz
c0265fd9fa64a37b01d729efb75a7c32 zathura-0.2.3.tar.gz

@ -1,36 +1,39 @@
Name: zathura
Version: 0.2.2
Release: 2%{?dist}
Version: 0.2.3
Release: 1%{?dist}
Summary: A lightweight PDF viewer
Group: Applications/Publishing
License: zlib
URL: http://pwmt.org/projects/zathura/
Source0: http://pwmt.org/projects/zathura/download/%{name}-%{version}.tar.gz
URL: http://pwmt.org/projects/%{name}/
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz
BuildRequires: gdk-pixbuf2-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel
BuildRequires: girara-devel
BuildRequires: gettext
BuildRequires: cairo-devel
BuildRequires: desktop-file-utils
BuildRequires: file-devel
BuildRequires: gdk-pixbuf2-devel
BuildRequires: gettext
BuildRequires: girara-devel
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
BuildRequires: poppler-glib-devel
BuildRequires: python-docutils
%description
Zathura is a highly configurable and functional PDF viewer based on the Poppler
rendering library and the GTK+ toolkit. The idea behind zathura is an
application that provides a minimalist and space saving interface as well as
an easy usage that mainly focuses on keyboard interaction.
Zathura uses plugins to open different file formats, for instance:
* zathura-pdf-poppler to open PDF files,
* zathura-ps to open PostScript files,
* zathura-djvu to open DjVu files.
All of these are available in Fedora.
%package devel
Summary: Development files for the zathura PDF viewer
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
@ -43,7 +46,6 @@ sed -ie "s/install:\ all/install:\ /g" Makefile
# ensure manpages are built from *.rst sources
rm -f zathura.1 zathurarc.5
%build
export CFLAGS="%{optflags}"
export LIBDIR="%{_libdir}"
@ -64,24 +66,25 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
/sbin/ldconfig
update-desktop-database &> /dev/null || :
%postun
/sbin/ldconfig
update-desktop-database &> /dev/null || :
%files -f zathura.lang
%defattr(-,root,root,-)
%doc LICENSE README
%{_bindir}/*
%{_mandir}/man*/*
%{_datadir}/applications/*
%files devel
%defattr(-,root,root,-)
%{_includedir}/zathura
%{_libdir}/pkgconfig/zathura.pc
%changelog
* Tue May 21 2013 Petr Šabata <contyk@redhat.com> - 0.2.3-1
- 0.2.3 build
- Use more macros
* Sun May 12 2013 François Cami <fcami@fedoraproject.org> - 0.2.2-2
- add a note about plugins to avoid future occurrences of #962097

Loading…
Cancel
Save