Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4b0cd60362
!5 Update package to version 0.16.2
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2024-02-25 05:58:21 +00:00
jxy_git
090b2a2cc1 Update package to version 0.16.2 2024-02-25 10:33:51 +08:00
openeuler-ci-bot
721071ccec
!4 Update package to version 0.15.3
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-11-14 12:31:34 +00:00
jxy_git
a7d8187f02 Update package to version 0.15.3 2023-11-14 19:59:20 +08:00
openeuler-ci-bot
de27b9b0cb
!3 Update package to version 0.15.2
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-03-21 03:31:32 +00:00
jxy_git
573c8a6202 Update package to version 0.15.2 2023-03-21 11:04:03 +08:00
openeuler-ci-bot
bbb966e563
!2 update to 0.15.1
From: @fu-shanqing 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-08-08 10:11:50 +00:00
fu-shanqing
21701e32fb update to 0.15.1 2022-08-08 10:00:05 +08:00
openeuler-ci-bot
332c0ff56d !1 Package init
From: @lei_ju
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2020-12-31 15:03:31 +08:00
lei_ju
291541887e Package init 2020-12-31 14:27:48 +08:00
3 changed files with 93 additions and 0 deletions

BIN
authheaders-0.16.2.tar.gz Normal file

Binary file not shown.

89
python-authheaders.spec Normal file
View File

@ -0,0 +1,89 @@
%global _empty_manifest_terminate_build 0
Name: python-authheaders
Version: 0.16.2
Release: 1
Summary: A library wrapping email authentication header verification and generation.
License: MIT and ZPLv2.1
URL: https://github.com/ValiMail/authentication-headers
Source0: https://github.com/ValiMail/authentication-headers/releases/download/%{version}/authheaders-%{version}.tar.gz
BuildArch: noarch
%description
This is a Python library for the generation of email authentication headers.
The library can perform DKIM, SPF, and DMARC validation, and the results
are packaged into the Authentication-Results header.
%package -n python3-authheaders
Summary: A library wrapping email authentication header verification and generation.
Provides: python-authheaders = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-publicsuffix2
Requires: python3-dkimpy
%description -n python3-authheaders
This is a Python library for the generation of email authentication headers.
The library can perform DKIM, SPF, and DMARC validation, and the results
are packaged into the Authentication-Results header.
%package help
Summary: Development documents and examples for authheaders
Provides: python3-authheaders-doc
%description help
Development documents and examples for authheaders.
%prep
%autosetup -n authheaders-%{version}
%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-authheaders -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_pkgdocdir}
%changelog
* Sun Feb 25 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 0.16.2-1
- Update package to version 0.16.2
Migrate to importlib_resources
* Tue Nov 14 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.15.3-1
- Update package to version 0.15.3
* Tue Mar 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.15.2-1
- Update package to version 0.15.2
* Mon Aug 08 2022 fushanqing <fushanqing@kylinos.cn> - 0.15.1-1
- update to 0.15.1
* Fri Dec 18 2020 Python_Bot <Python_Bot@openeuler.org> - 0.13.0-1
- Package Spec generated

4
python-authheaders.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: ValiMail/authentication-headers
tag_prefix: "^"
separator: "."