Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
odpdown
odpdown.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File odpdown.spec of Package odpdown
# spec file for package odpdown # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: odpdown Version: 0.4.1 Release: 0 Summary: Generate OpenDocument Presentation (odp) files from markdown License: BSD-3-Clause Group: Productivity/Publishing/Presentation Url: https://github.com/thorstenb/odpdown.git Source0: https://pypi.python.org/packages/source/o/odpdown/odpdown-%{version}.tar.gz Source1: odpdown.pod BuildRequires: python-devel BuildRequires: python-lpod >= 1.1.6 BuildRequires: python-mistune >= 0.5 BuildRequires: python-setuptools BuildRequires: perl %if 0%{?fedora} || 0%{?centos} || 0%{?rhel} BuildRequires: python-pygments >= 1.6 %else BuildRequires: python-Pygments >= 1.6 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: python-%{name} = %{version} Requires: %{name}-template-blank %description Generate ODP files from markdown. Have a tool like pandoc, latex beamer etc, that you can write (or auto-generate) input for within your favourite hacker's editor, and generate nice-looking slides from. Using your corporation's mandatory, CI-compliant and lovely-artsy Impress template. Including syntax-highlighted code snippets of your latest hack, auto-fitted into the slides. Usage: odpdown -h will tell you. %package -n python-%{name} Summary: Generate ODP files from markdown: Python library Requires: python-lpod >= 1.1.6 Requires: python-mistune >= 0.5 %if 0%{?fedora} || 0%{?centos} || 0%{?rhel} Requires: python-pygments >= 1.6 %else Requires: python-Pygments >= 1.6 %endif %if 0%{?suse_version} # optional runtime dependencies Recommends: python-Pillow >= 2.0 Recommends: python-beautifulsoup %else Requires: python-Pillow >= 2.0 Requires: python-BeautifulSoup %endif %package -n odpdown-template-blank Summary: Blank, unbranded slide template for odpdown %description -n python-%{name} This package contains the Python library behind the odpdown command line utility. %description -n odpdown-template-blank Default slide template for odpdown. This package contains a slide template without any branding. At least one template package must be installed for odpdown-init to work. %prep %setup -q -n odpdown-%{version} %build python setup.py build pod2man -c "User Commands" -r "%{name} %{version}" %{SOURCE1} > odpdown.1 %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -D -m 644 odpdown.1 %{buildroot}/%{_mandir}/man1/odpdown.1 %files %defattr(-,root,root,-) %doc LICENSE CHANGES README.md TODO.md %{_mandir}/man1/odpdown.1%{?ext_man} %{_bindir}/odpdown %files -n python-%{name} %doc LICENSE %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor