Initial import (#1884110).
This commit is contained in:
parent
751a5c5b72
commit
dc0bd4fed3
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/booksorg-93b03026cadd9946f02ba0cecb615714b822cdb5.tar.gz
|
72
booksorg.spec
Normal file
72
booksorg.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user