diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:50:07 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:50:07 +0000 |
| commit | 3f3cf1b6b75525ef6d74728fc92bb1b611753d1f (patch) | |
| tree | ee47cedc282834c21a3c840803a57be8e0ed882f /python-p6-projen-project-awesome-list.spec | |
| parent | c883538cd071c943a95e8664c40d4eaa8d4709db (diff) | |
automatic import of python-p6-projen-project-awesome-listopeneuler20.03
Diffstat (limited to 'python-p6-projen-project-awesome-list.spec')
| -rw-r--r-- | python-p6-projen-project-awesome-list.spec | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/python-p6-projen-project-awesome-list.spec b/python-p6-projen-project-awesome-list.spec new file mode 100644 index 0000000..31805a2 --- /dev/null +++ b/python-p6-projen-project-awesome-list.spec @@ -0,0 +1,156 @@ +%global _empty_manifest_terminate_build 0 +Name: python-p6-projen-project-awesome-list +Version: 1.0.21 +Release: 1 +Summary: Projen External Project for awesome-lists +License: Apache-2.0 +URL: https://github.com/p6m7g8/p6-projen-project-awesome-list.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b6/9d/bbab0f42039f92c9f682768c6b45322ff3755bd381261019ffc5f6c896ce/p6-projen-project-awesome-list-1.0.21.tar.gz +BuildArch: noarch + +Requires: python3-jsii +Requires: python3-projen +Requires: python3-publication + +%description +Projen External Project to setup an Awesome List + +# p6-projen-project-awesome-list + +## LICENSE + +[](https://opensource.org/licenses/Apache-2.0) + +## Other + +[](https://gitpod.io/#https://github.com/p6m7g8/p6-projen-p)    + +## Summary + +Initializes a repo for use as an [awesome list](https://github.com/topics/awesome-list) Replaces `yeoman` + +## Usage + +```shell +projen new --from p6-projen-project-awesome-list +``` + +## Author + +Philip M. Gollucci [pgollucci@p6m7g8.com](mailto:pgollucci@p6m7g8.com) + + + + +%package -n python3-p6-projen-project-awesome-list +Summary: Projen External Project for awesome-lists +Provides: python-p6-projen-project-awesome-list +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-p6-projen-project-awesome-list +Projen External Project to setup an Awesome List + +# p6-projen-project-awesome-list + +## LICENSE + +[](https://opensource.org/licenses/Apache-2.0) + +## Other + +[](https://gitpod.io/#https://github.com/p6m7g8/p6-projen-p)    + +## Summary + +Initializes a repo for use as an [awesome list](https://github.com/topics/awesome-list) Replaces `yeoman` + +## Usage + +```shell +projen new --from p6-projen-project-awesome-list +``` + +## Author + +Philip M. Gollucci [pgollucci@p6m7g8.com](mailto:pgollucci@p6m7g8.com) + + + + +%package help +Summary: Development documents and examples for p6-projen-project-awesome-list +Provides: python3-p6-projen-project-awesome-list-doc +%description help +Projen External Project to setup an Awesome List + +# p6-projen-project-awesome-list + +## LICENSE + +[](https://opensource.org/licenses/Apache-2.0) + +## Other + +[](https://gitpod.io/#https://github.com/p6m7g8/p6-projen-p)    + +## Summary + +Initializes a repo for use as an [awesome list](https://github.com/topics/awesome-list) Replaces `yeoman` + +## Usage + +```shell +projen new --from p6-projen-project-awesome-list +``` + +## Author + +Philip M. Gollucci [pgollucci@p6m7g8.com](mailto:pgollucci@p6m7g8.com) + + + + +%prep +%autosetup -n p6-projen-project-awesome-list-1.0.21 + +%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-p6-projen-project-awesome-list -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.21-1 +- Package Spec generated |
