Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-sigal
python-sigal.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-sigal.spec of Package python-sigal
# # spec file for package python-sigal # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define skip_python2 1 Name: python-sigal Version: 2.3 Release: 0 Summary: Static gallery generator License: MIT Group: Development/Languages/Python URL: https://github.com/saimn/sigal Source: https://files.pythonhosted.org/packages/source/s/sigal/sigal-%{version}.tar.gz BuildRequires: %{python_module Brotli} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Markdown} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module blinker} BuildRequires: %{python_module click} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module feedgenerator} BuildRequires: %{python_module natsort} BuildRequires: %{python_module pilkit} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module zopfli} BuildRequires: fdupes BuildRequires: ffmpeg BuildRequires: python-rpm-macros Requires: python-Jinja2 Requires: python-Markdown Requires: python-Pillow Requires: python-blinker Requires: python-click Requires: python-natsort Requires: python-pilkit Requires(post): update-alternatives Requires(postun):update-alternatives Suggests: python-boto Suggests: python-Brotli Suggests: python-zopfli Suggests: python-cryptography Suggests: python-feedgenerator BuildArch: noarch %python_subpackages %description Sigal is a static gallery generator written in Python with the following features: * Generates HTML pages using jinja2 templates. * Emits relative links for a portable output. * Supports themes, videos, EXIF tags, and ZIP downloading. * Processes directories recursively and files in parallel. The idea behind Sigal is to ease the use of the JavaScript libraries like galleria_. These libraries display the images, Sigal on the other hand does image resizing, thumbnail creation and HTML page generation. %prep %autosetup -p1 -n sigal-%{version} sed -i '1{/env python/d}' sigal/plugins/encrypt/endec.py %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/sigal %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest tests -k "not (test_generate_video_fit_height or test_generate_video_fit_width or test_generate_video_dont_enlarge)" %post %python_install_alternative sigal %postun %python_uninstall_alternative sigal %files %{python_files} %license LICENSE %doc AUTHORS README.rst %python_alternative %{_bindir}/sigal %{python_sitelib}/sigal %{python_sitelib}/sigal-%{version}*-info %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