[hovercraft] Initial import (#952355)

Ralph Bean ralph at fedoraproject.org
Tue May 21 01:31:21 UTC 2013


commit 66ca787a39e4df6648d65aff48550483bc69869b
Author: Ralph Bean <rbean at redhat.com>
Date:   Mon May 20 21:31:09 2013 -0400

    Initial import (#952355)

 .gitignore      |    1 +
 hovercraft.spec |   80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ef50e80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hovercraft-1.1.zip
diff --git a/hovercraft.spec b/hovercraft.spec
new file mode 100644
index 0000000..f18ee4e
--- /dev/null
+++ b/hovercraft.spec
@@ -0,0 +1,80 @@
+Name:               hovercraft
+Version:            1.1
+Release:            2%{?dist}
+Summary:            Makes impress.js presentations from reStructuredText
+
+Group:              Applications/Publishing
+# Upstream does not include a COPYING file.
+# https://github.com/regebro/hovercraft/issues/25
+License:            CC0 and BSD
+URL:                http://pypi.python.org/pypi/hovercraft
+Source0:            http://pypi.python.org/packages/source/h/%{name}/%{name}-%{version}.zip
+
+BuildArch:          noarch
+
+BuildRequires:      python3-devel
+BuildRequires:      python3-setuptools
+BuildRequires:      python3-docutils
+BuildRequires:      python3-lxml >= 3.1.0
+BuildRequires:      python3-svg-path
+BuildRequires:      python3-pygments
+BuildRequires:      impressjs
+
+Requires:           python3
+Requires:           python3-docutils
+Requires:           python3-lxml >= 3.1.0
+Requires:           python3-svg-path
+Requires:           python3-pygments
+Requires:           impressjs
+
+
+%description
+The merge of convenience and cool!
+
+Hovercraft is a tool to make impress.js presentations from
+reStructuredText.
+
+- Write your presentations in a text markup language. No slow, limiting
+  GUI, no annoying HTML!
+- Pan, rotate and zoom in 3D, with automatic repositioning of slides!
+- A presenter console with notes and slide previews!
+- The slide show generated is in HTML, so you only need a web browser to
+  show it.
+- Easy sharing, as it can be put up on a website for anyone to see!
+
+%prep
+%setup -q -n %{name}-%{version}
+
+# Remove bundled egg-info in case it exists
+rm -rf %{name}.egg-info
+
+%build
+%{__python3} setup.py build
+
+%install
+%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
+
+# Unbundle impress.js
+rm %{buildroot}%{python3_sitelib}/hovercraft/templates/default/js/impress.js
+rm %{buildroot}%{python3_sitelib}/hovercraft/templates/simple/js/impress.js
+ln -s %{_datadir}/impressjs/impress.js \
+    %{buildroot}%{python3_sitelib}/hovercraft/templates/default/js/impress.js
+ln -s %{_datadir}/impressjs/impress.js \
+    %{buildroot}%{python3_sitelib}/hovercraft/templates/simple/js/impress.js
+
+%check
+%{__python3} setup.py test
+
+%files
+%doc README.rst CHANGES.txt PKG-INFO
+%{_bindir}/%{name}
+%{python3_sitelib}/%{name}/
+%{python3_sitelib}/%{name}-%{version}*
+
+%changelog
+* Mon May 20 2013 Ralph Bean <rbean at redhat.com> - 1.1-2
+- Change license field to CC0 and BSD.
+- Added a comment about upstream and COPYING.
+
+* Mon Apr 15 2013 Ralph Bean <rbean at redhat.com> - 1.1-1
+- Initial package for Fedora.
diff --git a/sources b/sources
index e69de29..7dc6fc7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3bb0692caf60d2f794a822cfc2648dff  hovercraft-1.1.zip


More information about the scm-commits mailing list