rpms/gnubg/devel gnubg.desktop, NONE, 1.1 gnubg.png, NONE, 1.1 gnubg.spec, NONE, 1.1 gnubg.weights, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Joost Soeterbroek (jsoeterb) fedora-extras-commits at redhat.com
Tue Jun 6 19:27:01 UTC 2006


Author: jsoeterb

Update of /cvs/extras/rpms/gnubg/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18850/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gnubg.desktop gnubg.png gnubg.spec gnubg.weights 
Log Message:
auto-import gnubg-20060530-5 on branch devel from gnubg-20060530-5.src.rpm


--- NEW FILE gnubg.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=GNU Backgammon
GenericName=Backgammon
Comment=A backgammon game and analyser
Exec=gnubg --window-system-only
Icon=gnubg.png
Terminal=false
StartupNotify=false
Type=Application
Categories=Application;Game;
Version=20060530


--- NEW FILE gnubg.spec ---
Name:          gnubg
License:       GPL
Group:         Amusements/Games
Summary:       A backgammon game and analyser
Version:       20060530
Release:       5%{?dist}
Source0:       http://www.acepoint.de/GnuBG/sources/%{name}-%{version}.tar.gz
Source1:       gnubg.weights
Source2:       gnubg.desktop
Source3:       gnubg.png
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n ) 
URL:           http://www.gnubg.org
BuildRequires: gtk2-devel
BuildRequires: esound-devel
BuildRequires: arts-devel
BuildRequires: gettext-devel
BuildRequires: gtkglext-devel
BuildRequires: automake
BuildRequires: bison
BuildRequires: libtool
BuildRequires: texinfo
BuildRequires: python-devel
BuildRequires: netpbm-progs
BuildRequires: gnuplot
BuildRequires: ghostscript
BuildRequires: info
BuildRequires: desktop-file-utils
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

%description
GNU Backgammon is software for playing and analysing backgammon
positions, games and matches. It's based on a neural network. Although it
already plays at a very high level, it's still work in progress. You may
play GNU Backgammon using the command line or a graphical interface

%prep
%setup -n %{name}
# convert man page from ISO-8859-1 to UTF8
/usr/bin/iconv -f ISO-8859-1 -t UTF8 gnubg.6 > gnubg.6.tmp 
/bin/mv gnubg.6.tmp gnubg.6

# running autogen, sources are nightly CVS tarballs not
# containing configure
./autogen.sh

%build
export CFLAGS="$RPM_OPT_FLAGS"
%configure --with-python \
	--without-gdbm \
	--without-guile \
	--without-timecontrol
make

%install
rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT%{_prefix}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnubg
make install DESTDIR=$RPM_BUILD_ROOT
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnubg/gnubg.weights

%find_lang %{name}

# remove /usr/share/info/dir
/bin/rm -f $RPM_BUILD_ROOT/usr/share/info/dir

# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora            \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --add-category X-Fedora                       \
  %{SOURCE2}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 %{SOURCE3} \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps

%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
 
%preun
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%clean
rm -rf ${RPM_BUILD_ROOT}

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS README COPYING ChangeLog
%{_bindir}/bearoffdump
%{_bindir}/gnubg
%{_bindir}/makebearoff
%{_bindir}/makehyper
%{_infodir}/gnubg.info.gz
%dir %{_datadir}/gnubg
%{_datadir}/gnubg/met
%{_datadir}/gnubg/doc
%{_datadir}/gnubg/boards.xml
%{_datadir}/gnubg/gnubg.game.sql
%{_datadir}/gnubg/gnubg.gtkrc
%{_datadir}/gnubg/gnubg_os0.bd
%{_datadir}/gnubg/gnubg.weights
%{_datadir}/gnubg/sounds
%{_datadir}/gnubg/textures.txt
%{_datadir}/gnubg/textures
%{_mandir}/man6/gnubg.*
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/gnubg/scripts/*.py
%{_datadir}/gnubg/scripts/*.pyc
%ghost %{_datadir}/gnubg/scripts/*.pyo

%changelog
* Tue Jun  6 2006 - Joost Soeterbroek <fedora at soeterbroek.com> - 20060530-5
- minor change in man file conversion, move from install to prep
* Mon Jun  5 2006 - Joost Soeterbroek <fedora at soeterbroek.com> - 20060530-4
- added BuildReqs desktop-file-utils
* Sun Jun  4 2006 - Joost Soeterbroek <fedora at soeterbroek.com> - 20060530-3
- fixed utf8 error in /usr/share/man/man6/gnubg.6.gz
- removed BuildReqs gtk+-devel, freetype-devel, audiofile-devel
- added BuildReqs gtkglext-devel
- remove /usr/share/info/dir
- removed subpackages database- and sound-
- removed configure option without-board3d 
- sanitised %files section
- ghost the .pyo files /usr/share/gnubg/scripts/
- added desktop file and icon
* Thu Jun  1 2006 - Joost Soeterbroek <fedora at soeterbroek.com> - 20060530-2
- moved autogen.sh from %build to %setup
- changed ./configure to %configure macro
- removed install-strip
- added directories to files sections
- removed BuildReqs glib2 and autoconf
- added BuildReqs (mock): gettext-devel, gtk2-devel, texinfo, python-devel,
  netpbm-progs, gnuplot, ghostscript, info
* Wed May 31 2006 - Joost Soeterbroek <fedora at soeterbroek.com> - 20060530-1
- added find_lang macro
- added full URL to Source
- added BuildReqs.
- added correct Reqs. to sub-packages
- added defattr to sub-packages' files section
- added correct TexInfo scriptlet for post and preun
* Sun Apr 23 2006 - Joost Soeterbroek <fedora at soeterbroek.com>
- rebuild for FE
* Wed Dec 28 2004 - <ace at gnubg.org>
- new weights including pruning
* Mon Oct 11 2004 - <ace at gnubg.org>
- fixed some minor bugs
* Wed Sep 01 2004 - <ace at gnubg.org>
- new rpms with 3d enabled
* Wed Nov 05 2003 - <ace at gnubg.org>
- made the spec suit to redhat and suse <ace at gnubg.org>
- disabled 3d (still problems with nvidia)
- added gpg signature
* Thu Oct 23 2003 - <ace at gnubg.org>
- disabled gdbm and guile
- changed info- and manpath
* Mon Oct 20 2003 - <ace at gnubg.org>
- divided into three packages (gnubg, databases, sounds)
* Fri Oct 18 2003 - <ace at gnubg.org>
- initial package (Version 0.14)


--- NEW FILE gnubg.weights ---
GNU Backgammon 0.15
250 128 5 1   0.1000000   1.0000000
-1.1286598
5.6459165
-0.6714309
-1.2084650
-6.7631621
-0.8802382
1.3040725
1.6762106
-1.2045636
-0.3371116
-0.8034536
1.7799193
-0.2099370
-3.8821776
-0.8586042
-8.3714495
-0.9152180
-9.9807997
-1.9981763
-5.3305631
3.4416943
-1.1496316
2.5699527
-0.7576233
-0.1390961
-0.4068051
-8.2267199
1.2265017
-2.2192125
-0.6498805
2.1344852
-5.3119326
-5.0732584
-0.0783663
2.0032780
0.2636043
-0.2510738
-1.7898922
-0.6723614
2.9464953
-1.2485683
1.0262533
-0.1319688
-0.6819366
-0.5582494
-0.7043151
0.9911357
4.3098993
0.8664961
-0.5126297
-0.0854336
6.2871346
-1.6406530
-3.7994261
-1.1293137
-3.4651866
-1.2788007
1.2031691
0.0667870
-1.2755435
0.3795222
0.5555582
4.2731261
-0.9160647
-1.2513794
0.0645604
-5.8775563
-2.4109561
-0.8355488
0.2583179
-1.0559511
-23.5596848
1.0961996
2.3467960
-2.4524729
-1.8082359
-1.6465763
-1.0482930
-3.0478418
-1.0755736
-2.5964978
4.9591494
-1.3376449
2.2967219
-2.3426259
-1.2362030
-2.9738188
-2.5720518
1.4734837
-2.2058434
-2.6204343
-5.0612130
0.2040590
-1.6137329
1.7952329
0.0988710
-0.0408671
-2.8258567
-1.8939192
-2.2723160
0.1289375
-0.3162600
-2.5555892
0.2788072
-0.0776972
1.5893892
2.1821413
1.8116299
2.6835997
-1.4180214
-0.9224281
1.1163505
0.5266788
0.5974604
-0.3250947
0.2784262
-5.4810581
-0.9329694
0.0620641
-2.0659685
-1.4201684
1.7059724
0.4152586
-1.7144268
2.0831635
6.9181943
0.5410824
-1.2794663
0.8290840
5.3316798
-7.3310246
-1.0958890
-2.2006388
-0.5297248
1.4878997
1.4889022
1.0536013
-2.0239573
-2.8361270
2.5422781
-3.3957160
-5.6179485
-1.1546310
6.4360056
-1.9465928
-5.7342548
1.6401223
-10.7767467
5.9602699
-1.7765682
4.1457253
-0.3789456
0.6497961
0.1705771
-26.6361809
0.1510807
-9.9643955
-0.9184386
-0.1563830
-2.6804967
-13.9359159
0.0846737
1.9243438
0.0807223
0.6631444
-3.2611992
-8.4617786
6.4773660
-8.8772669
3.1396399
-8.9260302
-4.6580000
-2.7868083
-0.8395913
3.6948686
7.4489713
3.0788331
-4.5227351
-0.0975207
-0.6036528
-2.4841483
-4.0551720
-2.2319014
0.5976536
-2.3803241
-15.7587290
-3.8078856
-2.2822521
-4.5813575
-2.5250185
3.3268023
-2.5540340
-8.0039062
3.4578459
-15.9406004
-4.1217999
-0.8896920
[...97454 lines suppressed...]
0.0448608
-0.2271271
-0.1086426
0.1755142
0.1572189
-4.8588328
4.2579265
-21.9851418
8.4693203
13.0824757
-0.0719769
0.0629106
-0.2149445
15.4212790
14.9104414
0.1167908
-0.2007294
-0.0717392
-0.1144943
0.0407257
-0.1070023
-0.0121613
0.1513901
0.0647507
-0.0852585
-4.9149294
-5.9558787
-21.0797577
8.8343840
15.6040630
-0.2666582
-0.1083310
-3.8453100
26.4993534
37.0059776
-0.2099686
-0.1882401
0.0379639
-0.0269241
-0.1124268
0.1496506
0.1484375
0.2057877
-0.0479889
0.1315536
-0.0624167
-0.4711604
-14.2618055
17.0646248
8.9218283
-0.2902062
-0.3465800
4.7870684
20.0803471
28.6945000
-0.1431046
-0.1402664
-0.2301331
-0.2228928
-0.1421127
-0.1201935
-0.1976166
0.1509018
0.0126190
-0.0309830
0.0283642
0.0324821
-12.0553017
13.1591797
15.9851723
0.1562258
0.0471180
0.7716888
25.2179680
35.2256126
0.0557327
0.0380173
-0.1721268
-0.0134430
0.1301498
0.0321808
0.2081146
-0.1347122
-0.0256653
-0.1689377
-0.0848312
0.0812378
-0.0592041
-0.0649567
0.1083450
0.0486832
0.0648499
0.1607285
-0.0504150
-0.1725235
-0.1202545
0.0690231
0.1301346
0.1605301
-0.0235672
0.1558685
0.0788803
-0.2165070
0.0800400
-0.0469742
-0.2074356
-0.1142273
0.2410431
-0.1295624
0.1223373
0.1211929
0.1526184
0.0804520
0.2364807
-0.1230392
0.1615143
-0.0983429
0.2081985
-0.1476898
0.0867004
0.0665436
0.1509933
-0.0984497
-0.0227203
-0.1494217
-0.0209732
0.1070251
0.1696091
-0.1408386
0.0175552
-0.1039581
-0.2349701
-0.1535568
-0.0704651
0.0950775
0.0494690
-0.0279007
0.2308502
0.0405121
0.0925369
0.1031876
-0.0882950
-0.0048447
-0.0663605
-0.1018066
0.1221161
-0.1548462
0.0498505
0.0803146
-0.0525360
-0.1134491
-0.1031342
-0.1515427
0.0381012
0.1241455
-0.0509567
-0.2328644
-0.0188293
-0.1313477
-0.1237030
0.2487335
0.0146942
-0.1086655
-0.1548233
0.1942291
-5.8139534
-0.1828845
62.5635872
-8.7369919
-0.5911384
23.7874069
11.6281729
5.5400805
-11.1729679
-126.6865692
-1.6249115
-1.8168391
-2.0253954
-1.9434752
-2.0263424
-1.5818510
5.9976063
36.5282249
74.7734070
58.9025993
-1.7211663
-1.9205749
-2.0014870
-2.0000000
-2.2946472
-33.0739670
45.0459633
-24.7388058
3.9325001
-3.0949793
4.6419177
-2.4302766
-8.5402956
-130.2806549
-8.5228758


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gnubg/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Jun 2006 19:24:35 -0000	1.1
+++ .cvsignore	6 Jun 2006 19:27:00 -0000	1.2
@@ -0,0 +1 @@
+gnubg-20060530.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gnubg/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Jun 2006 19:24:35 -0000	1.1
+++ sources	6 Jun 2006 19:27:00 -0000	1.2
@@ -0,0 +1 @@
+ae822f46286b2a719da4d84a3637b668  gnubg-20060530.tar.gz




More information about the fedora-extras-commits mailing list