11Summary: A chess program with configurable AI
22Name: cheops
3- Version: 1.2
4- Release: 1
5- License: GPL
3+ Version: 1.3
4+ Release: 0
5+ License: GPL-2.0 +
66Group: Amusements/Games/Board/Chess
7- URL: http ://www.nothingisreal.com/cheops/
8- Source0: http ://www .nothingisreal.com/cheops /%{name }-%{version }.tar.bz2
7+ URL: https ://logological.org/%{ name }
8+ Source0: https ://files .nothingisreal.com/software/%{ name } /%{name }-%{version }.tar.bz2
99BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root
10- Prefix: %{_prefix }
10+ BuildRequires: gcc-c++
11+ BuildRequires: gzip
1112
1213%description
1314CHEOPS (CHEss OPponent Simulator) is a fully-functional chess program
@@ -20,29 +21,26 @@ considers material, mobility, and motif features.
2021%setup -q
2122
2223%build
23- ./configure --prefix=%{_prefix }
24- make
24+ %{ _configure } --prefix=%{_prefix }
25+ %{__make}
2526
2627%install
27- [ " $RPM_BUILD_ROOT " != " /" ] && rm -rf $RPM_BUILD_ROOT
28- make DESTDIR=$RPM_BUILD_ROOT install-strip
28+ [ " %{buildroot} " != " /" ] && %{__rm} -rf %{ buildroot }
29+ %{__make} DESTDIR=%{ buildroot } install-strip
2930
3031%clean
31- [ " $RPM_BUILD_ROOT " != " /" ] && rm -rf $RPM_BUILD_ROOT
32+ [ " %{buildroot} " != " /" ] && %{__rm} -rf %{ buildroot }
3233
3334
3435%files
3536%defattr(-,root,root,-)
36- %{_prefix }/bin /cheops
37- %doc ChangeLog AUTHORS COPYING INSTALL NEWS README THANKS doc/cheops.pdf doc/cheops.dvi
38- %doc %{_prefix }/share/man /man6/cheops.6.gz
37+ %{_bindir } /cheops
38+ %doc ChangeLog AUTHORS COPYING INSTALL NEWS README THANKS doc/cheops.pdf
39+ %doc %{_mandir } /man6/cheops.6.gz
3940
4041
4142
4243%changelog
43- * Sun Feb 1 2015 Tristan Miller <psychonaut@nothingisreal.com> -
44- - Updated man path.
45-
46- * Fri Dec 4 2004 Tristan Miller <psychonaut@nothingisreal.com> -
44+ * Mon Dec 26 2016 Tristan Miller <psychonaut@nothingisreal.com> -
4745- Initial build.
4846
0 commit comments