diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-roundup.spec | 126 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 128 insertions, 0 deletions
@@ -0,0 +1 @@ +/roundup-2.2.0.tar.gz diff --git a/python-roundup.spec b/python-roundup.spec new file mode 100644 index 0000000..ea6a868 --- /dev/null +++ b/python-roundup.spec @@ -0,0 +1,126 @@ +%global _empty_manifest_terminate_build 0 +Name: python-roundup +Version: 2.2.0 +Release: 1 +Summary: A simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. Highly customisable. +License: OSI Approved +URL: https://www.roundup-tracker.org +Source0: https://mirrors.aliyun.com/pypi/web/packages/eb/b9/5519ea34201c5e44c6741cd3a75d4a637dfc8ac82792443c24c3bb9d8e07/roundup-2.2.0.tar.gz +BuildArch: noarch + + +%description +If you're upgrading from an older version of Roundup you *must* follow +all the "Software Upgrade" guidelines given in the doc/upgrading.txt +documentation. +Note that you should run ``roundup-admin ... migrate`` for +all your trackers to update the database schema version. Do +this before you use the web, command-line or mail interface +and before any users access the tracker. +Roundup requires Python 2 newer than version 2.7.2 or Python 3 newer +than or equal to version 3.6 for correct operation. (Python +3.4 or 3.5 may work, but are not tested.) +To give Roundup a try, just download (see below), unpack and run:: + python demo.py +then open the url printed by the demo app. +Release info and download page: + https://pypi.org/project/roundup +Source and documentation is available at the website: + https://roundup-tracker.org/ +Mailing lists - the place to ask questions: + https://sourceforge.net/p/roundup/mailman/ + +%package -n python3-roundup +Summary: A simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. Highly customisable. +Provides: python-roundup +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-roundup +If you're upgrading from an older version of Roundup you *must* follow +all the "Software Upgrade" guidelines given in the doc/upgrading.txt +documentation. +Note that you should run ``roundup-admin ... migrate`` for +all your trackers to update the database schema version. Do +this before you use the web, command-line or mail interface +and before any users access the tracker. +Roundup requires Python 2 newer than version 2.7.2 or Python 3 newer +than or equal to version 3.6 for correct operation. (Python +3.4 or 3.5 may work, but are not tested.) +To give Roundup a try, just download (see below), unpack and run:: + python demo.py +then open the url printed by the demo app. +Release info and download page: + https://pypi.org/project/roundup +Source and documentation is available at the website: + https://roundup-tracker.org/ +Mailing lists - the place to ask questions: + https://sourceforge.net/p/roundup/mailman/ + +%package help +Summary: Development documents and examples for roundup +Provides: python3-roundup-doc +%description help +If you're upgrading from an older version of Roundup you *must* follow +all the "Software Upgrade" guidelines given in the doc/upgrading.txt +documentation. +Note that you should run ``roundup-admin ... migrate`` for +all your trackers to update the database schema version. Do +this before you use the web, command-line or mail interface +and before any users access the tracker. +Roundup requires Python 2 newer than version 2.7.2 or Python 3 newer +than or equal to version 3.6 for correct operation. (Python +3.4 or 3.5 may work, but are not tested.) +To give Roundup a try, just download (see below), unpack and run:: + python demo.py +then open the url printed by the demo app. +Release info and download page: + https://pypi.org/project/roundup +Source and documentation is available at the website: + https://roundup-tracker.org/ +Mailing lists - the place to ask questions: + https://sourceforge.net/p/roundup/mailman/ + +%prep +%autosetup -n roundup-2.2.0 + +%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-roundup -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.0-1 +- Package Spec generated @@ -0,0 +1 @@ +22fcba9a82f37e1c5fa024287722e261 roundup-2.2.0.tar.gz |
