Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
gyp.7809
gyp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gyp.spec of Package gyp.7809
# # spec file for package gyp # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX Products GmbH, Nurenberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define version_unconverted 0+git.20160413 Name: gyp Version: 0+git.20160413 Release: 0 Summary: Generate Your Projects License: BSD-3-Clause Group: Development/Tools/Building Url: https://gyp.gsrc.io Source: %{name}-%{version}.tar.xz Patch0: gyp-rpmoptflags.patch BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-setuptools BuildArch: noarch %description GYP is a tool to generates native Visual Studio, Xcode and SCons and/or make build files from a platform-independent input format. Its syntax is a universal cross-platform build representation that still allows sufficient per-platform flexibility to accommodate irreconcilable differences %prep %setup -q %patch0 for i in $(find pylib -name '*.py'); do sed -e '\,#![ \t]*/.*python,{d}' $i > $i.new && touch -r $i $i.new && mv $i.new $i done sed -i '/^#!/d' ./pylib/%{name}/*.py sed -i '/^#!/d' ./pylib/%{name}/generator/*.py %build python setup.py build %install python setup.py install --root %{buildroot} --prefix=%{_prefix} %fdupes -s %{buildroot}%{python_sitelib} %files %defattr(-,root,root,-) %doc AUTHORS LICENSE %{_bindir}/%{name} %{python_sitelib}/%{name} %{python_sitelib}/%{name}-*-py%{py_ver}.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor