diff options
| -rw-r--r-- | debian/README.source | 16 | ||||
| -rw-r--r-- | debian/changelog | 11 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 52 | ||||
| -rw-r--r-- | debian/copyright | 98 | ||||
| -rw-r--r-- | debian/man/nikola.rst | 41 | ||||
| -rw-r--r-- | debian/man/nikola_check.rst | 34 | ||||
| -rw-r--r-- | debian/man/nikola_import_wordpress.rst | 34 | ||||
| -rw-r--r-- | debian/nikola.1 | 58 | ||||
| -rw-r--r-- | debian/nikola.doc-base | 9 | ||||
| -rw-r--r-- | debian/nikola.docs | 1 | ||||
| -rw-r--r-- | debian/nikola.links | 11 | ||||
| -rw-r--r-- | debian/nikola.manpages | 3 | ||||
| -rw-r--r-- | debian/nikola_check.1 | 50 | ||||
| -rw-r--r-- | debian/nikola_import_wordpress.1 | 50 | ||||
| -rwxr-xr-x | debian/rules | 44 | ||||
| -rw-r--r-- | debian/source/format | 1 |
17 files changed, 514 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..192b586 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,16 @@ +Repackaging upstream source +=========================== + +nikola's original upstream source has been repackage to exclude DFSG-compliant +components (minified JavaScript and Stylesheets) from it: + +$ diff -ruN nikola-4.0.3-old/ nikola-4.0.3/ | diffstat + css/bootstrap-responsive.min.css | 9 --------- + css/bootstrap.min.css | 9 --------- + js/bootstrap.min.js | 6 ------ + js/jquery-1.7.2.min.js | 4 ---- + js/jquery.colorbox-min.js | 4 ---- + 5 files changed, 32 deletions(-) + + + -- Ulises Vitulli <dererk@debian.org> Thu, 15 Nov 2012 11:23:07 -0300 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0bcfa52 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +nikola (4.0.3-2) unstable; urgency=low + + * Fix broken symlinks not being included on the repkg source. + + -- Agustin Henze <tin@sluc.org.ar> Mon, 19 Nov 2012 20:34:44 -0300 + +nikola (4.0.3-1) unstable; urgency=low + + * Initial release (Closes: #690159). + + -- Agustin Henze <tin@sluc.org.ar> Wed, 09 Oct 2012 18:10:41 -0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8ad24fd --- /dev/null +++ b/debian/control @@ -0,0 +1,52 @@ +Source: nikola +Section: python +Priority: optional +Maintainer: Agustin Henze <tin@sluc.org.ar> +Uploaders: Ulises Vitulli <dererk@debian.org> +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: python-all, + python-support (>= 1), + python-setuptools, + python-docutils, +Standards-Version: 3.9.3 +X-Python-Version: >= 2.7 +Homepage: http://nikola.ralsina.com.ar/ + +Package: nikola +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, + python-doit, + python-pygments, + python-imaging, + python-docutils, + python-mako, + python-unidecode, + python-lxml, + python-yapsy, + python-pyrss2gen, + libjs-jquery, + libjs-jquery-colorbox, + libjs-twitter-bootstrap, +Recommends: python-webassets +Suggests: python-jinja2 +Description: simple yet powerful and flexible static website and blog generator + Nikola is a static site and blog generator. Feed information to it on one + side and get a ready-to-deploy website on the other. + . + Nikola goodies on generating static pages are, between others, that: + * Static websites are safer, no database nor dynamic code interpreter needed + * They use fewer resources + * You avoid vendor and platform lockin. + . + Between some of Nikola's features you may find: + * Blog generator, including tags, feeds, archives, comments, etc. + * Theme support + * Fast building process, thanks to doit + * Easy Image Gallery, just drop files in a folder! + * reStructuredText or Markdown as Input languages + * Flexible design + * Small codebase. + * Syntax highlighting for almost any programming language or markup + * Multi-language sites + * Small, since based on leverages existing tools + * Between others diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8d55e1f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,98 @@ +Files: nikola/data/themes/default/assets/js/jquery.colorbox-min.js +Copyright: (c) 2011 Jack Moore - jacklmoore.com +License: MIT/X11 + +Files: nikola/data/themes/default/assets/js/jquery-1.7.2.min.js +License: MIT/X11 + +License: MIT/X11 + 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. + +Files: nikola/data/themes/default/assets/js/bootstrap.min.js, + nikola/data/themes/default/assets/js/bootstrap.js, + nikola/data/themes/default/assets/css/bootstrap.css, + nikola/data/themes/default/assets/css/bootstrap-responsive.css, + nikola/data/themes/default/assets/css/bootstrap.min.css, + nikola/data/themes/default/assets/css/bootstrap-responsive.min.css +Copyright: 2012 Twitter, Inc. +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + On Debian systems, the complete text of the Apache-2.0 + License can be found in `/usr/share/common-licenses/Apache-2.0'. + +Files: nikola/sitemap_gen.py +Copyright: (c) 2004-2005 Google Inc. +License: BSD + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of pysolr nor the names of its contributors may be used + to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: * +Copyright: (c) 2012, Roberto alsina <http://ralsina.com.ar> +License: GPL-3 + +Files: debian/* +Copyright: (C) 2012 Agustin Henze <tin@sluc.org.ar> +License: GPL-3 + +License: GPL-3 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/man/nikola.rst b/debian/man/nikola.rst new file mode 100644 index 0000000..3e64024 --- /dev/null +++ b/debian/man/nikola.rst @@ -0,0 +1,41 @@ +====== +nikola +====== + +----------------------------------- +Is a static Site and Blog Generator +----------------------------------- + +:Manual section: 1 +:Manual group: nikola + +SYNOPSIS +======== + +**nikola** command [*options*] + + +DESCRIPTION +=========== + +nikola + Is a static Site and Blog Generator. + + +OPTIONS +======= + +To create a new site in a folder, run "nikola init foldername [src]". + +The destination folder must not exist. + +If you pass the src argument, that folder will be used as a template for +the new site instead of Nikola's sample site. + +AUTHOR +====== + +Roberto Alsina <http://ralsina.com.ar/> + +This manpage was initially written by Agustin Henze +<tin@sluc.org.ar> for the Debian Project. diff --git a/debian/man/nikola_check.rst b/debian/man/nikola_check.rst new file mode 100644 index 0000000..6b2f6d3 --- /dev/null +++ b/debian/man/nikola_check.rst @@ -0,0 +1,34 @@ +============ +nikola_check +============ + +----------------------------------------------- +Check if you have broken links or missing files +----------------------------------------------- + +:Manual section: 1 +:Manual group: nikola + +SYNOPSIS +======== + +**nikola_check** [--check-links [--find-sources]] [--check-files] + + +DESCRIPTION +=========== + +Check if you have broken links or missing files. + +SEE ALSO +======== + +nikola(1) + +AUTHOR +====== + +Roberto Alsina <http://ralsina.com.ar/> + +This manpage was initially written by Agustin Henze +<tin@sluc.org.ar> for the Debian Project. diff --git a/debian/man/nikola_import_wordpress.rst b/debian/man/nikola_import_wordpress.rst new file mode 100644 index 0000000..7ba419c --- /dev/null +++ b/debian/man/nikola_import_wordpress.rst @@ -0,0 +1,34 @@ +======================= +nikola_import_wordpress +======================= + +-------------------------------- +Import your posts from wordpress +-------------------------------- + +:Manual section: 1 +:Manual group: nikola + +SYNOPSIS +======== + +**nikola_import_wordpress** url + + +DESCRIPTION +=========== + +Import your posts from wordpress. + +SEE ALSO +======== + +nikola(1) + +AUTHOR +====== + +Roberto Alsina <http://ralsina.com.ar/> + +This manpage was initially written by Agustin Henze +<tin@sluc.org.ar> for the Debian Project. diff --git a/debian/nikola.1 b/debian/nikola.1 new file mode 100644 index 0000000..6a8e849 --- /dev/null +++ b/debian/nikola.1 @@ -0,0 +1,58 @@ +.\" Man page generated from reStructeredText. +. +.TH NIKOLA 1 "" "" "nikola" +.SH NAME +nikola \- Is a static Site and Blog Generator +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SH SYNOPSIS +.sp +\fBnikola\fP command [\fIoptions\fP] +.SH DESCRIPTION +.INDENT 0.0 +.TP +.B nikola +Is a static Site and Blog Generator. +.UNINDENT +.SH OPTIONS +.sp +To create a new site in a folder, run "nikola init foldername [src]". +.sp +The destination folder must not exist. +.sp +If you pass the src argument, that folder will be used as a template for +the new site instead of Nikola\(aqs sample site. +.SH AUTHOR +.sp +Roberto Alsina <\fI\%http://ralsina.com.ar/\fP> +.sp +This manpage was initially written by Agustin Henze +<\fI\%tin@sluc.org.ar\fP> for the Debian Project. +.\" Generated by docutils manpage writer. +.\" +. diff --git a/debian/nikola.doc-base b/debian/nikola.doc-base new file mode 100644 index 0000000..b5a9992 --- /dev/null +++ b/debian/nikola.doc-base @@ -0,0 +1,9 @@ +Document: nikola-reference-manual +Title: Nikola User Manual +Author: Roberto Alsina +Abstract: Static Site and Blog Generator +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/nikola/manual.html +Files: /usr/share/doc/nikola/*.html diff --git a/debian/nikola.docs b/debian/nikola.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/nikola.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/nikola.links b/debian/nikola.links new file mode 100644 index 0000000..704e283 --- /dev/null +++ b/debian/nikola.links @@ -0,0 +1,11 @@ +/usr/share/javascript/jquery-colorbox/jquery.colorbox-min.js usr/share/pyshared/nikola/data/themes/default/assets/js/jquery.colorbox-min.js +/usr/share/pyshared/nikola/data/themes/default/assets/js/jquery.colorbox-min.js usr/lib/python2.7/dist-packages/nikola/data/themes/default/assets/js/jquery.colorbox-min.js +/usr/share/javascript/jquery/jquery.js usr/share/pyshared/nikola/data/themes/default/assets/js/jquery-1.7.2.min.js +/usr/share/pyshared/nikola/data/themes/default/assets/js/jquery-1.7.2.min.js usr/lib/python2.7/dist-packages/nikola/data/themes/default/assets/js/jquery-1.7.2.min.js +/usr/share/twitter-bootstrap/files/js/bootstrap.js usr/share/pyshared/nikola/data/themes/default/assets/js/bootstrap.js +/usr/share/twitter-bootstrap/files/js/bootstrap.min.js usr/share/pyshared/nikola/data/themes/default/assets/js/bootstrap.min.js +/usr/share/pyshared/nikola/data/themes/default/assets/js/bootstrap.min.js usr/share/pyshared/nikola/data/themes/default/assets/js/bootstrap.min.js +/usr/share/twitter-bootstrap/files/css/bootstrap-responsive.css usr/share/pyshared/nikola/data/themes/default/assets/css/bootstrap-responsive.css +/usr/share/twitter-bootstrap/files/css/bootstrap-responsive.min.css usr/share/pyshared/nikola/data/themes/default/assets/css/bootstrap-responsive.min.css +/usr/share/twitter-bootstrap/files/css/bootstrap.css usr/share/pyshared/nikola/data/themes/default/assets/css/bootstrap.css +/usr/share/twitter-bootstrap/files/css/bootstrap.min.css usr/share/pyshared/nikola/data/themes/default/assets/css/bootstrap.min.css diff --git a/debian/nikola.manpages b/debian/nikola.manpages new file mode 100644 index 0000000..85e8e6d --- /dev/null +++ b/debian/nikola.manpages @@ -0,0 +1,3 @@ +debian/nikola.1 +debian/nikola_check.1 +debian/nikola_import_wordpress.1 diff --git a/debian/nikola_check.1 b/debian/nikola_check.1 new file mode 100644 index 0000000..76ce3f3 --- /dev/null +++ b/debian/nikola_check.1 @@ -0,0 +1,50 @@ +.\" Man page generated from reStructeredText. +. +.TH NIKOLA_CHECK 1 "" "" "nikola" +.SH NAME +nikola_check \- Check if you have broken links or missing files +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SH SYNOPSIS +.sp +\fBnikola_check\fP [\-\-check\-links [\-\-find\-sources]] [\-\-check\-files] +.SH DESCRIPTION +.sp +Check if you have broken links or missing files. +.SH SEE ALSO +.sp +nikola(1) +.SH AUTHOR +.sp +Roberto Alsina <\fI\%http://ralsina.com.ar/\fP> +.sp +This manpage was initially written by Agustin Henze +<\fI\%tin@sluc.org.ar\fP> for the Debian Project. +.\" Generated by docutils manpage writer. +.\" +. diff --git a/debian/nikola_import_wordpress.1 b/debian/nikola_import_wordpress.1 new file mode 100644 index 0000000..ca069d5 --- /dev/null +++ b/debian/nikola_import_wordpress.1 @@ -0,0 +1,50 @@ +.\" Man page generated from reStructeredText. +. +.TH NIKOLA_IMPORT_WORDPRESS 1 "" "" "nikola" +.SH NAME +nikola_import_wordpress \- Import your posts from wordpress +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SH SYNOPSIS +.sp +\fBnikola_import_wordpress\fP url +.SH DESCRIPTION +.sp +Import your posts from wordpress. +.SH SEE ALSO +.sp +nikola(1) +.SH AUTHOR +.sp +Roberto Alsina <\fI\%http://ralsina.com.ar/\fP> +.sp +This manpage was initially written by Agustin Henze +<\fI\%tin@sluc.org.ar\fP> for the Debian Project. +.\" Generated by docutils manpage writer. +.\" +. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e367bde --- /dev/null +++ b/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYVERS := python2.7 + +%: + dh $@ --with python2 + +override_dh_auto_build: + +override_dh_auto_clean: + dh_auto_clean -- --all + rm -rf build + +override_dh_auto_install: + dh_auto_install + set -ex; \ + for py in $(PYVERS); do \ + $$py setup.py install --root debian/nikola \ + --install-layout=deb; \ + done + # Documentation + mkdir -p debian/nikola/usr/share/doc/nikola; \ + rst2html docs/manual.txt debian/nikola/usr/share/doc/nikola/manual.html; \ + rst2html docs/theming.txt debian/nikola/usr/share/doc/nikola/theming.html; + # Manpage + rm debian/nikola/usr/*.txt + rst2man debian/man/nikola.rst debian/nikola.1 + rst2man debian/man/nikola_check.rst debian/nikola_check.1 + rst2man debian/man/nikola_import_wordpress.rst debian/nikola_import_wordpress.1 + # Remove embedded code from other software pieces + # PyRSS2Gen, provided by python-pyrss2gen on runtime-dep + rm debian/nikola/usr/lib/python2.7/dist-packages/nikola/PyRSS2Gen.py + +override_dh_link: + # Remove embedded code from other software pieces + # Bootstrap, provided by libjs-twitter-bootstrap on runtime-dep + rm debian/nikola/usr/share/pyshared/nikola/data/themes/default/assets/js/bootstrap.js + rm debian/nikola/usr/share/pyshared/nikola/data/themes/default/assets/css/bootstrap-responsive.css + rm debian/nikola/usr/share/pyshared/nikola/data/themes/default/assets/css/bootstrap.css + dh_link diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) |
