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

Loading…
Cancel
Save