95 lines
3.2 KiB
RPMSpec
95 lines
3.2 KiB
RPMSpec
|
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 <puntogil@libero.it>
|
|||
|
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 <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
|