2017-05-08 12:58:05 +00:00
|
|
|
# Filter provides from plugins.
|
|
|
|
%global __provides_exclude_from ^%{_libdir}/%{name}/.*$
|
|
|
|
|
|
|
|
Name: xreader
|
2018-11-28 08:01:19 +00:00
|
|
|
Version: 2.0.1
|
2018-07-16 16:01:55 +00:00
|
|
|
Release: 1%{?dist}
|
2017-05-08 12:58:05 +00:00
|
|
|
Summary: Simple document viewer
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://github.com/linuxmint/%{name}
|
|
|
|
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
2018-07-16 16:01:55 +00:00
|
|
|
BuildRequires: gcc-c++
|
2017-05-08 12:58:05 +00:00
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: itstool
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
BuildRequires: pkgconfig(ddjvuapi)
|
|
|
|
BuildRequires: pkgconfig(gail-3.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
|
|
|
|
BuildRequires: pkgconfig(kpathsea)
|
|
|
|
BuildRequires: pkgconfig(libgxps)
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
|
|
|
BuildRequires: pkgconfig(libspectre)
|
|
|
|
BuildRequires: pkgconfig(libtiff-4)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(poppler-glib)
|
|
|
|
BuildRequires: pkgconfig(sm)
|
2018-11-19 12:31:57 +00:00
|
|
|
BuildRequires: pkgconfig(xapp) >= 1.4.0
|
2017-05-08 12:58:05 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
|
|
BuildRequires: texlive
|
|
|
|
BuildRequires: yelp-tools
|
|
|
|
|
|
|
|
Requires: shared-mime-info%{?_isa}
|
|
|
|
Requires: gsettings-desktop-schemas%{?_isa}
|
|
|
|
Requires: xapps%{?_isa}
|
|
|
|
|
|
|
|
Recommends: yelp%{?_isa}
|
2018-05-10 07:44:51 +00:00
|
|
|
|
2017-05-08 12:58:05 +00:00
|
|
|
%description
|
|
|
|
X-Apps Document Reader is a document viewer capable of displaying
|
2018-11-19 12:31:57 +00:00
|
|
|
multiple and single page document formats like PDF and PostScript.
|
2017-05-08 12:58:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2018-05-10 07:44:51 +00:00
|
|
|
Requires: %{name}%{?_isa} == %{version}-%{release}
|
2017-05-08 12:58:05 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the development files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation files for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains the documentation files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2018-05-10 07:44:51 +00:00
|
|
|
%autosetup -p1
|
2017-05-08 12:58:05 +00:00
|
|
|
NOCONFIGURE=1 %{_bindir}/gnome-autogen.sh
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
export LDFLAGS="-Wl,--as-needed %{__global_ldflags}"
|
2018-05-10 07:44:51 +00:00
|
|
|
%configure \
|
2018-11-19 12:31:57 +00:00
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-static \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--enable-introspection \
|
|
|
|
--enable-pixbuf
|
2017-05-08 12:58:05 +00:00
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%{_bindir}/find %{buildroot} -type f -name '*.a' -print -delete
|
|
|
|
%{_bindir}/find %{buildroot} -type f -name '*.la' -print -delete
|
2018-05-10 07:44:51 +00:00
|
|
|
%{__sed} -i -e '/.*<project_group>.*/d' \
|
2018-11-19 12:31:57 +00:00
|
|
|
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
2017-05-08 12:58:05 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# Validate desktop-files.
|
2018-05-10 07:44:51 +00:00
|
|
|
%{_bindir}/desktop-file-validate \
|
2018-11-19 12:31:57 +00:00
|
|
|
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
2017-05-08 12:58:05 +00:00
|
|
|
|
|
|
|
# Validate AppData-files.
|
2018-05-10 07:44:51 +00:00
|
|
|
%{_bindir}/appstream-util validate-relax --nonet \
|
2018-11-19 12:31:57 +00:00
|
|
|
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
2017-05-08 12:58:05 +00:00
|
|
|
|
2018-11-19 12:31:57 +00:00
|
|
|
%ldconfig_scriptlets
|
2017-05-08 12:58:05 +00:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%license AUTHORS COPYING debian/copyright
|
|
|
|
%doc ChangeLog README debian/changelog
|
|
|
|
%{_bindir}/%{name}*
|
2018-05-10 07:44:51 +00:00
|
|
|
%{_datadir}/%{name}/
|
2017-05-08 12:58:05 +00:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
|
%{_datadir}/dbus-1/services/*
|
|
|
|
%{_datadir}/glib-2.0/schemas/*
|
2018-05-10 07:44:51 +00:00
|
|
|
%{_datadir}/help/*/%{name}/
|
2017-05-08 12:58:05 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
%{_datadir}/thumbnailers/%{name}.thumbnailer
|
|
|
|
%{_libdir}/girepository-1.0/*
|
|
|
|
%{_libdir}/*.so.*
|
2018-05-10 07:44:51 +00:00
|
|
|
%{_libdir}/%{name}/
|
2017-05-08 12:58:05 +00:00
|
|
|
%{_libexecdir}/%{name}*
|
|
|
|
%{_mandir}/man?/*.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_datadir}/gir-1.0/*
|
2018-05-10 07:44:51 +00:00
|
|
|
%{_includedir}/%{name}/
|
2017-05-08 12:58:05 +00:00
|
|
|
%{_libdir}/*.so
|
2017-12-12 08:51:02 +00:00
|
|
|
%{_libdir}/pkgconfig/xreader-document-1.5.pc
|
|
|
|
%{_libdir}/pkgconfig/xreader-view-1.5.pc
|
2017-05-08 12:58:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
2017-09-01 13:29:55 +00:00
|
|
|
%license %{_datadir}/licenses/%{name}*
|
|
|
|
%doc %{_datadir}/doc/%{name}*
|
2017-05-08 12:58:05 +00:00
|
|
|
%{_datadir}/gtk-doc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2018-11-28 08:01:19 +00:00
|
|
|
* Wed Nov 28 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-1
|
|
|
|
- Update to 2.0.1 release
|
|
|
|
|
2018-11-19 12:31:57 +00:00
|
|
|
* Mon Nov 19 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-1
|
|
|
|
- Update to 2.0.0 release
|
|
|
|
|
2018-08-15 07:38:39 +00:00
|
|
|
* Wed Aug 15 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.5-1
|
|
|
|
- Update to 1.8.5 release
|
|
|
|
|
2018-07-16 16:01:55 +00:00
|
|
|
* Mon Jul 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.4-1
|
|
|
|
- Update to 1.8.4 release
|
|
|
|
- Add BuildRequires gcc-c++
|
|
|
|
|
2018-07-14 09:34:26 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-10 07:44:51 +00:00
|
|
|
* Thu May 10 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.1-1
|
|
|
|
- Update to 1.8.1 release
|
|
|
|
|
2018-02-09 22:04:21 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-12-18 13:33:29 +00:00
|
|
|
* Mon Dec 18 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.6.2-1
|
|
|
|
- New upstream release
|
|
|
|
|
2017-12-12 08:51:02 +00:00
|
|
|
* Tue Dec 12 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.6.1-1
|
|
|
|
- New upstream release
|
|
|
|
- Fix typelib version
|
|
|
|
|
2017-11-16 21:48:13 +00:00
|
|
|
* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 1.6.0-3
|
|
|
|
- Redistributable build on EPEL7
|
|
|
|
|
2017-11-16 21:46:22 +00:00
|
|
|
* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 1.6.0-2
|
|
|
|
- Bootstrapping on EPEL7
|
|
|
|
|
2017-11-04 07:20:44 +00:00
|
|
|
* Sat Nov 04 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.6.0-1
|
|
|
|
- Update to 1.6.0 release
|
|
|
|
|
2017-09-01 13:29:55 +00:00
|
|
|
* Fri Sep 01 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.4-6
|
|
|
|
- Some more fixes for EPEL
|
|
|
|
|
2017-09-01 13:24:26 +00:00
|
|
|
* Fri Sep 01 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.4-5
|
|
|
|
- Some more fixes for EPEL
|
|
|
|
|
2017-09-01 13:04:48 +00:00
|
|
|
* Fri Sep 01 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.4-4
|
|
|
|
- Adjustments for EPEL
|
|
|
|
|
2017-08-03 10:58:16 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 22:26:13 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-28 13:34:03 +00:00
|
|
|
* Wed Jun 28 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.4-1
|
|
|
|
- New upstream release (rhbz#1462726)
|
|
|
|
|
2017-05-24 09:18:55 +00:00
|
|
|
* Wed May 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.2-1
|
|
|
|
- New upstream release (rhbz#1454986)
|
|
|
|
|
2017-05-08 19:13:08 +00:00
|
|
|
* Mon May 08 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.1-2
|
|
|
|
- Add patch to fix build without Caja-extension
|
|
|
|
|
2017-05-08 16:34:54 +00:00
|
|
|
* Mon May 08 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.1-1
|
|
|
|
- New upstream release (rhbz#1448921)
|
|
|
|
|
2017-05-08 13:58:17 +00:00
|
|
|
* Mon May 08 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.0-2
|
|
|
|
- Disable Caja-extension for Fedora <= 25
|
|
|
|
|
2017-05-08 12:58:05 +00:00
|
|
|
* Mon May 08 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.0-1
|
|
|
|
- Initial import (rhbz#1424832)
|
|
|
|
|
|
|
|
* Sat May 06 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.0-0.1
|
|
|
|
- Initial rpm-release (rhbz#1424832)
|