From 98c2e48fb443689027315e65a84bcf4fdcbe9209 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 07:31:12 +0000 Subject: automatic import of python-aa-gdpr --- .gitignore | 1 + python-aa-gdpr.spec | 288 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 290 insertions(+) create mode 100644 python-aa-gdpr.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7e5ded3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/aa-gdpr-0.3.3.tar.gz diff --git a/python-aa-gdpr.spec b/python-aa-gdpr.spec new file mode 100644 index 0000000..a13d71d --- /dev/null +++ b/python-aa-gdpr.spec @@ -0,0 +1,288 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aa-gdpr +Version: 0.3.3 +Release: 1 +Summary: A Collection of GDPR Tools for Alliance Auth +License: MIT +URL: https://gitlab.com/soratidus999/aa-gdpr/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/f4/4a/636f1cd563e35847fd817087bb32bd70750d57d4c0fce72c4f6a81def4ab/aa-gdpr-0.3.3.tar.gz +BuildArch: noarch + + +%description +# AA-GDPR + +A Collection of overrides and resources to help Alliance Auth installs meet GDPR legislation. + +This Repository cannot guarantee your Legal requirements but aims to reduce the technical burden on Web/System Administrators + +## Current Features + +Overrides Alliance Auth default resource bundles to use staticfile delivery. + +Local staticfile delivery of resources to avoid using CDNs + +* Javascript + * Less 3.12.2, 4.1.2 + * Moment.js 2.27, 2.29.1 + * jQuery 2.2.4, 3.6.0 + * jQuery-DateTimePicker 2.5.20 + * jQuery-UI 1.12.1 + * Twitter-Bootstrap 3.4.1, 4.4.1, 4.5.2, 4.6.1, 5.0.1 + * x-editable 1.5.1 + * Less 2.7.3 & 3.12.2 + * DataTables 1.10.21 + * Clipboard.js 2.0.6, 2.0.8 +* Fonts + * FontAwesome 5.11.2, 5.14.0, 5.15.4 + * OFL Lato 16 +* CSS + * DataTables 1.10.21 + * FontAwesome 5.11.2, 5.14.0, 5.15.4 + * jQuery-DateTimePicker 2.5.20 + * jQuery-UI 1.12.1 + * x-editable 1.5.1 + +## Planned Features + +* Consent Management +* Terms of Use Management +* Data Transparency +* Right to be Forgotten Requests + +## Installation + +### Step One - Install + +Install the app with your venv active + +```bash +pip install aa-gdpr +``` + +### Step Two - Configure + +* Add `INSTALLED_APPS.insert(0, 'aagdpr')` right before your `INSTALLED_APPS` list in your projects `local.py` +* Add the below lines to your `local.py` settings file + + ```python +## Settings for AA-GDPR ## + +# Instruct third party apps to avoid CDNs + AVOID_CDN = False +``` + +### Step Three - Update Project + +* Run migrations `python manage.py migrate` (There should be none yet) +* Gather your staticfiles `python manage.py collectstatic` + +## Settings + +AVOID_CDN - Will attempt to instruct third party applications to attempt to load CSS JS and Fonts from staticfiles, Default `False`. + + + + +%package -n python3-aa-gdpr +Summary: A Collection of GDPR Tools for Alliance Auth +Provides: python-aa-gdpr +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aa-gdpr +# AA-GDPR + +A Collection of overrides and resources to help Alliance Auth installs meet GDPR legislation. + +This Repository cannot guarantee your Legal requirements but aims to reduce the technical burden on Web/System Administrators + +## Current Features + +Overrides Alliance Auth default resource bundles to use staticfile delivery. + +Local staticfile delivery of resources to avoid using CDNs + +* Javascript + * Less 3.12.2, 4.1.2 + * Moment.js 2.27, 2.29.1 + * jQuery 2.2.4, 3.6.0 + * jQuery-DateTimePicker 2.5.20 + * jQuery-UI 1.12.1 + * Twitter-Bootstrap 3.4.1, 4.4.1, 4.5.2, 4.6.1, 5.0.1 + * x-editable 1.5.1 + * Less 2.7.3 & 3.12.2 + * DataTables 1.10.21 + * Clipboard.js 2.0.6, 2.0.8 +* Fonts + * FontAwesome 5.11.2, 5.14.0, 5.15.4 + * OFL Lato 16 +* CSS + * DataTables 1.10.21 + * FontAwesome 5.11.2, 5.14.0, 5.15.4 + * jQuery-DateTimePicker 2.5.20 + * jQuery-UI 1.12.1 + * x-editable 1.5.1 + +## Planned Features + +* Consent Management +* Terms of Use Management +* Data Transparency +* Right to be Forgotten Requests + +## Installation + +### Step One - Install + +Install the app with your venv active + +```bash +pip install aa-gdpr +``` + +### Step Two - Configure + +* Add `INSTALLED_APPS.insert(0, 'aagdpr')` right before your `INSTALLED_APPS` list in your projects `local.py` +* Add the below lines to your `local.py` settings file + + ```python +## Settings for AA-GDPR ## + +# Instruct third party apps to avoid CDNs + AVOID_CDN = False +``` + +### Step Three - Update Project + +* Run migrations `python manage.py migrate` (There should be none yet) +* Gather your staticfiles `python manage.py collectstatic` + +## Settings + +AVOID_CDN - Will attempt to instruct third party applications to attempt to load CSS JS and Fonts from staticfiles, Default `False`. + + + + +%package help +Summary: Development documents and examples for aa-gdpr +Provides: python3-aa-gdpr-doc +%description help +# AA-GDPR + +A Collection of overrides and resources to help Alliance Auth installs meet GDPR legislation. + +This Repository cannot guarantee your Legal requirements but aims to reduce the technical burden on Web/System Administrators + +## Current Features + +Overrides Alliance Auth default resource bundles to use staticfile delivery. + +Local staticfile delivery of resources to avoid using CDNs + +* Javascript + * Less 3.12.2, 4.1.2 + * Moment.js 2.27, 2.29.1 + * jQuery 2.2.4, 3.6.0 + * jQuery-DateTimePicker 2.5.20 + * jQuery-UI 1.12.1 + * Twitter-Bootstrap 3.4.1, 4.4.1, 4.5.2, 4.6.1, 5.0.1 + * x-editable 1.5.1 + * Less 2.7.3 & 3.12.2 + * DataTables 1.10.21 + * Clipboard.js 2.0.6, 2.0.8 +* Fonts + * FontAwesome 5.11.2, 5.14.0, 5.15.4 + * OFL Lato 16 +* CSS + * DataTables 1.10.21 + * FontAwesome 5.11.2, 5.14.0, 5.15.4 + * jQuery-DateTimePicker 2.5.20 + * jQuery-UI 1.12.1 + * x-editable 1.5.1 + +## Planned Features + +* Consent Management +* Terms of Use Management +* Data Transparency +* Right to be Forgotten Requests + +## Installation + +### Step One - Install + +Install the app with your venv active + +```bash +pip install aa-gdpr +``` + +### Step Two - Configure + +* Add `INSTALLED_APPS.insert(0, 'aagdpr')` right before your `INSTALLED_APPS` list in your projects `local.py` +* Add the below lines to your `local.py` settings file + + ```python +## Settings for AA-GDPR ## + +# Instruct third party apps to avoid CDNs + AVOID_CDN = False +``` + +### Step Three - Update Project + +* Run migrations `python manage.py migrate` (There should be none yet) +* Gather your staticfiles `python manage.py collectstatic` + +## Settings + +AVOID_CDN - Will attempt to instruct third party applications to attempt to load CSS JS and Fonts from staticfiles, Default `False`. + + + + +%prep +%autosetup -n aa-gdpr-0.3.3 + +%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-gdpr -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.3.3-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..4fa31ff --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c7e37d271bc205ed281568ba0db01f69 aa-gdpr-0.3.3.tar.gz -- cgit v1.2.3