algobox/algobox.spec
Fedora Release Engineering b71250dc6e - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 11:55:03 +00:00

64 lines
1.4 KiB
RPMSpec

Name: algobox
Version: 1.0.3
Release: 2%{?dist}
Summary: Algorithmic software
Summary(fr): Logiciel d'algorithmique
License: GPLv2+
URL: https://www.xm1math.net/algobox
Source0: %{url}/algobox-%{version}.tar.bz2
# Because qtwebengine is not always available
ExclusiveArch: %{qt5_qtwebengine_arches}
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: qt5-qtbase-devel >= 5.7
BuildRequires: qt5-qtwebengine-devel
BuildRequires: desktop-file-utils
%description
Algobox is an initiation to algorithmic software at high school level.
%description(fr)
Algobox est un logiciel d'initiation à l'algorithmique au niveau lycée.
%prep
%autosetup -p1
chmod -x license.txt
%build
%{qmake_qt5}
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%check
desktop-file-validate \
%{buildroot}%{_datadir}/applications/algobox.desktop
%files
%license license.txt
%doc utilities/AUTHORS utilities/CHANGELOG.txt
%{_bindir}/algobox
%{_datadir}/algobox
%{_datadir}/applications/algobox.desktop
%{_datadir}/mime/packages/x-algobox.xml
%{_datadir}/pixmaps/algobox.png
%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Mar 03 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.0.3-1
- Initial spec file