From 2a32669341e10fbde1786d62551c851f6c3bdab6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Apr 2023 04:43:11 +0000 Subject: automatic import of python-tango-capo --- .gitignore | 1 + python-tango-capo.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 89 insertions(+) create mode 100644 python-tango-capo.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..29517ae 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/tango-capo-0.3.2.tar.gz diff --git a/python-tango-capo.spec b/python-tango-capo.spec new file mode 100644 index 0000000..68af570 --- /dev/null +++ b/python-tango-capo.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-tango-capo +Version: 0.3.2 +Release: 1 +Summary: Capo for Django. +License: LICENCE.txt +URL: https://github.com/tBaxter/tango-capo +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/d2/a13102220dd4eea5b86092b72fe7e1f6813711f5550bca3bbd9f2dab00d2/tango-capo-0.3.2.tar.gz +BuildArch: noarch + + +%description +A django implementation of Capo: A very loose framework-y collection of css/javascript and template code I tend to always use. +Includes stickit.js, a jQuery plugin that: +* allows for multiple sticky elements +* allows them be combined with a sticky header +* allows for expanding/collapsing header navigation +* prevents overflow of the sticky element to the header or footer + +%package -n python3-tango-capo +Summary: Capo for Django. +Provides: python-tango-capo +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-tango-capo +A django implementation of Capo: A very loose framework-y collection of css/javascript and template code I tend to always use. +Includes stickit.js, a jQuery plugin that: +* allows for multiple sticky elements +* allows them be combined with a sticky header +* allows for expanding/collapsing header navigation +* prevents overflow of the sticky element to the header or footer + +%package help +Summary: Development documents and examples for tango-capo +Provides: python3-tango-capo-doc +%description help +A django implementation of Capo: A very loose framework-y collection of css/javascript and template code I tend to always use. +Includes stickit.js, a jQuery plugin that: +* allows for multiple sticky elements +* allows them be combined with a sticky header +* allows for expanding/collapsing header navigation +* prevents overflow of the sticky element to the header or footer + +%prep +%autosetup -n tango-capo-0.3.2 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-tango-capo -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot - 0.3.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..2fe9872 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d3692e5c9406717fc9b4e3263c5d6cac tango-capo-0.3.2.tar.gz -- cgit v1.2.3