%global _empty_manifest_terminate_build 0 Name: python-gimei Version: 0.2.3 Release: 1 Summary: generates the name and the address at random. License: MIT License URL: https://github.com/nabetama/gimei Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cf/bc/e4a69786ba5610eec434bffebd6cc092f72484c2f50791fd90a9c1dd747c/gimei-0.2.3.tar.gz BuildArch: noarch Requires: python3-pyyaml %description # Gimei This package generates the name and the address at random. Original is [gimei](https://github.com/willnet/gimei). Thank's @willnet ## Installation ### stable ```sh $ pip install gimei ``` ### test version ```sh pip install -i https://test.pypi.org/simple/ gimei ``` ## Usage ```python from gimei import Gimei name = Gimei().name print name # 川端 一世 print name.kanji # 川端 一世 print name.hiragana # かわばた ひとせ print name.katakana # カワバタ ヒトセ print name.last.kanji # 川端 print name.last.hiragana # かわばた print name.last.katakana # カワバタ print name.first.kanji # 一世 print name.first.hiragana # ひとせ print name.first.katakana # ヒトセ address = Gimei().address print address # 大分県三潴郡大木町小原西 print address.kanji # 大分県三潴郡大木町小原西 print address.hiragana # おおいたけんみずまぐんおおきまちこばらにし print address.katakana # オオイタケンミズマグンオオキマチコバラニシ print address.prefecture.kanji # 大分県 print address.prefecture.hiragana # おおいたけん print address.prefecture.katakana # オオイタケン print address.city.kanji # 三潴郡大木町 print address.city.hiragana # みずまぐんおおきまち print address.city.katakana # ミズマグンオオキマチ print address.town.kanji # 小原西 print address.town.hiragana # こばらにし print address.town.katakana # コバラニシ ``` ## Recommendation `pyyaml` is very convenient, but it's for a short while later to deal with a great deal of data. It's recommended hard to install [libyaml](http://pyyaml.org/wiki/LibYAML). ## License MIT ## Author Mao Nabeta [twitter](https://twitter.com/nabetama) %package -n python3-gimei Summary: generates the name and the address at random. Provides: python-gimei BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-gimei # Gimei This package generates the name and the address at random. Original is [gimei](https://github.com/willnet/gimei). Thank's @willnet ## Installation ### stable ```sh $ pip install gimei ``` ### test version ```sh pip install -i https://test.pypi.org/simple/ gimei ``` ## Usage ```python from gimei import Gimei name = Gimei().name print name # 川端 一世 print name.kanji # 川端 一世 print name.hiragana # かわばた ひとせ print name.katakana # カワバタ ヒトセ print name.last.kanji # 川端 print name.last.hiragana # かわばた print name.last.katakana # カワバタ print name.first.kanji # 一世 print name.first.hiragana # ひとせ print name.first.katakana # ヒトセ address = Gimei().address print address # 大分県三潴郡大木町小原西 print address.kanji # 大分県三潴郡大木町小原西 print address.hiragana # おおいたけんみずまぐんおおきまちこばらにし print address.katakana # オオイタケンミズマグンオオキマチコバラニシ print address.prefecture.kanji # 大分県 print address.prefecture.hiragana # おおいたけん print address.prefecture.katakana # オオイタケン print address.city.kanji # 三潴郡大木町 print address.city.hiragana # みずまぐんおおきまち print address.city.katakana # ミズマグンオオキマチ print address.town.kanji # 小原西 print address.town.hiragana # こばらにし print address.town.katakana # コバラニシ ``` ## Recommendation `pyyaml` is very convenient, but it's for a short while later to deal with a great deal of data. It's recommended hard to install [libyaml](http://pyyaml.org/wiki/LibYAML). ## License MIT ## Author Mao Nabeta [twitter](https://twitter.com/nabetama) %package help Summary: Development documents and examples for gimei Provides: python3-gimei-doc %description help # Gimei This package generates the name and the address at random. Original is [gimei](https://github.com/willnet/gimei). Thank's @willnet ## Installation ### stable ```sh $ pip install gimei ``` ### test version ```sh pip install -i https://test.pypi.org/simple/ gimei ``` ## Usage ```python from gimei import Gimei name = Gimei().name print name # 川端 一世 print name.kanji # 川端 一世 print name.hiragana # かわばた ひとせ print name.katakana # カワバタ ヒトセ print name.last.kanji # 川端 print name.last.hiragana # かわばた print name.last.katakana # カワバタ print name.first.kanji # 一世 print name.first.hiragana # ひとせ print name.first.katakana # ヒトセ address = Gimei().address print address # 大分県三潴郡大木町小原西 print address.kanji # 大分県三潴郡大木町小原西 print address.hiragana # おおいたけんみずまぐんおおきまちこばらにし print address.katakana # オオイタケンミズマグンオオキマチコバラニシ print address.prefecture.kanji # 大分県 print address.prefecture.hiragana # おおいたけん print address.prefecture.katakana # オオイタケン print address.city.kanji # 三潴郡大木町 print address.city.hiragana # みずまぐんおおきまち print address.city.katakana # ミズマグンオオキマチ print address.town.kanji # 小原西 print address.town.hiragana # こばらにし print address.town.katakana # コバラニシ ``` ## Recommendation `pyyaml` is very convenient, but it's for a short while later to deal with a great deal of data. It's recommended hard to install [libyaml](http://pyyaml.org/wiki/LibYAML). ## License MIT ## Author Mao Nabeta [twitter](https://twitter.com/nabetama) %prep %autosetup -n gimei-0.2.3 %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-gimei -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu May 18 2023 Python_Bot - 0.2.3-1 - Package Spec generated