Revision 1139,
1.0 KB
checked in by iwaim, 14 years ago
(diff) |
gyp: missing dist_release
|
Rev | Line | |
---|
[1138] | 1 | %define ver 0.1 |
---|
| 2 | %define rel 1 |
---|
| 3 | %define svnrev 827 |
---|
| 4 | |
---|
| 5 | Summary: Generate Your Projects |
---|
| 6 | Name: gyp |
---|
| 7 | Version: %{ver} |
---|
[1139] | 8 | Release: %{rel}.svn%{svnrev}%{?_dist_release} |
---|
[1138] | 9 | License: New BSD License |
---|
| 10 | Group: Development/Tools |
---|
| 11 | URL: http://code.google.com/p/gyp/ |
---|
| 12 | # svn checkout http://gyp.googlecode.com/svn/trunk gyp |
---|
| 13 | Source0: %{name}-%{version}-r%{svnrev}.tar.bz2 |
---|
| 14 | Patch0: gyp-0.1-r827-shebang.patch |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
| 16 | BuildArch: noarch |
---|
| 17 | BuildRequires: python-devel |
---|
| 18 | Requires: python |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: iwaim |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Generate Your Projects |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q -n %{name}-%{version}-r%{svnrev} |
---|
| 29 | %patch0 -p 1 |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %{__python} setup.py build |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | %{__rm} -rf %{buildroot} |
---|
| 36 | %{__python} setup.py install --root %{buildroot} |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | %{__rm} -rf %{buildroot} |
---|
| 40 | |
---|
| 41 | %files |
---|
| 42 | %defattr(-,root,root,-) |
---|
| 43 | %doc LICENSE AUTHORS samples tools |
---|
| 44 | %{_bindir}/gyp |
---|
| 45 | %{python_sitelib}/gyp-*.egg-info |
---|
| 46 | %{python_sitelib}/gyp |
---|
| 47 | |
---|
| 48 | %changelog |
---|
| 49 | * Fri Jun 4 2010 IWAI, Masaharu <iwai@alib.jp> 0.1-1.svn827 |
---|
| 50 | - Initial build. |
---|
| 51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.