source: trunk/pbs_python.spec @ 187

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 
1Summary: This package contains the pbs python module.
2Name: pbs_python
3Version: %{prodversion}
4Release: %{prodrelease}
5License: See LICENSE
6Group: Development/Libraries
7Source: ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz
8BuildRoot: /var/tmp/%{name}-buildroot
9
10
11%description
12This package contains the pbs python module.
13
14%prep
15%setup -q
16./configure --with-pbsdir=%{libdir}
17
18%build
19python setup.py build
20
21%install
22echo %{pythonlib}
23echo %{libdir}
24python ./setup.py install --prefix $RPM_BUILD_ROOT/usr ;
25
26%clean
27rm -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.