Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > f7440df0008d637e77cf1354bf50f026 > files > 4

bygfoot-2.2.1-1mdv2009.0.src.rpm

Summary:	Football (soccer) manager game
Name:		bygfoot
Version:	2.2.1
Release:	%mkrel 1
License:	GPLv2+
Group:		Games/Sports
Url:		http://bygfoot.sourceforge.net
Source0:	http://downloads.sourceforge.net/bygfoot/%{name}-%{version}-source.tar.bz2
Source1:	%{name}.desktop
Patch0:		%{name}-2.2.1-gst-version.patch
BuildRequires:	libgtk+2-devel
BuildRequires:	gstreamer0.10-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
Bygfoot is a small and simple football (a.k.a. soccer) manager game
featuring quite a few international leagues and cups. You manage a
team from one such league: you form the team, buy and sell players,
get promoted or relegated and of course try to be successful.

%prep
%setup -qn %{name}-%{version}-source
%patch0 -p1

%build

# (tpg) needed for patch0
aclocal --force
autoconf --force
autoheader --force

%configure2_5x \
	--enable-gstreamer

%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%makeinstall_std
mkdir -p %{buildroot}%{_datadir}/{pixmaps,applications}

install support_files/pixmaps/bygfoot_icon.png %{buildroot}%{_datadir}/pixmaps/bygfoot.png
install %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop

%find_lang %{name}

%if %mdkversion < 200900
%post
%{update_menus}
%{update_desktop_database}
%update_icon_cache hicolor
%endif

%if %mdkversion < 200900
%postun
%{clean_menus}
%{clean_desktop_database}
%clean_icon_cache hicolor
%endif

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog README TODO UPDATE ReleaseNotes
%dir %{_datadir}/%{name}/support_files
%dir %{_datadir}/%{name}/support_files/definitions
%dir %{_datadir}/%{name}/support_files/lg_commentary
%dir %{_datadir}/%{name}/support_files/names
%dir %{_datadir}/%{name}/support_files/pixmaps/history
%dir %{_datadir}/%{name}/support_files/pixmaps/live_game
%dir %{_datadir}/%{name}/support_files/pixmaps/symbols
%dir %{_datadir}/%{name}/support_files/strategy
%dir %{_datadir}/%{name}/support_files/mmedia
%{_bindir}/%{name}
%{_datadir}/%{name}/support_files/bygfoot*
%{_datadir}/%{name}/support_files/definitions/*/*.xml
%{_datadir}/%{name}/support_files/lg_commentary/*.xml
%{_datadir}/%{name}/support_files/names/*.xml
%{_datadir}/%{name}/support_files/pixmaps/*.png
%{_datadir}/%{name}/support_files/pixmaps/*/*.png
%{_datadir}/%{name}/support_files/strategy/*.xml
%{_datadir}/%{name}/support_files/mmedia/pics/*.jpg
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop


%changelog
* Sat Jun 28 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 2.2.1-1mdv2009.0
+ Revision: 229718
- update to new version 2.2.1
- Patch0: fix gstreamer version
- enable gstreamer backend
- do not package COPYING file

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Mon Feb 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.2.0-2mdv2008.1
+ Revision: 170779
- rebuild
- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Jul 16 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 2.2.0-1mdv2008.0
+ Revision: 52712
- fix file list
- new version
- drop X-MandrivaLinux from desktop file


* Thu Feb 22 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 2.1.0-1mdv2007.0
+ Revision: 124690
- Import bygfoot