debian/0000755000000000000000000000000012173003227007163 5ustar debian/node-clean-css.links0000644000000000000000000000010312150220575013014 0ustar usr/lib/nodejs/clean-css/clean.js usr/lib/nodejs/clean-css/index.jsdebian/cleancss.install0000644000000000000000000000002512150402705012342 0ustar bin/cleancss usr/bin/debian/control0000644000000000000000000000233012150402225010560 0ustar Source: node-clean-css Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Mike Gabriel , Build-Depends: debhelper (>= 8.0.0), dh-buildinfo, Standards-Version: 3.9.4 Homepage: https://github.com/GoalSmashers/clean-css Vcs-Git: git://git.debian.org/collab-maint/node-clean-css.git Vcs-Browser: http://git.debian.org/?p=collab-maint/node-clean-css.git Package: node-clean-css Architecture: all Depends: ${misc:Depends}, nodejs (>= 0.6.19~dfsg1-3~), node-commander (>= 1.1.0), Description: Node.js module for minifying CSS files Clean-css is a Node.js module for minifying CSS files. It does the same job as YUI Compressor's CSS minifier, but much faster thanks to many speed optimizations and Node.js' V8 engine. Package: cleancss Architecture: all Depends: ${misc:Depends}, node-clean-css (= ${binary:Version}), Description: Tool for minifying CSS files Clean-css is a Node.js module for minifying CSS files. It does the same job as YUI Compressor's CSS minifier, but much faster thanks to many speed optimizations and Node.js' V8 engine. . The cleancss tool is a reference implementation for the Clean-css Node.js module. debian/node-clean-css.install0000644000000000000000000000004012150402047013336 0ustar lib/* usr/lib/nodejs/clean-css/ debian/copyright0000644000000000000000000000262512150222471011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: clean-css Upstream-Contact: Jakub Pawlowicz Source: https://github.com/GoalSmashers/clean-css Files: * Copyright: 2011-2013, GoalSmashers.com License: Expat Files: debian/* Copyright: 2013, Mike Gabriel License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000026112150220071010233 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_installchangelogs: dh_installchangelogs History.mddebian/cleancss.10000644000000000000000000000326412150377462011057 0ustar '\" -*- coding: utf-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH cleancss 1 "May 2013" "Version 0.1.0.x" "Node.js CSS cleaner" .SH NAME cleancss \- CSS file minifyer .SH SYNOPSIS 'nh .fi .ad l \fBcleancss\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu \fI[options] \fR 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBcleancss\fR is a tool written in Javascript (Node.js) for minifying CSS files. The minified file will be written to stdout or to a given output file. .PP .SH OPTIONS \fBcleancss\fR accepts the following common options: .TP \*(T<\fB\-h, \-\-help\fR\*(T> Output usage information .TP \*(T<\fB\-v, \-\-version\fR\*(T> Output the version number .TP \*(T<\fB\-e, \-\-remove\-empty\fR\*(T> Remove empty declarations (e.g. a{}) .TP \*(T<\fB\-b, \-\-keep\-line\-breaks\fR\*(T> Keep line breaks .TP \*(T<\fB\-\-s0\fR\*(T> Remove all special comments (i.e. /*! special comment */) .TP \*(T<\fB\-\-s1\fR\*(T> Remove all special comments but the first one \*(T<\fB\-r, \-\-root\-path [root\-path]\fR\*(T> Set a root path to which resolve absolute @import rules \*(T<\fB\-o, \-\-output [output\-file]\fR\*(T> Use [output\-file] as output instead of stdout .SH EXAMPLES $ cleancss one.css .PP $ cleancss \-o one\-min.css one.css .PP $ cat one.css two.css three.css | cleancss \-o merged\-and\-minified.css .PP $ cat one.css two.css three.css | cleancss | \ \\ gzip \-9 \-c > merged\-minified\-and\-gzipped.css.gz .SH "SEE ALSO" \fB/usr/share/doc/node\-clean\-css\fR .SH AUTHOR This manual has been written for the Debian project by Mike Gabriel and may be used by others. debian/watch0000644000000000000000000000024412150217735010222 0ustar version=3 opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-clean-css-$1.tar.gz/ \ https://github.com/GoalSmashers/clean-css/tags .*/archive/v?([\d\.]+).tar.gz debian/patches/0000755000000000000000000000000012150372437010621 5ustar debian/patches/001_fix-node-shebangs.patch0000644000000000000000000000037312150367453015530 0ustar Description: fix node -> nodejs shebangs Author: Mike Gabriel --- a/bin/cleancss +++ b/bin/cleancss @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs var util = require('util'); var fs = require('fs'); debian/patches/series0000644000000000000000000000007312150370053012026 0ustar 001_fix-node-shebangs.patch 002_load-global-cleancss.patch debian/patches/002_load-global-cleancss.patch0000644000000000000000000000124012150372437016166 0ustar Description: Load system-wide installed clean-css module Author: Mike Gabriel --- a/bin/cleancss +++ b/bin/cleancss @@ -3,11 +3,11 @@ var util = require('util'); var fs = require('fs'); var path = require('path'); -var CleanCSS = require('../index'); +var CleanCSS = require('clean-css'); var commands = require('commander'); -var packageConfig = fs.readFileSync(path.join(path.dirname(fs.realpathSync(process.argv[1])), '../package.json')); +var packageConfig = fs.readFileSync('/usr/share/doc/node-clean-css/package.json'); var buildVersion = JSON.parse(packageConfig).version; var isWindows = process.platform == 'win32'; debian/changelog0000644000000000000000000000047012173003227011036 0ustar node-clean-css (1.0.12-1) unstable; urgency=low * New upstream release. -- Mike Gabriel Sun, 21 Jul 2013 18:04:36 +0200 node-clean-css (1.0.4-1) unstable; urgency=low * Initial release. (Closes: #709834). -- Mike Gabriel Sun, 26 May 2013 14:55:21 +0200 debian/compat0000644000000000000000000000000212142142326010361 0ustar 8 debian/node-clean-css.docs0000644000000000000000000000004312150370642012630 0ustar README.md package.json test bench debian/source/0000755000000000000000000000000012142142326010463 5ustar debian/source/format0000644000000000000000000000001412142142326011671 0ustar 3.0 (quilt) debian/cleancss.manpages0000644000000000000000000000002112150377306012473 0ustar debian/cleancss.1debian/cleancss.links0000644000000000000000000000011612150403037012014 0ustar usr/share/doc/node-clean-css/README.md.gz usr/share/doc/cleancss/README.md.gz debian/cleancss.lintian-overrides0000644000000000000000000000023412150401305014327 0ustar # cleancss is a Javascript script using Node.js, so nodejs as interpreter is # quite normal here... cleancss: unusual-interpreter usr/bin/cleancss #!nodejs