source: spec/trunk/SPECS/peg-e.spec@ 1750

Last change on this file since 1750 was 1727, checked in by tellie, 5 years ago

spec: peg-e: Release version 1.2.8-1.

File size: 1.7 KB
Line 
1Name: peg-e
2Version: 1.2.8
3Release: 1%{?dist}
4Summary: Peg solitaire game
5Group: Amusements/Games
6License: GPLv3+
7URL: http://gottcode.org/%{name}/
8#Source: http://gottcode.org/%{name}/%{name}-%{version}-src.tar.bz2
9%scm_source github https://github.com/gottcode/peg-e master
10
11BuildRequires: gcc
12BuildRequires: qt5-qtbase-devel
13#BuildRequires: qt5-linguist
14
15%description
16A peg solitaire game in which you jump over pieces in order to remove them from
17the board, ultimately trying to eliminate all but one. The boards are randomly
18generated, with 100 levels of difficulty. The game auto-saves, and has undo-redo
19capability. Pieces can move horizontally, vertically, and diagonally.
20
21%prep
22#%setup -q
23%scm_setup
24
25%build
26# do a fast qt build, as runmapsym and wmapsym is not needed here
27export QMAKE_SH=$SHELL
28export FAST_BUILD=1
29LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
30
31qmake "CONFIG+=release" PREFIX=/@unixroot/usr
32make %{?_smp_mflags}
33
34%install
35make install INSTALL_ROOT=%{buildroot}
36mkdir -p %{buildroot}%{_bindir}/
37mkdir -p %{buildroot}%{_mandir}/man6/
38mkdir -p %{buildroot}%{_datadir}/%{name}/translations
39mkdir -p %{buildroot}%{_datadir}/%{name}/icons/
40install -p -m 644 release/%{name}.exe %{buildroot}%{_bindir}/
41install -p -m 644 translations/*.qm %{buildroot}%{_datadir}/%{name}/translations/
42install -p -m 644 doc/%{name}.6 %{buildroot}%{_mandir}/man6/
43install -p -m 644 icons/hicolor/32x32/apps/*.png %{buildroot}%{_datadir}/%{name}/icons/
44
45%files
46%doc ChangeLog COPYING CREDITS README
47%{_bindir}/%{name}.exe
48%{_datadir}/%{name}/translations
49%{_datadir}/peg-e/icons/*.png
50%{_mandir}/man6/%{name}.6.*
51
52%changelog
53* Thu Apr 23 2020 Elbert Pol <elbert.pol@gmail.com> - 1.2.8-1
54- first QT5 RPM for OS2
55
Note: See TracBrowser for help on using the repository browser.