From dc0bd4fed34c46e89423c0d095161e7c0592cbca Mon Sep 17 00:00:00 2001 From: Mosaab Alzoubi Date: Fri, 23 Oct 2020 21:21:10 +0300 Subject: [PATCH] Initial import (#1884110). --- .gitignore | 1 + booksorg.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+) create mode 100644 .gitignore create mode 100644 booksorg.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96bdb70 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/booksorg-93b03026cadd9946f02ba0cecb615714b822cdb5.tar.gz diff --git a/booksorg.spec b/booksorg.spec new file mode 100644 index 0000000..f58c349 --- /dev/null +++ b/booksorg.spec @@ -0,0 +1,72 @@ +%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 + +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 - 0.3.1-3 +- Add licence +- Upstream appdata file + +* Thu Oct 1 2020 Mosaab Alzoubi - 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 - 0.3.1-1 +- Updated to 0.3.1 +- Built for F33 +- Use Qt5 + +* Mon Mar 27 2017 Mosaab Alzoubi - 0.3-2 +- Imported from http://download.opensuse.org/repositories/home:/kovax/CentOS_CentOS-6/src +- Clean the spec diff --git a/sources b/sources new file mode 100644 index 0000000..6bdd604 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (booksorg-93b03026cadd9946f02ba0cecb615714b822cdb5.tar.gz) = 38139a75b630f57c47ed1ab907c76f1ebc9704abc8dae727eb9b3586fa1adf3019085c7e88da93030660664de7117f6420df3bb0157d2908bd1d2ed92f1d22d8