]>
Commit | Line | Data |
---|---|---|
fd2a456e | 1 | %define name egenix-mx-base |
2 | %define version 2.0.1 | |
3 | %define release 1 | |
4 | ||
5 | Summary: eGenix mx-Extensions for Python - BASE package | |
6 | Name: %{name} | |
7 | Version: %{version} | |
8 | Release: %{release} | |
9 | Source0: %{name}-%{version}.tar.gz | |
10 | Copyright: Copyright (c) 1997-2001, Marc-Andre Lemburg, All Rights Reserved; Copyright (c) 2000-2001, eGenix.com Software GmbH, All Rights Reserved | |
11 | Group: Development/Libraries | |
12 | BuildRoot: %{_tmppath}/%{name}-buildroot | |
13 | Prefix: %{_prefix} | |
14 | Vendor: eGenix.com Software GmbH, Langenfeld, Germany <info@egenix.com> | |
15 | Packager: Marc-Andre Lemburg <mal@egenix.com> | |
16 | Url: http://www.lemburg.com/python/mxExtensions.html | |
17 | ||
18 | %description | |
19 | The eGenix mx Extension Series are a collection of | |
20 | Python extensions written in ANSI C and Python | |
21 | which provide a large spectrum of useful additions | |
22 | to everyday Python programming. | |
23 | ||
24 | The BASE package includes the Open Source subpackages | |
25 | of the series and is needed by all other add-on | |
26 | packages of the series. | |
27 | ||
28 | This software is brought to you by eGenix.com and | |
29 | distributed under the eGenix.com Public License. | |
30 | ||
31 | ||
32 | %prep | |
33 | %setup | |
34 | ||
35 | %build | |
36 | env CFLAGS="$RPM_OPT_FLAGS" /usr/local/bin/python1.5 setup.py build | |
37 | ||
38 | %install | |
39 | /usr/local/bin/python1.5 setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files -f INSTALLED_FILES | |
45 | %defattr(-,root,root) | |
46 | %doc README mx/Doc mx/DateTime/Doc mx/Proxy/Doc mx/BeeBase/Doc mx/Queue/Doc mx/Stack/Doc mx/TextTools/Doc mx/Tools/Doc mx/DateTime/LICENSE mx/DateTime/COPYRIGHT |