Signed-off-by: Petr Šabata <contyk@redhat.com>
epel9
Petr Šabata 7 years ago
parent c996d467f2
commit 2b49b55daa

1
.gitignore vendored

@ -18,3 +18,4 @@ zathura-0.0.8.1.tar.gz
/zathura-0.3.5.tar.gz
/zathura-0.3.6.tar.gz
/zathura-0.3.7.tar.gz
/zathura-0.3.9.tar.xz

@ -1 +1 @@
SHA512 (zathura-0.3.7.tar.gz) = 830a1b88820507a40a20b046c504d8ab3022a35c2c4c0d93a67f77ab5e31d746362a6f28fb9786a647cd0bfd943306aca74cbb2092774aedfb52380e713df533
SHA512 (zathura-0.3.9.tar.xz) = 374fe860207c078b5a1801f6e66fb7f5b806f35b7eaa903626631a8ce49ad63756a9e5686e7b52b9181035035467609fffd88af06c221f89abe3f26ded160fcd

@ -1,32 +1,27 @@
Name: zathura
Version: 0.3.7
Release: 5%{?dist}
Version: 0.3.9
Release: 1%{?dist}
Summary: A lightweight document viewer
Group: Applications/Publishing
License: zlib
URL: http://pwmt.org/projects/%{name}/
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.gz
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz
BuildRequires: binutils
BuildRequires: coreutils
BuildRequires: desktop-file-utils
BuildRequires: check
BuildRequires: file-devel
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: sed
BuildRequires: file-devel
BuildRequires: pkgconfig(girara-gtk3)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-no-export-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(synctex)
BuildRequires: pkgconfig(zlib)
Requires(post): glibc
Requires(post): desktop-file-utils
Requires(postun): glibc
Requires(postun): desktop-file-utils
BuildRequires: girara-devel >= 0.2.8
BuildRequires: glib2-devel >= 2.50
BuildRequires: gtk3-devel >= 3.22
BuildRequires: intltool
# Needed to validate appdata
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.45
BuildRequires: python3-sphinx
BuildRequires: sqlite-devel >= 3.5.9
BuildRequires: texlive-synctex
Suggests: zathura-cb
Suggests: zathusa-djvu
# poppler is preferred over mupdf
@ -70,42 +65,25 @@ This package installs all available Zathura plugins.
%prep
%setup -q
# don't rebuild at install time
sed -ie "s/install:\ all/install:\ /g" Makefile
%build
export CFLAGS="%{optflags}"
export LIBDIR="%{_libdir}"
# avoid stripping
export SFLAGS=
make %{_smp_mflags}
%meson
%meson_build
%install
export LIBDIR="%{_libdir}"
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}%{_datadir}/applications
install -m 644 zathura.desktop %{buildroot}%{_datadir}/applications/
mkdir -p %{buildroot}%{_libdir}/%{name}
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%meson_install
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
%find_lang zathura
%post
/sbin/ldconfig
update-desktop-database &> /dev/null || :
%postun
/sbin/ldconfig
update-desktop-database &> /dev/null || :
%files -f zathura.lang
%license LICENSE
%doc README
%{_bindir}/*
%{_mandir}/man*/*
%{_libdir}/%{name}
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/*
%{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml
%{_datadir}/icons/hicolor/128x128/org.pwmt.zathura.png
%{_datadir}/metainfo/org.pwmt.zathura.appdata.xml
%files devel
%{_includedir}/zathura
@ -114,6 +92,9 @@ update-desktop-database &> /dev/null || :
%files plugins-all
%changelog
* Mon Apr 09 2018 Petr Šabata <contyk@redhat.com> - 0.3.9-1
- 0.3.9 bump
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save