diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-conan-sword-and-sorcery.spec | 111 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 113 insertions, 0 deletions
@@ -0,0 +1 @@ +/conan_sword_and_sorcery-0.0.dev134.tar.gz diff --git a/python-conan-sword-and-sorcery.spec b/python-conan-sword-and-sorcery.spec new file mode 100644 index 0000000..9fc2399 --- /dev/null +++ b/python-conan-sword-and-sorcery.spec @@ -0,0 +1,111 @@ +%global _empty_manifest_terminate_build 0 +Name: python-conan_sword_and_sorcery +Version: 0.0.dev134 +Release: 1 +Summary: Utilities to work with conan.io stuf +License: MIT +URL: https://gitlab.com/jgsogo/conan-sword-and-sorcery +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/35/c9/53ca9e5ae6b5b8b6649cc03097055a2f6dad3a5f3c1a059d48b2a8b35c4d/conan_sword_and_sorcery-0.0.dev134.tar.gz +BuildArch: noarch + + +%description +[](http://jgsogo.gitlab.io/conan-sword-and-sorcery/) +[](https://gitlab.com/jgsogo/conan-sword-and-sorcery/commits/master) +> **Status**: beta version. Under development +Utilities for [Conan The Frogarian](https://conan.io). At this moment it addressed +following tasks for your conan recipes: + * [Travis CI](https://travis-ci.org/) integration (with docker). + * [Appveyor](http://www.appveyor.com/) integration. + * Batch build for all local profiles. +This project is just a refurbish of [conan-package-tools](https://github.com/conan-io/conan-package-tools) +which is officially maintained by conan team. +To install, just type (or clone and install this repo): +```shell +$ pip install conan_sword_and_sorcery +``` + +%package -n python3-conan_sword_and_sorcery +Summary: Utilities to work with conan.io stuf +Provides: python-conan_sword_and_sorcery +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-conan_sword_and_sorcery +[](http://jgsogo.gitlab.io/conan-sword-and-sorcery/) +[](https://gitlab.com/jgsogo/conan-sword-and-sorcery/commits/master) +> **Status**: beta version. Under development +Utilities for [Conan The Frogarian](https://conan.io). At this moment it addressed +following tasks for your conan recipes: + * [Travis CI](https://travis-ci.org/) integration (with docker). + * [Appveyor](http://www.appveyor.com/) integration. + * Batch build for all local profiles. +This project is just a refurbish of [conan-package-tools](https://github.com/conan-io/conan-package-tools) +which is officially maintained by conan team. +To install, just type (or clone and install this repo): +```shell +$ pip install conan_sword_and_sorcery +``` + +%package help +Summary: Development documents and examples for conan_sword_and_sorcery +Provides: python3-conan_sword_and_sorcery-doc +%description help +[](http://jgsogo.gitlab.io/conan-sword-and-sorcery/) +[](https://gitlab.com/jgsogo/conan-sword-and-sorcery/commits/master) +> **Status**: beta version. Under development +Utilities for [Conan The Frogarian](https://conan.io). At this moment it addressed +following tasks for your conan recipes: + * [Travis CI](https://travis-ci.org/) integration (with docker). + * [Appveyor](http://www.appveyor.com/) integration. + * Batch build for all local profiles. +This project is just a refurbish of [conan-package-tools](https://github.com/conan-io/conan-package-tools) +which is officially maintained by conan team. +To install, just type (or clone and install this repo): +```shell +$ pip install conan_sword_and_sorcery +``` + +%prep +%autosetup -n conan_sword_and_sorcery-0.0.dev134 + +%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-conan_sword_and_sorcery -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.dev134-1 +- Package Spec generated @@ -0,0 +1 @@ +6e30c7e34523c85797f89cfe36055309 conan_sword_and_sorcery-0.0.dev134.tar.gz |