debian/0000755000000000000000000000000012035761472007175 5ustar debian/install0000644000000000000000000000025312035761472010566 0ustar feature-detects/ /usr/share/javascript/modernizr/ feature-detects*.js /usr/share/javascript/modernizr/ modernizr*.js /usr/share/javascript/modernizr/ debian/rules0000755000000000000000000000156412035761472010263 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifndef UPVER UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1 | cut -d+ -f1) endif DEBVER := $(UPVER)+ds1 %: dh $@ override_dh_auto_build: cat feature-detects/*.js > feature-detects.js uglifyjs -o modernizr.min.js modernizr.js # Drop copyright from minified version since it would get #+only the first stanza. uglifyjs -nc -o feature-detects.min.js feature-detects.js get-orig-source: uscan \ --verbose \ --force-download \ --download-version $(UPVER) \ --rename \ --repack \ --destdir . tar xf modernizr_$(UPVER).orig.tar.gz rm -vrf Modernizr-Modernizr-*/test/ tar cf modernizr_$(DEBVER).orig.tar Modernizr-Modernizr-*/ gzip -9 modernizr_$(DEBVER).orig.tar rm -rf modernizr_$(UPVER).orig.tar.gz Modernizr-Modernizr-*/ debian/docs0000644000000000000000000000001212035761472010041 0ustar readme.md debian/watch0000644000000000000000000000016612035761472010231 0ustar version=3 opts=dversionmangle=s/\+ds\d// \ http://githubredir.debian.net/github/Modernizr/Modernizr/v(\d+.*)\.tar\.gz debian/control0000644000000000000000000000210112035761472010572 0ustar Source: modernizr Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: David Paleino Build-Depends: debhelper (>= 9~) , node-uglify Standards-Version: 3.9.4 Homepage: http://modernizr.com/ Vcs-Git: git://git.debian.org/pkg-javascript/modernizr.git Vcs-Browser: http://git.debian.org/?p=pkg-javascript/modernizr.git;a=summary Package: libjs-modernizr Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: JavaScript library to detect HTML5 and CSS3 features in the user's browser Modernizr is a JavaScript library allowing you to use HTML5 & CSS3 while maintaining control over unsupported browsers. . Modernizr tests which native CSS3 and HTML5 features are available in the current user agent and makes the results available to you in two ways, as properties on a global `Modernizr` object, and as classes on the `` element. This information allows you to progressively enhance your pages with a granular level of control over the experience. debian/changelog0000644000000000000000000000021212035761472011042 0ustar modernizr (2.6.2+ds1-1) unstable; urgency=low * Initial release -- David Paleino Fri, 12 Oct 2012 10:54:27 +0200 debian/copyright0000644000000000000000000000315612035761472011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Modernizr Source: https://github.com/Modernizr/Modernizr Files: * Copyright: © 2009-2012, Faruk Ates © 2009-2012, Paul Irish © 2009-2012, Alex Sexton License: MIT X-Comment: despite the code and readme.md saying the code is dual licensed under BSD and MIT, the page on the upstream website they point to (http://modernizr.com/license/) only lists MIT, so I assume the code is really only licensed under MIT. Files: debian/* Copyright: © 2012, David Paleino License: MIT License: MIT 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/source/0000755000000000000000000000000012035761472010475 5ustar debian/source/format0000644000000000000000000000001412035761472011703 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000004512035761472010201 0ustar modernizr.min.js feature-detects*.js debian/README.source0000644000000000000000000000033612035761472011356 0ustar modernizr for Debian -------------------- The source package has been repacked to drop the test/ directory, which contained third-party software. -- David Paleino Fri, 12 Oct 2012 11:20:40 +0200 debian/compat0000644000000000000000000000000212035761472010373 0ustar 8