From 5b2666462a6de7bbc43717a837cfdb5d7865f783 Mon Sep 17 00:00:00 2001 From: jiangxinyu Date: Fri, 3 Sep 2021 11:03:30 +0800 Subject: [PATCH] init project --- python-volkszaehler.spec | 81 ++++++++++++++++++++++++++++++++++++++ volkszaehler-0.2.2.tar.gz | Bin 0 -> 5451 bytes 2 files changed, 81 insertions(+) create mode 100644 python-volkszaehler.spec create mode 100644 volkszaehler-0.2.2.tar.gz diff --git a/python-volkszaehler.spec b/python-volkszaehler.spec new file mode 100644 index 0000000..0c34181 --- /dev/null +++ b/python-volkszaehler.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: python-volkszaehler +Version: 0.2.2 +Release: 1 +Summary: Python Wrapper for interacting with the Volkszahler API. +License: MIT +URL: https://github.com/home-assistant-ecosystem/python-volkszaehler +Source0: https://files.pythonhosted.org/packages/c2/e2/5f1c4878b0f3054abedb50ed15dc13efa766b18d5932640b43d35f4cfa82/volkszaehler-0.2.2.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-async-timeout + +%description +Python API for interacting with Volkszaehler. At the moment only the consumption +of data is supported. Sorry, uploading is not possible. +This module is not official, developed, supported or endorsed by Volkzaehler. + +%package -n python3-volkszaehler +Summary: Python Wrapper for interacting with the Volkszahler API. +Provides: python-volkszaehler +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description -n python3-volkszaehler +Python API for interacting with Volkszaehler. At the moment only the consumption +of data is supported. Sorry, uploading is not possible. +This module is not official, developed, supported or endorsed by Volkzaehler. + +%package help +Summary: Development documents and examples for volkszaehler +Provides: python3-volkszaehler-doc + +%description help +Python API for interacting with Volkszaehler. At the moment only the consumption +of data is supported. Sorry, uploading is not possible. +This module is not official, developed, supported or endorsed by Volkzaehler. + +%prep +%autosetup -n volkszaehler-0.2.2 + +%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-volkszaehler -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Sep 03 2021 Python_Bot - 0.2.2-1 +- Package Init diff --git a/volkszaehler-0.2.2.tar.gz b/volkszaehler-0.2.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..56e65eac73288409ac1582329b54f58fa025e714 GIT binary patch literal 5451 zcmZv9cRUn+{J+R5L}c$BA~XABkDOHqb;;f{E4j$#>4E@-^c6mc>eKvyw)GD=j-`+@gz}E)mi^=W+?ijo<-+J6LOq*SiBK&KJe74o0 z&$pgDwadeP@*IuuLuD;u+K`<>iF{M->lCq=0eiD5rle{c^{l!0z1cVw3$Q|{8m)rj z?m_#-@jG|e0Md{eK52N91z>Ms$-@cjhc}LBZ{h+7sZF1BTfOE%`CWW!4!Amah!I-@ zokIZm;1H6A;V%bP%0QfP4cd7(sA3s}9>R<4=nsK73d9fqS_rUc5FyuT7M=}*lky9< z+Po8J5as_1tFn_!!h^{nfIm1O!2YE?UIXF&M5*-wL+B9UDKT{z{3ub8MedLnJx=nl8NSAa>DO`$s(F_DmJ^n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