]> git.pld-linux.org Git - SPECS.git/blob - python-GooeyPy.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / python-GooeyPy.spec
1 #
2 %define module  GooeyPy
3 #
4 Summary:        Python/GooeyPy - a fast, flexible and cool looking GUI for pygame
5 Summary(pl.UTF-8):      Python/GooeyPy - szybkie, elastycznie i dobrze wyglądające GUI dla pygame
6 Name:           python-%{module}
7 Version:        0.1.2
8 Release:        1
9 License:        LGPL v2.1+
10 Group:          Libraries/Python
11 Source0:        http://cheeseshop.python.org/packages/source/G/GooeyPy/%{module}-%{version}.tar.gz
12 # Source0-md5:  90bf6d39c0a5d4382a2b8bec965ceb3e
13 URL:            http://joey101.net/gooeypy/
14 BuildRequires:  python >= 1:2.4
15 BuildRequires:  python-Cellulose
16 BuildRequires:  python-devel
17 BuildRequires:  python-pygame
18 BuildRequires:  python-setuptools
19 BuildRequires:  rpmbuild(macros) >= 1.710
20 Requires:       python-Cellulose
21 %pyrequires_eq  python-modules
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A fast, flexible, and cool looking GUI for pygame.
26
27 %description -l pl.UTF-8
28 Szybkie, elastyczne i dobrze wyglądające GUI dla pygame.
29
30 %package examples
31 Summary:        Examples of Python/GooeyPy
32 Summary(pl.UTF-8):      Przykłady do Python/GooeyPy
33 Group:          Development/Languages/Python
34 %pyrequires_eq  python
35 Requires:       %{name} = %{version}-%{release}
36
37 %description examples
38 Examples of Python/GooeyPy.
39
40 %description examples -l pl.UTF-8
41 Przykłady do Python/GooeyPy.
42
43 %prep
44 %setup -q -n %{module}-%{version}
45
46 %build
47 %py_build
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
52 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53
54 cp -af  examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
55 cp -af  gooeypy $RPM_BUILD_ROOT%{py_sitescriptdir}/gooeypy
56
57 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
58 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
59 %py_postclean
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS CHANGELOG README
67 %doc docs
68 %{py_sitescriptdir}/gooeypy
69
70 %files examples
71 %defattr(644,root,root,755)
72 %{_examplesdir}/%{name}-%{version}
This page took 0.235918 seconds and 3 git commands to generate.