]>
Commit | Line | Data |
---|---|---|
0d615157 | 1 | Summary: A simple football manager |
5060e58a | 2 | Summary(hu.UTF-8): Egy football menedzser játék |
7e0171a7 | 3 | Summary(pl.UTF-8): Prosty menadżer piłkarski |
0d615157 | 4 | Name: bygfoot |
b50a097b | 5 | Version: 2.3.2 |
b54b59d9 | 6 | Release: 1 |
570fcb80 | 7 | License: GPL v2+ |
0d615157 | 8 | Group: X11/Applications/Games |
5060e58a | 9 | Source0: http://dl.sourceforge.net/bygfoot/%{name}-%{version}.tar.bz2 |
b50a097b | 10 | # Source0-md5: 152c0c729c2b5e4428d32b89edc6dd14 |
b6f56ebe | 11 | Source1: %{name}.desktop |
807cce49 | 12 | Patch0: %{name}-locale_names.patch |
0d615157 | 13 | URL: http://bygfoot.sourceforge.net/ |
807cce49 | 14 | BuildRequires: autoconf |
b54b59d9 | 15 | BuildRequires: freetype-devel |
66eea5ba | 16 | BuildRequires: gettext-tools |
65551312 | 17 | BuildRequires: gtk+2-devel >= 2:2.2.0 |
1b385fbc | 18 | BuildRequires: pkgconfig |
0d615157 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | Bygfoot is a small and simple football manager game featuring some | |
23 | international leagues and cups. You manage a team from one such | |
24 | league: you form the team and buy and sell players. | |
25 | ||
5060e58a ZU |
26 | %description -l hu.UTF-8 |
27 | Bygfoot egy kicsi és egyszerű football menedzser játék, néhány | |
1f4275fa | 28 | nemzetközi ligával és kupával. Te menedzseled a csapatot egy |
29 | ligában: te alakítod a csapatot, eladhatsz és vehetsz | |
30 | játékosokat. | |
5060e58a | 31 | |
9df25a82 | 32 | %description -l pl.UTF-8 |
1f4275fa | 33 | Bygfoot jest małym i prostym menadżerem piłkarskim umożliwiającym |
34 | grę w międzynarodowych ligach i pucharach. Gra polega na tworzeniu | |
35 | drużyny oraz kupowaniu i sprzedawaniu zawodników. | |
0d615157 | 36 | |
37 | %prep | |
1f4275fa | 38 | %setup -q |
807cce49 SS |
39 | %patch0 -p1 |
40 | ||
41 | mv po/zh{,_CN}.po | |
c481a7ea | 42 | mv po/pt{_PT,}.po |
0d615157 | 43 | |
44 | %build | |
807cce49 SS |
45 | %{__aclocal} |
46 | %{__autoconf} | |
b54b59d9 | 47 | %{__autoheader} |
0d615157 | 48 | %configure |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
b6f56ebe | 53 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
0d615157 | 54 | |
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
b6f56ebe | 58 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
59 | install support_files/pixmaps/bygfoot_icon.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
60 | ||
a9ba5181 AG |
61 | %find_lang %{name} |
62 | ||
0d615157 | 63 | %clean |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
a9ba5181 | 66 | %files -f %{name}.lang |
0d615157 | 67 | %defattr(644,root,root,755) |
c16aad8a | 68 | %doc AUTHORS ChangeLog README TODO UPDATE |
0d615157 | 69 | %attr(755,root,root) %{_bindir}/* |
70 | %{_datadir}/%{name} | |
b6f56ebe | 71 | %{_desktopdir}/%{name}.desktop |
72 | %{_pixmapsdir}/%{name}_icon.png |