gyp-vl.spec 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. %define ver 0.1
  2. %define rel 1
  3. %define svnrev 827
  4. Summary: Generate Your Projects
  5. Name: gyp
  6. Version: %{ver}
  7. Release: %{rel}.svn%{svnrev}%{?_dist_release}
  8. License: New BSD License
  9. Group: Development/Tools
  10. URL: http://code.google.com/p/gyp/
  11. # svn checkout http://gyp.googlecode.com/svn/trunk gyp
  12. Source0: %{name}-%{version}-r%{svnrev}.tar.bz2
  13. Patch0: gyp-0.1-r827-shebang.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  15. BuildArch: noarch
  16. BuildRequires: python-devel
  17. Requires: python
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: iwaim
  21. %description
  22. Generate Your Projects
  23. %prep
  24. %setup -q -n %{name}-%{version}-r%{svnrev}
  25. %patch0 -p 1
  26. %build
  27. %{__python} setup.py build
  28. %install
  29. %{__rm} -rf %{buildroot}
  30. %{__python} setup.py install --root %{buildroot}
  31. %clean
  32. %{__rm} -rf %{buildroot}
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc LICENSE AUTHORS samples tools
  36. %{_bindir}/gyp
  37. %{python_sitelib}/gyp-*.egg-info
  38. %{python_sitelib}/gyp
  39. %changelog
  40. * Fri Jun 4 2010 IWAI, Masaharu <iwai@alib.jp> 0.1-1.svn827
  41. - Initial build.