xreader/xreader.spec

363 lines
11 KiB
RPMSpec
Raw Permalink Normal View History

2017-05-08 12:58:05 +00:00
# Filter provides from plugins.
%global __provides_exclude_from ^%{_libdir}/%{name}/.*$
Name: xreader
2022-08-21 22:20:38 +00:00
Version: 3.4.5
2022-07-24 16:13:11 +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}
2019-06-29 19:01:44 +00:00
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
2017-05-08 12:58:05 +00:00
2021-12-06 19:40:53 +00:00
ExcludeArch: %{ix86}
2021-11-24 16:01:41 +00:00
2021-12-06 19:40:53 +00:00
BuildRequires: cmake
2018-07-16 16:01:55 +00:00
BuildRequires: gcc-c++
2019-06-29 19:27:13 +00:00
BuildRequires: meson
2019-06-29 21:00:05 +00:00
BuildRequires: mathjax
2017-05-08 12:58:05 +00:00
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+-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
2020-01-10 13:38:50 +00:00
BuildRequires: t1lib-devel
2017-05-08 12:58:05 +00:00
BuildRequires: yelp-tools
Requires: shared-mime-info%{?_isa}
Requires: gsettings-desktop-schemas%{?_isa}
Requires: xapps%{?_isa}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
2017-05-08 12:58:05 +00:00
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 libs
Summary: xreader document viewer libraries
Requires: %{name}-data = %{version}-%{release}
%description libs
This package contains the shared library files for %{name}.
2017-05-08 12:58:05 +00:00
%package devel
Summary: Development files for %{name}
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}.
%package data
Summary: Support files for the %{name} document viewer
BuildArch: noarch
%description data
This package contains icons and other support files used by the
%{name} application and libraries.
%package thumbnailer
Summary: System thumbnailer using %{name} libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description thumbnailer
This package adds configuration to use %{name} as a thumbnailer.
2017-05-08 12:58:05 +00:00
%prep
2018-05-10 07:44:51 +00:00
%autosetup -p1
2017-05-08 12:58:05 +00:00
%build
2019-06-29 19:27:13 +00:00
%meson \
-Ddeprecated_warnings=false \
-Ddjvu=true \
-Ddvi=true \
-Dt1lib=true \
-Dpixbuf=true \
-Dcomics=true \
-Dintrospection=true \
2021-11-24 16:01:41 +00:00
-Dhelp_files=true
2017-05-08 12:58:05 +00:00
2019-06-29 19:27:13 +00:00
%meson_build
2017-05-08 12:58:05 +00:00
%install
2019-06-29 19:27:13 +00:00
%meson_install
2022-07-20 11:09:09 +00:00
2018-05-10 07:44:51 +00:00
%{__sed} -i -e '/.*<project_group>.*/d' \
2021-06-01 15:24:37 +00:00
%{buildroot}%{_metainfodir}/%{name}.appdata.xml
2022-07-20 11:09:09 +00:00
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 \
2021-06-01 15:24:37 +00:00
%{buildroot}%{_metainfodir}/%{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}
%{_bindir}/%{name}-previewer
2017-05-08 12:58:05 +00:00
%{_datadir}/applications/%{name}.desktop
2021-06-01 15:24:37 +00:00
%{_metainfodir}/%{name}.appdata.xml
2017-05-08 12:58:05 +00:00
%{_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/*/*/*
%{_libexecdir}/xreaderd
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/%{name}-previewer.1*
%files libs
2017-05-08 12:58:05 +00:00
%{_libdir}/girepository-1.0/*
%{_libdir}/*.so.*
2018-05-10 07:44:51 +00:00
%{_libdir}/%{name}/
%files data
%{_datadir}/%{name}/
%files thumbnailer
%{_bindir}/%{name}-thumbnailer
%{_datadir}/thumbnailers/%{name}.thumbnailer
%{_mandir}/man1/%{name}-thumbnailer.1*
2017-05-08 12:58:05 +00:00
%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
%changelog
2022-08-21 22:20:38 +00:00
* Sun Aug 21 2022 Leigh Scott <leigh123linux@gmail.com> - 3.4.5-1
- Update to 3.4.5 release
2022-07-24 16:13:11 +00:00
* Sun Jul 24 2022 Leigh Scott <leigh123linux@gmail.com> - 3.4.3-1
- Update to 3.4.3 release
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-07-20 11:09:09 +00:00
* Wed Jul 20 2022 Leigh Scott <leigh123linux@gmail.com> - 3.4.2-1
- Update to 3.4.2 release
2022-07-17 16:13:17 +00:00
* Sun Jul 17 2022 Leigh Scott <leigh123linux@gmail.com> - 3.4.1-1
- Update to 3.4.1 release
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-06 19:40:53 +00:00
* Mon Dec 06 2021 Leigh Scott <leigh123linux@gmail.com> - 3.2.2-1
- Update to 3.2.2 release
2021-11-29 11:52:03 +00:00
* Mon Nov 29 2021 Leigh Scott <leigh123linux@gmail.com> - 3.2.1-1
- Update to 3.2.1 release
2021-11-24 15:52:43 +00:00
* Wed Nov 24 2021 Leigh Scott <leigh123linux@gmail.com> - 3.2.0-1
- Update to 3.2.0 release
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-25 14:36:52 +00:00
* Fri Jun 25 2021 Leigh Scott <leigh123linux@gmail.com> - 3.0.2-1
- Update to 3.0.2 release
2021-06-10 18:07:32 +00:00
* Thu Jun 10 2021 Leigh Scott <leigh123linux@gmail.com> - 3.0.1-1
- Update to 3.0.1 release
2021-06-01 15:14:10 +00:00
* Tue Jun 01 2021 Leigh Scott <leigh123linux@gmail.com> - 3.0.0-1
- Update to 3.0.0 release
* Sun Feb 28 2021 FeRD (Frank Dana) <ferdnyc@gmail.com> - 2.8.3-3
- Create subpackages for libs, data, and thumbnailer (rhbz#1933895)
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-13 15:14:38 +00:00
* Wed Jan 13 2021 Leigh Scott <leigh123linux@gmail.com> - 2.8.3-1
- Update to 2.8.3 release
2021-01-02 21:43:24 +00:00
* Sat Jan 2 2021 Leigh Scott <leigh123linux@gmail.com> - 2.8.2-1
- Update to 2.8.2 release
2020-12-10 12:41:30 +00:00
* Thu Dec 10 2020 Leigh Scott <leigh123linux@gmail.com> - 2.8.1-1
- Update to 2.8.1 release
2020-12-02 23:50:26 +00:00
* Wed Dec 2 2020 Leigh Scott <leigh123linux@gmail.com> - 2.8.0-1
- Update to 2.8.0 release
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-14 07:27:42 +00:00
* Tue Jul 14 2020 Leigh Scott <leigh123linux@gmail.com> - 2.6.4-1
- Update to 2.6.4 release
2020-06-06 14:48:03 +00:00
* Sat Jun 06 2020 Leigh Scott <leigh123linux@gmail.com> - 2.6.2-1
- Update to 2.6.2 release
2020-05-23 12:10:22 +00:00
* Sat May 23 2020 Leigh Scott <leigh123linux@gmail.com> - 2.6.1-1
- Update to 2.6.1 release
2020-05-12 10:54:13 +00:00
* Tue May 12 2020 Leigh Scott <leigh123linux@gmail.com> - 2.6.0-1
- Update to 2.6.0 release
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-17 11:30:04 +00:00
* Fri Jan 17 2020 Marek Kasik <mkasik@redhat.com> - 2.4.4-3
- Rebuild for poppler-0.84.0
2020-01-10 13:38:50 +00:00
* Fri Jan 10 2020 Leigh Scott <leigh123linux@gmail.com> - 2.4.4-2
- Add build requires t1lib-devel
2020-01-10 09:48:38 +00:00
* Fri Jan 10 2020 Leigh Scott <leigh123linux@googlemail.com> - 2.4.4-1
- Update to 2.4.4 release
2019-12-11 14:59:06 +00:00
* Wed Dec 11 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.4.3-1
- Update to 2.4.3 release
2019-11-28 21:17:41 +00:00
* Thu Nov 28 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.4.2-1
- Update to 2.4.2 release
2019-11-26 17:40:47 +00:00
* Tue Nov 26 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.4.1-1
- Update to 2.4.1 release
2019-11-25 18:32:31 +00:00
* Fri Nov 22 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-1
- Update to 2.4.0 release
2019-09-10 08:41:44 +00:00
* Tue Sep 10 2019 Florian Weimer <fweimer@redhat.com> - 2.2.3-2
- Fix building in C99 mode
2019-07-31 04:58:59 +00:00
* Wed Jul 31 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.2.3-1
- Update to 2.2.3 release
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-07-14 07:25:15 +00:00
* Sun Jul 14 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.2.2-1
- Update to 2.2.2 release
2019-06-30 10:35:04 +00:00
* Sun Jun 30 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.2.1-1
- Update to 2.2.1 release
2019-06-29 19:01:44 +00:00
* Sat Jun 29 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-1
2019-06-29 19:27:13 +00:00
- Update to 2.2.0 release
2019-06-29 19:01:44 +00:00
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-12-16 09:44:04 +00:00
* Sun Dec 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.0.2-1
- Update to 2.0.2 release
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++
* 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
* 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
* 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
* 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)
* 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)
* 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)