Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jfita
nodejs-less
nodejs-less.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nodejs-less.spec of Package nodejs-less
# # spec file for package nodejs-less # %define module_name less Name: nodejs-%{module_name} Version: 2.7.3 Release: 0 License: Apache-2.0 Summary: The dynamic stylesheet language Url: https://github.com/less/less.js Group: Development/Languages/Other Source: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz BuildRequires: fdupes BuildRequires: nodejs-packaging BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{?nodejs_requires} %description This is the JavaScript, official, stable version of Less. %prep %setup -q -n package cat << EOF > lessc #!/bin/sh exec node '%{nodejs_modulesdir}/%{module_name}/bin/lessc' "\$%{nil}@" EOF %build %install install -d %{buildroot}%{nodejs_modulesdir}/%{module_name} cp -R package.json *.js lib bin dist %{buildroot}%{nodejs_modulesdir}/%{module_name} install -d %{buildroot}%{_bindir} install -m 755 lessc %{buildroot}%{_bindir} %fdupes %{buildroot}%{nodejs_modulesdir} %files %defattr(-,root,root) %doc CHANGELOG.md CONTRIBUTING.md LICENSE README.md %dir %{nodejs_modulesdir} %{_bindir}/lessc %{nodejs_modulesdir}/%{module_name} %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