Last change
on this file since 187 was
187,
checked in by bas, 15 years ago
|
New build system for rpm package, thanks to Michel Jouvin
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | Summary: This package contains the pbs python module. |
---|
2 | Name: pbs_python |
---|
3 | Version: %{prodversion} |
---|
4 | Release: %{prodrelease} |
---|
5 | License: See LICENSE |
---|
6 | Group: Development/Libraries |
---|
7 | Source: ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz |
---|
8 | BuildRoot: /var/tmp/%{name}-buildroot |
---|
9 | |
---|
10 | |
---|
11 | %description |
---|
12 | This package contains the pbs python module. |
---|
13 | |
---|
14 | %prep |
---|
15 | %setup -q |
---|
16 | ./configure --with-pbsdir=%{libdir} |
---|
17 | |
---|
18 | %build |
---|
19 | python setup.py build |
---|
20 | |
---|
21 | %install |
---|
22 | echo %{pythonlib} |
---|
23 | echo %{libdir} |
---|
24 | python ./setup.py install --prefix $RPM_BUILD_ROOT/usr ; |
---|
25 | |
---|
26 | %clean |
---|
27 | rm -rf $RPM_BUILD_ROOT |
---|
28 | |
---|
29 | %files |
---|
30 | %defattr(-,root,root,0755) |
---|
31 | %doc README TODO examples |
---|
32 | %{libdir}/%{pythonlib}/site-packages/pbs.pth |
---|
33 | %{libdir}/%{pythonlib}/site-packages/pbs/* |
---|
34 | |
---|
35 | %changelog |
---|
36 | * Tue May 5 2009 Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
37 | - Rework spec file to make it generic with respect to platforms, python version... Intended to be used with Makefile.rpm |
---|
38 | * Sun Mar 9 2008 Michael Sternberg <sternberg@anl.gov> |
---|
39 | - libdir and python defines |
---|
40 | * Wed Nov 23 2005 Ramon Bastiaans <bastiaans@sara.nl> |
---|
41 | - Fixed missing prep setup and added configure |
---|
42 | * Tue Nov 22 2005 Martin Pels <pels@sara.nl> |
---|
43 | - Changed default directory permissions |
---|
44 | * Tue Nov 01 2005 Martin Pels <pels@sara.nl> |
---|
45 | - Initial version |
---|
46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.