gyp-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. %define ver 0.1
  2. %define rel 3
  3. %define svnrev 1569
  4. Summary: Generate Your Projects
  5. Name: gyp
  6. Version: %{ver}
  7. Release: %{rel}.svn%{svnrev}%{?_dist_release}
  8. License: BSD
  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}-svn%{svnrev}.tar.bz2
  13. Patch0: gyp-rpmoptflags.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. GYP is a tool to generates native Visual Studio, Xcode and SCons
  23. and/or make build files from a platform-independent input format.
  24. Its syntax is a universal cross-platform build representation
  25. that still allows sufficient per-platform flexibility to accommodate
  26. irreconcilable differences.
  27. %prep
  28. %setup -q -c -n %{name}-%{version}-svn%{svnrev}
  29. %patch0 -p1 -b .0-rpmoptflags
  30. %build
  31. %{__python} setup.py build
  32. %install
  33. %{__rm} -rf %{buildroot}
  34. %{__python} setup.py install --root %{buildroot}
  35. %clean
  36. %{__rm} -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc LICENSE AUTHORS samples tools
  40. %{_bindir}/gyp
  41. %{python_sitelib}/gyp-*.egg-info
  42. %{python_sitelib}/gyp
  43. %changelog
  44. * Fri Mar 22 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.46-1
  45. - update to svn r1569
  46. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-2.svn827
  47. - rebuild with python-2.7.2
  48. * Fri Jun 4 2010 IWAI, Masaharu <iwai@alib.jp> 0.1-1.svn827
  49. - Initial build.