fix building of manpages

- use parallel make
epel9
Kevin Fenzi 12 years ago
parent 5126ec1353
commit 81101830b2

@ -1,7 +1,7 @@
Name: zathura
Version: 0.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A lightweight PDF viewer
Group: Applications/Publishing
License: zlib
@ -12,6 +12,7 @@ BuildRequires: gdk-pixbuf2-devel, gtk2-devel, poppler-glib-devel, cairo-devel,
BuildRequires: girara-devel
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: python-docutils
%description
@ -33,14 +34,16 @@ libraries and header files for the zathura PDF viewer.
%setup -q
# don't rebuid at install time
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}"
make debug
mv zathura-debug zathura
# avoid stripping
export SFLAGS=
make %{_smp_mflags}
%install
export LIBDIR="%{_libdir}"
@ -73,6 +76,10 @@ update-desktop-database &> /dev/null || :
%{_libdir}/pkgconfig/zathura.pc
%changelog
* Thu Feb 14 2013 Michal Schmidt <mschmidt@redhat.com> 0.2.1-2
- fix building of manpages
- use parallel make
* Mon Nov 05 2012 Kevin Fenzi <kevin@scrye.com> 0.2.1-1
- Update to 0.2.1

Loading…
Cancel
Save