Changeset 187 for trunk/pbs_python.spec


Ignore:
Timestamp:
05/06/09 13:55:39 (15 years ago)
Author:
bas
Message:

New build system for rpm package, thanks to Michel Jouvin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_python.spec

    r184 r187  
    11Summary: This package contains the pbs python module.
    22Name: pbs_python
    3 Version: 3.0.1
    4 Release: 2anl
     3Version: %{prodversion}
     4Release: %{prodrelease}
    55License: See LICENSE
    66Group: Development/Libraries
     
    88BuildRoot: /var/tmp/%{name}-buildroot
    99
    10 %define libdir /usr/lib
    11 %define python python2.4
    1210
    1311%description
     
    2220
    2321%install
     22echo %{pythonlib}
     23echo %{libdir}
    2424python ./setup.py install --prefix $RPM_BUILD_ROOT/usr ;
    2525
     
    3030%defattr(-,root,root,0755)
    3131%doc README TODO examples
    32 %{libdir}/%{python}/site-packages/pbs.pth
    33 %{libdir}/%{python}/site-packages/pbs/*
     32%{libdir}/%{pythonlib}/site-packages/pbs.pth
     33%{libdir}/%{pythonlib}/site-packages/pbs/*
    3434
    3535%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
    3638* Sun Mar  9 2008 Michael Sternberg <sternberg@anl.gov>
    3739- libdir and python defines
Note: See TracChangeset for help on using the changeset viewer.