From 3e48276b71651833aec0ed57aed72f29f1c6fee3 Mon Sep 17 00:00:00 2001 From: openmamba WebBuild System Date: Fri, 5 Jan 2024 21:02:36 +0100 Subject: [PATCH] update to 2.3.2 [release 2.3.2-1mamba;Tue Aug 28 2012] --- README.md | 8 +++++ bygfoot.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 bygfoot.spec diff --git a/README.md b/README.md index 04751f4..7e4369d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # bygfoot +Bygfoot allows you to manage a team by administering players' fitness, stadium capacity +and conservation, team formation, team playing style, player hiring and firing, etc. If you +are successful you can become a champion. Else you will be fired after some time. + +The game is based on "country files" in XML format that you can customise to reflect +your own country's leagues. There are also "team definitions" you can write to have the +teams you know of play with their actual formations. + diff --git a/bygfoot.spec b/bygfoot.spec new file mode 100644 index 0000000..cf1db7f --- /dev/null +++ b/bygfoot.spec @@ -0,0 +1,94 @@ +Name: bygfoot +Version: 2.3.2 +Release: 1mamba +Summary: A football manager simulation game for Linux. +Group: Applications/Games +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://bygfoot.sourceforge.net/ +Source: http://downloads.sourceforge.net/bygfoot/bygfoot-%{version}.tar.bz2 +#http://downloads.sourceforge.net/bygfoot/bygfoot-2.2.1-source.tar.bz2 +License: GPL +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libpango-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Bygfoot allows you to manage a team by administering players' fitness, stadium capacity +and conservation, team formation, team playing style, player hiring and firing, etc. If you +are successful you can become a champion. Else you will be fired after some time. + +The game is based on "country files" in XML format that you can customise to reflect +your own country's leagues. There are also "team definitions" you can write to have the +teams you know of play with their actual formations. + +%prep + +%setup -q -n %{name}-%{version} + +%build +%configure \ + CFLAGS="%{optflags} -lm" + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +rm -rf %{buildroot}%{_datadir}/bygfoot/support_files/definitions/scotland/CVS + +mkdir -p %{buildroot}%{_datadir}/applications +cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF +[Desktop Entry] +Name=Bygfoot +Comment=A simple and addictive GTK2 football manager +Comment[bg]=прост и пристрастяващ GTK2 футболен мениджър +Comment[da]=En enkel og vanedannende GTK2-fodboldmanager +Comment[de]=Ein einfacher Fußballmanager mit Suchtgefahr +Comment[es]=Un manager de futbol en GTK simple y adictivo +Comment[fr]=Un jeux de manager de football simple et accrocheur +Comment[it]=Un gioco manageriale di calcio semplice e accattivante +Comment[nl]=Een simpele en verslavende GTK2 voetbal manager +Comment[pl]=Prosty, ale wciągający menedżer piłkarski +Comment[ro]=Un simplu si captivant manager de fotbal bazat pe GTK2 +Comment[sv]=En enkel och vanebildande fotbollsmanager för GTK2 +Exec=%{_bindir}/bygfoot +Icon=%{_datadir}/bygfoot/support_files/pixmaps/bygfoot_icon.png +Terminal=false +Type=Application +Categories=Game;SportsGame; +EOF + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/bygfoot +%{_datadir}/applications/%{name}.desktop +%{_datadir}/bygfoot +%doc AUTHORS COPYING ChangeLog README TODO + +%changelog +* Tue Aug 28 2012 openmamba WebBuild System 2.3.2-1mamba +- update to 2.3.2 + +* Sun Feb 01 2009 gil 2.3.1-1mamba +- update to 2.3.1 + +* Wed Nov 19 2008 gil 2.3.0-1mamba +- package created by autospec