forked from pool/python-dns-lexicon
Accepting request 403603 from home:archie172
New python package OBS-URL: https://build.opensuse.org/request/show/403603 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dns-lexicon?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
5
python-dns-lexicon.changes
Normal file
5
python-dns-lexicon.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 19 16:35:55 CDT 2016 - archie.cobbs@gmail.com
|
||||
|
||||
- Initial creation of package, version 1.1.6
|
||||
|
||||
70
python-dns-lexicon.spec
Normal file
70
python-dns-lexicon.spec
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# spec file for package python-dns-lexicon
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
|
||||
|
||||
Name: python-dns-lexicon
|
||||
Version: 1.1.6
|
||||
Release: 0
|
||||
Summary: Manipulate DNS records on various DNS providers in a standardized way
|
||||
License: MIT
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
Url: https://github.com/AnalogJ/lexicon
|
||||
Source0: https://github.com/AnalogJ/lexicon/archive/v%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(python) >= 2.6.6
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
Requires: python-requests
|
||||
Requires: python-tldextract
|
||||
|
||||
%description
|
||||
Lexicon provides a way to manipulate DNS records on multiple DNS providers
|
||||
in a standardized way. Lexicon has a CLI but it can also be used as a
|
||||
python library.
|
||||
|
||||
Lexicon was designed to be used in automation, specifically letsencrypt.
|
||||
|
||||
%prep
|
||||
%setup -q -n lexicon-%{version}
|
||||
|
||||
# rpmlint
|
||||
find -type f -name ".gitignore" -exec rm {} \;
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
# rpmlint
|
||||
find -type f -name ".buildinfo" -exec rm {} \;
|
||||
|
||||
%install
|
||||
python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{python_sitelib}/lexicon
|
||||
%{python_sitelib}/dns_lexicon-*
|
||||
%doc LICENSE README.md
|
||||
%{_bindir}/lexicon
|
||||
|
||||
%changelog
|
||||
3
v1.1.6.tar.gz
Normal file
3
v1.1.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ac04bbea520636ceaf5db4f64a85777a12a3c800a81e0a27a4a821db33701254
|
||||
size 90954
|
||||
Reference in New Issue
Block a user