Advertisement
Guest User

Basilevs

a guest
Feb 15th, 2010
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. %define name ZSI
  2. %define version 2.1_a1
  3. %define unmangled_version 2.1_a1
  4. %define release py25
  5.  
  6. Summary: Zolera SOAP Infrastructure
  7. Name: %{name}
  8. Version: %{version}
  9. Release: %{release}
  10. Source0: %{name}-%{unmangled_version}.tar.gz
  11. License: Python
  12. Group: Development/Libraries
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  14. Prefix: %{_prefix}
  15. BuildArch: noarch
  16. Vendor: Rich Salz, et al <pywebsvcs-talk@lists.sf.net>
  17. Requires: python25
  18. Url: http://pywebsvcs.sf.net/
  19.  
  20. %description
  21. For additional information, please see http://pywebsvcs.sf.net/
  22.  
  23. %prep
  24. %setup -n %{name}-%{unmangled_version}
  25.  
  26. %build
  27. /usr/bin/python2.5 setup.py build
  28.  
  29. %install
  30. /usr/bin/python2.5 setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
  31.  
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34.  
  35. %files -f INSTALLED_FILES
  36. %defattr(-,root,root)
  37. %doc README
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement