2019-09-27 15:04:46 +00:00
|
|
|
%global appname YACReader
|
2021-11-28 10:39:07 +00:00
|
|
|
%global versuf 2106195
|
2019-04-16 17:52:22 +00:00
|
|
|
|
|
|
|
Name: yacreader
|
2021-11-28 10:39:07 +00:00
|
|
|
Version: 9.8.2
|
2022-07-23 13:40:12 +00:00
|
|
|
Release: 3%{?dist}
|
2019-04-16 17:52:22 +00:00
|
|
|
Summary: Cross platform comic reader and library manager
|
|
|
|
|
|
|
|
# The entire source code is GPLv3+ except:
|
|
|
|
# BSD: QsLog
|
|
|
|
# folder_model
|
|
|
|
# MIT: pictureflow
|
|
|
|
License: GPLv3+ and BSD and MIT
|
|
|
|
URL: https://www.yacreader.com
|
2021-11-28 10:39:07 +00:00
|
|
|
Source0: https://github.com/YACReader/%{name}/releases/download/%{version}/%{name}-%{version}.%{versuf}-src.tar.xz
|
2019-04-16 17:52:22 +00:00
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gcc-c++
|
2021-11-28 10:39:07 +00:00
|
|
|
BuildRequires: make
|
2019-04-16 17:52:22 +00:00
|
|
|
BuildRequires: mesa-libGLU-devel
|
2021-11-28 10:39:07 +00:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libunarr)
|
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
2019-04-16 17:52:22 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5)
|
|
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
|
|
BuildRequires: pkgconfig(Qt5ScriptTools)
|
2021-11-28 10:39:07 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
# For YACReaderLibrary QR Code display
|
|
|
|
BuildRequires: pkgconfig(libqrencode)
|
2020-09-04 19:06:37 +00:00
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
Requires: hicolor-icon-theme
|
2020-02-02 20:39:17 +00:00
|
|
|
Requires: qt5-qtgraphicaleffects%{?_isa}
|
|
|
|
Requires: qt5-qtquickcontrols%{?_isa}
|
2020-09-04 19:06:37 +00:00
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
%description
|
2020-01-21 22:20:30 +00:00
|
|
|
Best comic reader and comic manager with support for .cbr .cbz .zip .rar comic
|
|
|
|
files.
|
2019-09-27 15:04:46 +00:00
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
|
|
|
|
%prep
|
2021-11-28 10:39:07 +00:00
|
|
|
%autosetup -n %{name}-%{version}.%{versuf} -p1
|
2020-01-21 22:20:30 +00:00
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
# wrong-file-end-of-line-encoding fix
|
2019-09-27 15:04:46 +00:00
|
|
|
sed -i 's/\r$//' INSTALL.md
|
2020-01-21 22:20:30 +00:00
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
# file-not-utf8 fix
|
2019-09-27 15:04:46 +00:00
|
|
|
iconv -f iso8859-1 -t utf-8 README.md > README.md.conv && mv -f README.md.conv README.md
|
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%qmake_qt5
|
|
|
|
%make_build
|
|
|
|
|
2019-09-27 15:04:46 +00:00
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
%install
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
%find_lang %{name}library --with-qt
|
|
|
|
|
2019-09-27 15:04:46 +00:00
|
|
|
|
|
|
|
%check
|
2020-01-21 22:20:30 +00:00
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
2019-09-27 15:04:46 +00:00
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
|
|
|
|
%files -f %{name}.lang -f %{name}library.lang
|
|
|
|
%license COPYING.txt
|
2019-09-27 15:04:46 +00:00
|
|
|
%doc CHANGELOG.md README.md INSTALL.md
|
|
|
|
%{_bindir}/%{appname}
|
|
|
|
%{_bindir}/%{appname}Library
|
|
|
|
%{_bindir}/%{appname}LibraryServer
|
2020-01-21 22:20:30 +00:00
|
|
|
%{_datadir}/%{name}/
|
2019-09-27 15:04:46 +00:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/*/*.svg
|
2021-11-28 10:39:07 +00:00
|
|
|
%{_mandir}/man1/*.1*
|
2019-09-27 15:04:46 +00:00
|
|
|
%{_userunitdir}/*.service
|
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-07-23 13:40:12 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.8.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-22 05:37:41 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.8.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-11-28 10:39:07 +00:00
|
|
|
* Fri Nov 26 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 9.8.2-1
|
|
|
|
- chore(update): 9.8.2 | Co-authored-by: Jack Xu <jackyzy823@gmail.com>
|
|
|
|
- build(add BR): libqrencode
|
|
|
|
- build(add BR): Qt5Svg
|
|
|
|
|
2021-07-23 22:04:06 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.7.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-03-30 18:41:12 +00:00
|
|
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 9.7.1-3
|
|
|
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
|
|
|
|
2021-01-28 00:29:04 +00:00
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-12 12:51:02 +00:00
|
|
|
* Sat Sep 12 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 9.7.1-1
|
|
|
|
- Update to 9.7.1
|
|
|
|
|
2020-09-04 19:06:37 +00:00
|
|
|
* Fri Sep 4 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 9.7.0-1
|
|
|
|
- Update to 9.7.0
|
|
|
|
|
2020-07-29 15:10:17 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.6.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-02-02 20:39:17 +00:00
|
|
|
* Sun Feb 02 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 9.6.2-3
|
|
|
|
- Add dep: qt5-qtgraphicaleffects
|
|
|
|
- Add dep: qt5-qtquickcontrols
|
|
|
|
|
2020-01-31 05:02:13 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-21 22:20:30 +00:00
|
|
|
* Tue Jan 21 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 9.6.2-1
|
|
|
|
- Update to 9.6.2
|
|
|
|
- Enable LTO
|
|
|
|
|
2020-01-17 11:30:04 +00:00
|
|
|
* Fri Jan 17 2020 Marek Kasik <mkasik@redhat.com> - 9.6.0-2
|
|
|
|
- Rebuild for poppler-0.84.0
|
|
|
|
|
2019-09-27 15:04:46 +00:00
|
|
|
* Mon Sep 16 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 9.6.0-1
|
|
|
|
- Update to 9.6.0
|
|
|
|
|
2019-07-27 04:44:46 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.5.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-04-16 17:52:22 +00:00
|
|
|
* Fri Mar 29 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 9.5.0-6
|
|
|
|
- Initial package.
|