Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37532686
en ru br
ALT Linux repositórios
S:3.10.3-alt1

Group :: Development/Tools
RPM: lessjs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define node_module lessjs

Name: lessjs
Version: 3.10.3
Release: alt1

Summary: Less.js The dynamic stylesheet language

# cssmin.js is licensed under BSD license

# everything else is ASL 2.0
License: ASL 2.0 and BSD

Group: Development/Tools
Url: http://lesscss.org

BuildArch: noarch

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/less/less.js/archive/v%version.tar.gz

Source: %name-%version.tar

Source1: %name-production-%version.tar

# Use /usr/share paths instead of /usr/lib

# Remove pre-built files from the dist/ directory

BuildRequires: rpm-macros-nodejs

#BuildRequires: node

Requires: node

%description
LESS extends CSS with dynamic behavior such as variables, mixins,
operations and functions. LESS runs on both the client-side (Chrome,
Safari, Firefox) and server-side, with Node.js and Rhino.

%prep
%setup -a 1

%build
# Nothing to be built, we're just carrying around flat files

# TODO

#check
#make_build test
chmod a+rx bin/lessc

%install
mkdir -p %buildroot%_bindir
ln -sr %buildroot%nodejs_sitelib/%node_module/bin/lessc %buildroot%_bindir/lessc
mkdir -p %buildroot%nodejs_sitelib/%node_module/
cp -a * %buildroot/%nodejs_sitelib/%node_module/
#rm -rf %buildroot/%nodejs_sitelib/%node_module/docs/

%files
%doc LICENSE README.md
%_bindir/lessc
%nodejs_sitelib/%node_module/

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009