diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:05:51 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:05:51 +0000 |
commit | 33841e7b2ef899d13958629104375398d53e6b48 (patch) | |
tree | 19c843d22a4d2c24d1a3cc349d8af9cac132d71e | |
parent | 54d278dde1fdedca0e7579ca2bfee1351f73d388 (diff) |
automatic import of python-aa-corpstats-twoopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aa-corpstats-two.spec | 126 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 128 insertions, 0 deletions
@@ -0,0 +1 @@ +/aa-corpstats-two-1.1.7.tar.gz diff --git a/python-aa-corpstats-two.spec b/python-aa-corpstats-two.spec new file mode 100644 index 0000000..8b7a47d --- /dev/null +++ b/python-aa-corpstats-two.spec @@ -0,0 +1,126 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aa-corpstats-two +Version: 1.1.7 +Release: 1 +Summary: Alliance Auth Plugin +License: GNU General Public License v3 (GPLv3) +URL: https://github.com/pvyParts/allianceauth-corpstats-two +Source0: https://mirrors.aliyun.com/pypi/web/packages/bc/93/7012db30957c989946b2c0bdee8739aa2acdebcabf7fd6f8a492f5e81303/aa-corpstats-two-1.1.7.tar.gz +BuildArch: noarch + + +%description +corpstats view_corp_corpstats | None | Can view corp stats of their corporation. +corpstats view_alliance_corpstats | None | Can view corp stats of members of their alliance. +corpstats view_state_corpstats | None | Can view corp stats of members of their auth state. +corpstats view_all_corpstats | None | Can view all corp stats. +corpstats add_corpstat | Can create model | Can add new corpstats using an SSO token. +corpstats change_corpstat |Can edit model | None. +corpstats remove_corpstat | Can delete model | None. +## Usage +Is very well documented [here](https://allianceauth.readthedocs.io/en/latest/features/apps/corpstats.html?highlight=corpstats#creating-a-corp-stats) +## Contributing +Make sure you have signed the [License Agreement](https://developers.eveonline.com/resource/license-agreement) by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes. +## Changes +1.1.0 + * Added service activation information + * Modified alliance view to show all corpstats visible to a user + * updated to django-esi >= 2.0.0 + * FA 5 update +1.0.4 + * perms fixes + +%package -n python3-aa-corpstats-two +Summary: Alliance Auth Plugin +Provides: python-aa-corpstats-two +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aa-corpstats-two +corpstats view_corp_corpstats | None | Can view corp stats of their corporation. +corpstats view_alliance_corpstats | None | Can view corp stats of members of their alliance. +corpstats view_state_corpstats | None | Can view corp stats of members of their auth state. +corpstats view_all_corpstats | None | Can view all corp stats. +corpstats add_corpstat | Can create model | Can add new corpstats using an SSO token. +corpstats change_corpstat |Can edit model | None. +corpstats remove_corpstat | Can delete model | None. +## Usage +Is very well documented [here](https://allianceauth.readthedocs.io/en/latest/features/apps/corpstats.html?highlight=corpstats#creating-a-corp-stats) +## Contributing +Make sure you have signed the [License Agreement](https://developers.eveonline.com/resource/license-agreement) by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes. +## Changes +1.1.0 + * Added service activation information + * Modified alliance view to show all corpstats visible to a user + * updated to django-esi >= 2.0.0 + * FA 5 update +1.0.4 + * perms fixes + +%package help +Summary: Development documents and examples for aa-corpstats-two +Provides: python3-aa-corpstats-two-doc +%description help +corpstats view_corp_corpstats | None | Can view corp stats of their corporation. +corpstats view_alliance_corpstats | None | Can view corp stats of members of their alliance. +corpstats view_state_corpstats | None | Can view corp stats of members of their auth state. +corpstats view_all_corpstats | None | Can view all corp stats. +corpstats add_corpstat | Can create model | Can add new corpstats using an SSO token. +corpstats change_corpstat |Can edit model | None. +corpstats remove_corpstat | Can delete model | None. +## Usage +Is very well documented [here](https://allianceauth.readthedocs.io/en/latest/features/apps/corpstats.html?highlight=corpstats#creating-a-corp-stats) +## Contributing +Make sure you have signed the [License Agreement](https://developers.eveonline.com/resource/license-agreement) by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes. +## Changes +1.1.0 + * Added service activation information + * Modified alliance view to show all corpstats visible to a user + * updated to django-esi >= 2.0.0 + * FA 5 update +1.0.4 + * perms fixes + +%prep +%autosetup -n aa-corpstats-two-1.1.7 + +%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-aa-corpstats-two -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.7-1 +- Package Spec generated @@ -0,0 +1 @@ +17f3e6dedebbaf4082a7821dadb7ddaf aa-corpstats-two-1.1.7.tar.gz |