File trac-plugin-collapsible.spec of Package trac-plugin-collapsible
#
# spec file for package trac-plugin-collapsible
#
# Copyright (c) 2023 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 revision 18570
Name: trac-plugin-collapsible
Version: 0.6
Release: 0
License: Apache-2.0
Group: Development/Tools/Other
URL: https://trac-hacks.org/wiki/CollapsiblePlugin
Source: collapsible-r%{revision}.tar.bz2
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools >= 0.6c8
Requires: python3-setuptools
Requires: trac
Summary: Trac plugin to embed foldable structures in wiki pages
%description
This plugin allows you to embed foldable structures in wiki pages, in the
style of the Trac ticket attachments foldable structure. The plugin utilizes
two macros: one to denote the start of a foldable structure, and one to
denote the end of the structure. Foldable text supports WikiFormatting
and nested folds, so long as spacing is accomplished by the former.
%prep
%setup -qn collapsible
%build
python3 setup.py build
%install
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
%files
%{python3_sitelib}/*
%changelog