2020-10-23 18:21:10 +00:00
|
|
|
%global owner zakariakov
|
|
|
|
%global commit 93b03026cadd9946f02ba0cecb615714b822cdb5
|
|
|
|
|
|
|
|
Name: booksorg
|
|
|
|
Version: 0.3.1
|
|
|
|
Release: 3%{?dist}
|
|
|
|
License: GPLv3
|
|
|
|
Summary: Books Organizer
|
|
|
|
URL: https://github.com/%{owner}/%{name}
|
|
|
|
Source0: {%url}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: dejavu-serif-fonts
|
|
|
|
BuildRequires: poppler-qt5-devel
|
|
|
|
BuildRequires: qt5-qtsvg-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
2020-12-17 03:05:29 +00:00
|
|
|
BuildRequires: make
|
2020-10-23 18:21:10 +00:00
|
|
|
|
|
|
|
Requires: qt5-qtbase
|
|
|
|
|
|
|
|
%description
|
|
|
|
Books Organizer an organizer for PDF files based on SQLite
|
|
|
|
and with a built-in reader. Bring your favorite PDF pages
|
|
|
|
all in one! Make your own extract pages from existing ones.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{commit}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%qmake_qt5
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/appdata
|
|
|
|
install -Dp -m 0644 %{name}.appdata.xml %{buildroot}%{_datadir}/appdata
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
#Fix SVG file permissions
|
|
|
|
chmod 644 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
|
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Oct 23 2020 Mosaab Alzoubi <moceap@hotmail.com> - 0.3.1-3
|
|
|
|
- Add licence
|
|
|
|
- Upstream appdata file
|
|
|
|
|
|
|
|
* Thu Oct 1 2020 Mosaab Alzoubi <moceap@hotmail.com> - 0.3.1-2
|
|
|
|
- Review for Fedora Package Review
|
|
|
|
- Use %%url
|
|
|
|
- Remove Unneeded lines
|
|
|
|
- Use only %%buildroot
|
|
|
|
- Use desktop file validation
|
|
|
|
- Fix some spellings
|
|
|
|
- Shorten description lines
|
|
|
|
- Fix SVG file permissions
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 1 2020 Mosaab Alzoubi <moceap@hotmail.com> - 0.3.1-1
|
|
|
|
- Updated to 0.3.1
|
|
|
|
- Built for F33
|
|
|
|
- Use Qt5
|
|
|
|
|
|
|
|
* Mon Mar 27 2017 Mosaab Alzoubi <moceap@hotmail.com> - 0.3-2
|
|
|
|
- Imported from http://download.opensuse.org/repositories/home:/kovax/CentOS_CentOS-6/src
|
|
|
|
- Clean the spec
|