]> git.pld-linux.org Git - packages/bygfoot.git/blob - bygfoot.spec
- up to 2.3.0 (changed Source0 and %setup)
[packages/bygfoot.git] / bygfoot.spec
1 Summary:        A simple football manager
2 Summary(hu.UTF-8):      Egy football menedzser játék
3 Summary(pl.UTF-8):      Prosty menadżer piłkarski
4 Name:           bygfoot
5 Version:        2.3.0
6 Release:        1
7 License:        GPL v2+
8 Group:          X11/Applications/Games
9 Source0:        http://dl.sourceforge.net/bygfoot/%{name}-%{version}.tar.bz2
10 # Source0-md5:  7df51b476131321ca17a4e8eb037339a
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-locale_names.patch
13 URL:            http://bygfoot.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  freetype-devel
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 2:2.2.0
18 BuildRequires:  pkgconfig
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
26 %description -l hu.UTF-8
27 Bygfoot egy kicsi és egyszerű football menedzser játék, néhány
28 nemzetközi ligával és kupával. Te menedzseled a csapatot egy ligában:
29 te alakítod a csapatot, eladhatsz és vehetsz játékosokat.
30
31 %description -l pl.UTF-8
32 Bygfoot jest małym i prostym menadżerem piłkarskim umożliwiającym grę
33 w międzynarodowych ligach i pucharach. Gra polega na tworzeniu drużyny
34 oraz kupowaniu i sprzedawaniu zawodników.
35
36 %prep
37 %setup -q 
38 %patch0 -p1
39
40 mv po/zh{,_CN}.po
41
42 %build
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
57 install support_files/pixmaps/bygfoot_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog README TODO UPDATE
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/%{name}
69 %{_desktopdir}/%{name}.desktop
70 %{_pixmapsdir}/%{name}_icon.png
This page took 0.185108 seconds and 3 git commands to generate.