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