From 1eb4afa0d8ab81fd0a1393aa489e171d23b5aca4 Mon Sep 17 00:00:00 2001 From: Petr Šabata Date: May 21 2013 15:10:09 +0000 Subject: 0.2.3 build - Use more macros --- diff --git a/.gitignore b/.gitignore index 2aaee8f..e6f8a3b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/sources b/sources index 88f7b8c..31dc61f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -51558163e942b52036ee00c60bd1500c zathura-0.2.2.tar.gz +c0265fd9fa64a37b01d729efb75a7c32 zathura-0.2.3.tar.gz diff --git a/zathura.spec b/zathura.spec index 37ef38f..9b8f490 100644 --- a/zathura.spec +++ b/zathura.spec @@ -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 - 0.2.3-1 +- 0.2.3 build +- Use more macros + * Sun May 12 2013 François Cami - 0.2.2-2 - add a note about plugins to avoid future occurrences of #962097