Initial import (#1884110).

This commit is contained in:
Mosaab Alzoubi 2020-10-23 21:21:10 +03:00
parent 751a5c5b72
commit dc0bd4fed3
3 changed files with 74 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/booksorg-93b03026cadd9946f02ba0cecb615714b822cdb5.tar.gz

72
booksorg.spec Normal file
View File

@ -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 <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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (booksorg-93b03026cadd9946f02ba0cecb615714b822cdb5.tar.gz) = 38139a75b630f57c47ed1ab907c76f1ebc9704abc8dae727eb9b3586fa1adf3019085c7e88da93030660664de7117f6420df3bb0157d2908bd1d2ed92f1d22d8