summaryrefslogtreecommitdiff
path: root/python-entropy.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 04:39:19 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 04:39:19 +0000
commitd4d7a12368b4c3b695a57f5bd18ef6dfa21c4701 (patch)
tree69ea6ba07a6d347245cf63e1a4c7ae32a1272bdb /python-entropy.spec
parent476e13e30cc6b82f6232d97a3c8c02774988584c (diff)
automatic import of python-entropyopeneuler20.03
Diffstat (limited to 'python-entropy.spec')
-rw-r--r--python-entropy.spec300
1 files changed, 300 insertions, 0 deletions
diff --git a/python-entropy.spec b/python-entropy.spec
new file mode 100644
index 0000000..57ccf4b
--- /dev/null
+++ b/python-entropy.spec
@@ -0,0 +1,300 @@
+%global _empty_manifest_terminate_build 0
+Name: python-entropy
+Version: 0.1.5
+Release: 1
+Summary: entropy is a command line friend that helps you reduce entropy in your life
+License: MIT
+URL: https://github.com/h4ck3rk3y/entropy
+Source0: https://mirrors.aliyun.com/pypi/web/packages/58/69/0417391d23a1407395e6b63ff7a38f2a4978eec18d0629b89b6e21eba1e3/entropy-0.1.5.tar.gz
+BuildArch: noarch
+
+
+%description
+# entropy
+
+![](https://cdn.pixabay.com/photo/2016/09/16/19/12/atom-1674878_960_720.png)
+
+the natural state of entropy is to increase. we must fight against it. 💪
+
+entropy is a command line friend that helps you reduce entropy
+in your life
+
+
+## Demo
+
+![](https://i.imgur.com/InlyNci.gif)
+
+## Installation
+
+### 1: [PIP](https://pypi.python.org/pypi/entropy)
+
+```bash
+$ pip install entropy
+```
+
+### 2: From source
+
+```bash
+$ git clone https://github.com/h4ck3rk3y/entropy
+$ cd entropy
+$ python setup.py install
+```
+
+## Usage
+
+### Tell entropy how today went
+
+``` bash
+$ entropy status add
+```
+
+### Ask entropy at how today, yesterday, week, month, year and lfie have been going
+
+```bash
+$ entropy status view today
+$ entropy status view yesterday
+$ entropy status view week
+$ entropy status view month
+$ entropy status view year
+$ entropy status view life
+$ entropy status view YYYY-mm-dd
+```
+
+### Journal with entropy every morning
+
+```bash
+$ entropy journal add
+```
+
+### Ask entropy to retrieve older journals for you
+
+```bash
+$ entropy journal view today
+$ entropy journal view yesterday
+$ entropy journal view YYYY-mm-dd
+```
+
+### If you need help, don't be shy
+
+```bash
+$ entropy --help
+```
+
+## Contributing
+
+Use the [Github](https://github.com/h4ck3rk3y/entropy) to file bugs or push new features.
+
+## License
+
+Open sourced under the **MIT License**
+
+%package -n python3-entropy
+Summary: entropy is a command line friend that helps you reduce entropy in your life
+Provides: python-entropy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-entropy
+# entropy
+
+![](https://cdn.pixabay.com/photo/2016/09/16/19/12/atom-1674878_960_720.png)
+
+the natural state of entropy is to increase. we must fight against it. 💪
+
+entropy is a command line friend that helps you reduce entropy
+in your life
+
+
+## Demo
+
+![](https://i.imgur.com/InlyNci.gif)
+
+## Installation
+
+### 1: [PIP](https://pypi.python.org/pypi/entropy)
+
+```bash
+$ pip install entropy
+```
+
+### 2: From source
+
+```bash
+$ git clone https://github.com/h4ck3rk3y/entropy
+$ cd entropy
+$ python setup.py install
+```
+
+## Usage
+
+### Tell entropy how today went
+
+``` bash
+$ entropy status add
+```
+
+### Ask entropy at how today, yesterday, week, month, year and lfie have been going
+
+```bash
+$ entropy status view today
+$ entropy status view yesterday
+$ entropy status view week
+$ entropy status view month
+$ entropy status view year
+$ entropy status view life
+$ entropy status view YYYY-mm-dd
+```
+
+### Journal with entropy every morning
+
+```bash
+$ entropy journal add
+```
+
+### Ask entropy to retrieve older journals for you
+
+```bash
+$ entropy journal view today
+$ entropy journal view yesterday
+$ entropy journal view YYYY-mm-dd
+```
+
+### If you need help, don't be shy
+
+```bash
+$ entropy --help
+```
+
+## Contributing
+
+Use the [Github](https://github.com/h4ck3rk3y/entropy) to file bugs or push new features.
+
+## License
+
+Open sourced under the **MIT License**
+
+%package help
+Summary: Development documents and examples for entropy
+Provides: python3-entropy-doc
+%description help
+# entropy
+
+![](https://cdn.pixabay.com/photo/2016/09/16/19/12/atom-1674878_960_720.png)
+
+the natural state of entropy is to increase. we must fight against it. 💪
+
+entropy is a command line friend that helps you reduce entropy
+in your life
+
+
+## Demo
+
+![](https://i.imgur.com/InlyNci.gif)
+
+## Installation
+
+### 1: [PIP](https://pypi.python.org/pypi/entropy)
+
+```bash
+$ pip install entropy
+```
+
+### 2: From source
+
+```bash
+$ git clone https://github.com/h4ck3rk3y/entropy
+$ cd entropy
+$ python setup.py install
+```
+
+## Usage
+
+### Tell entropy how today went
+
+``` bash
+$ entropy status add
+```
+
+### Ask entropy at how today, yesterday, week, month, year and lfie have been going
+
+```bash
+$ entropy status view today
+$ entropy status view yesterday
+$ entropy status view week
+$ entropy status view month
+$ entropy status view year
+$ entropy status view life
+$ entropy status view YYYY-mm-dd
+```
+
+### Journal with entropy every morning
+
+```bash
+$ entropy journal add
+```
+
+### Ask entropy to retrieve older journals for you
+
+```bash
+$ entropy journal view today
+$ entropy journal view yesterday
+$ entropy journal view YYYY-mm-dd
+```
+
+### If you need help, don't be shy
+
+```bash
+$ entropy --help
+```
+
+## Contributing
+
+Use the [Github](https://github.com/h4ck3rk3y/entropy) to file bugs or push new features.
+
+## License
+
+Open sourced under the **MIT License**
+
+%prep
+%autosetup -n entropy-0.1.5
+
+%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-entropy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.5-1
+- Package Spec generated