1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
|
%global _empty_manifest_terminate_build 0
Name: python-duality
Version: 5.4.5
Release: 1
Summary: Decorator library for the creation of CLI applications and scripts.
License: Apache Software License
URL: http://github.com/dkundih/duality
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/83/04/07931062f7b13879268333b26bd924efbe4a107fcc91630b0ba1247eb9f4/duality-5.4.5.tar.gz
BuildArch: noarch
%description
Decorator library for the creation of CLI applications and scripts.
Use permitted according to the terms of use and conditions set by the attached license.
**Example of use - SCRIPT**
Example code over a Car object. - DualityApp.script (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicScript1.jpg'/>
Example use in the terminal. - DualityApp.script (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicScript2.jpg'/>
**Example of use - WHEEL**
Example code over a Car object. - DualityApp.wheel (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicWheel1.jpg'/>
Example use in the terminal. - DualityApp.wheel (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicWheel2.jpg'/>
Visit my Data Library at https://github.com/dkundih/DataLibrary in order to see the demonstration of use in practical examples.
**Example of use - APPLY CUSTOM COLORING**
Example code for the creation of a university with custom coloring defined in the 'myset' dictionary. (v5.3.3)
NOTE: Fore coloring is defined as F(c, m, y, k, r, g, b) - for example, 'Fr' stands for fore coloring in red.
Background coloring is defined as B(c, m, y, k, r, g, b) - for example, 'Br' stands for background coloring in red.
Dictionary keys must be named as shown, only coloring values are subject to change.
In order to apply custom coloring, define color_mode = 'custom', custom_color_mode = your_dictionary_name_here.
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_customColoring1.jpg'/>
Example use in the terminal with custom coloring applied. (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_customColoring2.jpg'/>
**Installation**
```sh
# using pip
pip install duality
```
**Import**
```sh
# for Python environment
import duality
```
**A word from the author!**
The module itself, it's maintenance, updates and stability, logo, videos, promotional materials and everything associated with duality are done by **David Kundih** from **Croatia**.
<h1 align='center'> Hi! :wave:</h1>
<img src='https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/BLUERED_GHiLI.jpg'/>
<p align='center'>
My name is <b>David Kundih</b> and I am a <b>Master of Engineering in Sustainable Mobility and Logistics</b>, currently specializing in <b>Digital Transformation of Traffic and Logistics using Python, JavaScript, HTML and CSS.</b>
</p>
<h4 align='center'>My latest projects:</h4>
<p align='center'>
<a href="https://github.com/dkundih/promet-kc">promet-kc</p>
<p align='center'>
<a href="https://github.com/dkundih/vandal">vandal</p>
<p align='center'>
<a href="https://github.com/dkundih/duality">duality</p>
<p align='center'>
<a href="https://github.com/dkundih/logistics">logistics</p>
<p align='center'>
<a href="https://github.com/dkundih/unin">unin</a></p>
</p>
<h3 align='center'><i>People shine the brightest when they seek to understand what kind of love sustains them.</i></h3>
<p align='center'>
<a href="https://www.instagram.com/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/instagram.jpg"></a>
<a href="https://www.facebook.com/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/fb.jpg"></a>
<a href="https://www.linkedin.com/in/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/linkedin.png"></a>
<a href="https://www.pypi.org/user/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/pypi.jpg"></a>
<a href="https://www.buymeacoffee.com/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/buymeacoffee.jpg"></a>
<a href="https://www.patreon.com/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/patreon.jpg"></a>
<a href="https://www.behance.net/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/behance.jpg"></a>
<a href="https://www.researchgate.net/profile/David-Kundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/rg.jpg"></a>
%package -n python3-duality
Summary: Decorator library for the creation of CLI applications and scripts.
Provides: python-duality
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-duality
Decorator library for the creation of CLI applications and scripts.
Use permitted according to the terms of use and conditions set by the attached license.
**Example of use - SCRIPT**
Example code over a Car object. - DualityApp.script (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicScript1.jpg'/>
Example use in the terminal. - DualityApp.script (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicScript2.jpg'/>
**Example of use - WHEEL**
Example code over a Car object. - DualityApp.wheel (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicWheel1.jpg'/>
Example use in the terminal. - DualityApp.wheel (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicWheel2.jpg'/>
Visit my Data Library at https://github.com/dkundih/DataLibrary in order to see the demonstration of use in practical examples.
**Example of use - APPLY CUSTOM COLORING**
Example code for the creation of a university with custom coloring defined in the 'myset' dictionary. (v5.3.3)
NOTE: Fore coloring is defined as F(c, m, y, k, r, g, b) - for example, 'Fr' stands for fore coloring in red.
Background coloring is defined as B(c, m, y, k, r, g, b) - for example, 'Br' stands for background coloring in red.
Dictionary keys must be named as shown, only coloring values are subject to change.
In order to apply custom coloring, define color_mode = 'custom', custom_color_mode = your_dictionary_name_here.
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_customColoring1.jpg'/>
Example use in the terminal with custom coloring applied. (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_customColoring2.jpg'/>
**Installation**
```sh
# using pip
pip install duality
```
**Import**
```sh
# for Python environment
import duality
```
**A word from the author!**
The module itself, it's maintenance, updates and stability, logo, videos, promotional materials and everything associated with duality are done by **David Kundih** from **Croatia**.
<h1 align='center'> Hi! :wave:</h1>
<img src='https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/BLUERED_GHiLI.jpg'/>
<p align='center'>
My name is <b>David Kundih</b> and I am a <b>Master of Engineering in Sustainable Mobility and Logistics</b>, currently specializing in <b>Digital Transformation of Traffic and Logistics using Python, JavaScript, HTML and CSS.</b>
</p>
<h4 align='center'>My latest projects:</h4>
<p align='center'>
<a href="https://github.com/dkundih/promet-kc">promet-kc</p>
<p align='center'>
<a href="https://github.com/dkundih/vandal">vandal</p>
<p align='center'>
<a href="https://github.com/dkundih/duality">duality</p>
<p align='center'>
<a href="https://github.com/dkundih/logistics">logistics</p>
<p align='center'>
<a href="https://github.com/dkundih/unin">unin</a></p>
</p>
<h3 align='center'><i>People shine the brightest when they seek to understand what kind of love sustains them.</i></h3>
<p align='center'>
<a href="https://www.instagram.com/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/instagram.jpg"></a>
<a href="https://www.facebook.com/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/fb.jpg"></a>
<a href="https://www.linkedin.com/in/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/linkedin.png"></a>
<a href="https://www.pypi.org/user/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/pypi.jpg"></a>
<a href="https://www.buymeacoffee.com/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/buymeacoffee.jpg"></a>
<a href="https://www.patreon.com/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/patreon.jpg"></a>
<a href="https://www.behance.net/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/behance.jpg"></a>
<a href="https://www.researchgate.net/profile/David-Kundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/rg.jpg"></a>
%package help
Summary: Development documents and examples for duality
Provides: python3-duality-doc
%description help
Decorator library for the creation of CLI applications and scripts.
Use permitted according to the terms of use and conditions set by the attached license.
**Example of use - SCRIPT**
Example code over a Car object. - DualityApp.script (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicScript1.jpg'/>
Example use in the terminal. - DualityApp.script (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicScript2.jpg'/>
**Example of use - WHEEL**
Example code over a Car object. - DualityApp.wheel (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicWheel1.jpg'/>
Example use in the terminal. - DualityApp.wheel (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_dynamicWheel2.jpg'/>
Visit my Data Library at https://github.com/dkundih/DataLibrary in order to see the demonstration of use in practical examples.
**Example of use - APPLY CUSTOM COLORING**
Example code for the creation of a university with custom coloring defined in the 'myset' dictionary. (v5.3.3)
NOTE: Fore coloring is defined as F(c, m, y, k, r, g, b) - for example, 'Fr' stands for fore coloring in red.
Background coloring is defined as B(c, m, y, k, r, g, b) - for example, 'Br' stands for background coloring in red.
Dictionary keys must be named as shown, only coloring values are subject to change.
In order to apply custom coloring, define color_mode = 'custom', custom_color_mode = your_dictionary_name_here.
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_customColoring1.jpg'/>
Example use in the terminal with custom coloring applied. (v5.3.3)
<img src='https://raw.githubusercontent.com/dkundih/duality/main/_logistics/T_customColoring2.jpg'/>
**Installation**
```sh
# using pip
pip install duality
```
**Import**
```sh
# for Python environment
import duality
```
**A word from the author!**
The module itself, it's maintenance, updates and stability, logo, videos, promotional materials and everything associated with duality are done by **David Kundih** from **Croatia**.
<h1 align='center'> Hi! :wave:</h1>
<img src='https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/BLUERED_GHiLI.jpg'/>
<p align='center'>
My name is <b>David Kundih</b> and I am a <b>Master of Engineering in Sustainable Mobility and Logistics</b>, currently specializing in <b>Digital Transformation of Traffic and Logistics using Python, JavaScript, HTML and CSS.</b>
</p>
<h4 align='center'>My latest projects:</h4>
<p align='center'>
<a href="https://github.com/dkundih/promet-kc">promet-kc</p>
<p align='center'>
<a href="https://github.com/dkundih/vandal">vandal</p>
<p align='center'>
<a href="https://github.com/dkundih/duality">duality</p>
<p align='center'>
<a href="https://github.com/dkundih/logistics">logistics</p>
<p align='center'>
<a href="https://github.com/dkundih/unin">unin</a></p>
</p>
<h3 align='center'><i>People shine the brightest when they seek to understand what kind of love sustains them.</i></h3>
<p align='center'>
<a href="https://www.instagram.com/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/instagram.jpg"></a>
<a href="https://www.facebook.com/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/fb.jpg"></a>
<a href="https://www.linkedin.com/in/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/linkedin.png"></a>
<a href="https://www.pypi.org/user/dkundih/"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/pypi.jpg"></a>
<a href="https://www.buymeacoffee.com/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/buymeacoffee.jpg"></a>
<a href="https://www.patreon.com/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/patreon.jpg"></a>
<a href="https://www.behance.net/dkundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/behance.jpg"></a>
<a href="https://www.researchgate.net/profile/David-Kundih"><img height="25" src="https://raw.githubusercontent.com/dkundih/dkundih/main/.logistics/rg.jpg"></a>
%prep
%autosetup -n duality-5.4.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-duality -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 5.4.5-1
- Package Spec generated
|