95 lines
3.3 KiB
RPMSpec
95 lines
3.3 KiB
RPMSpec
Name: bygfoot
|
||
Version: 2.3.5
|
||
Release: 1mamba
|
||
Summary: A football manager simulation game for Linux.
|
||
Group: Applications/Games
|
||
Vendor: openmamba
|
||
Distribution: openmamba
|
||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
URL: https://bygfoot.sourceforge.io/new/
|
||
Source: https://gitlab.com/bygfoot/bygfoot/-/archive/%{version}/bygfoot-%{version}.tar.bz2
|
||
License: GPL
|
||
## AUTOBUILDREQ-BEGIN
|
||
BuildRequires: glibc-devel
|
||
BuildRequires: libat-spi2-core-devel
|
||
BuildRequires: libcairo-devel
|
||
BuildRequires: libfontconfig-devel
|
||
BuildRequires: libfreetype-devel
|
||
BuildRequires: libgdk-pixbuf-devel
|
||
BuildRequires: libglib-devel
|
||
BuildRequires: libgtk2-devel
|
||
BuildRequires: libharfbuzz-devel
|
||
BuildRequires: libjson-c-devel
|
||
BuildRequires: libpango-devel
|
||
BuildRequires: libz-devel
|
||
## AUTOBUILDREQ-END
|
||
BuildRequires: desktop-file-utils
|
||
BuildRequires: gettext
|
||
|
||
%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.
|
||
|
||
%debug_package
|
||
|
||
%prep
|
||
%setup -q
|
||
|
||
%build
|
||
%cmake
|
||
|
||
%cmake_build
|
||
|
||
%install
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
%cmake_install
|
||
|
||
#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
|
||
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.5-1mamba
|
||
- update to 2.3.5
|
||
|
||
* Tue Aug 28 2012 openmamba WebBuild System <webbuild@openmamba.org> 2.3.2-1mamba
|
||
- update to 2.3.2
|
||
|
||
* Sun Feb 01 2009 gil <puntogil@libero.it> 2.3.1-1mamba
|
||
- update to 2.3.1
|
||
|
||
* Wed Nov 19 2008 gil <puntogil@libero.it> 2.3.0-1mamba
|
||
- package created by autospec
|