diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-qualitative-coding.spec | 117 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 119 insertions, 0 deletions
@@ -0,0 +1 @@ +/qualitative-coding-0.2.2.tar.gz diff --git a/python-qualitative-coding.spec b/python-qualitative-coding.spec new file mode 100644 index 0000000..9350918 --- /dev/null +++ b/python-qualitative-coding.spec @@ -0,0 +1,117 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qualitative-coding +Version: 0.2.2 +Release: 1 +Summary: Qualitative coding tools for computer scientists +License: GNU Affero General Public License v3 +URL: https://github.com/cproctor/qualitative-coding +Source0: https://mirrors.aliyun.com/pypi/web/packages/b9/49/b01357e52fa5564d1422f232381b263c04b049713996db311547648b3563/qualitative-coding-0.2.2.tar.gz +BuildArch: noarch + + +%description + analysis 2 + coding_process 7 + . a_priori 2 + . grounded_coding 2 + computers 2 + errors 1 + themes 2 +`stats` has lots of useful filtering and formatting options. For example, `qc +stats --pattern wiki --depth 1 --min 10 --format latex` would only consider files +having "wiki" in the filename. Within these files, it would show only +top-level categories of codes having at least ten instances, and would output a +table suitable for inclusion in a LaTeX document. Use `--help` on any command to +see available options. +Next, we might want to see examples of what we have coded. + $ qc find analysis + Showing results for codes: analysis + +%package -n python3-qualitative-coding +Summary: Qualitative coding tools for computer scientists +Provides: python-qualitative-coding +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qualitative-coding + analysis 2 + coding_process 7 + . a_priori 2 + . grounded_coding 2 + computers 2 + errors 1 + themes 2 +`stats` has lots of useful filtering and formatting options. For example, `qc +stats --pattern wiki --depth 1 --min 10 --format latex` would only consider files +having "wiki" in the filename. Within these files, it would show only +top-level categories of codes having at least ten instances, and would output a +table suitable for inclusion in a LaTeX document. Use `--help` on any command to +see available options. +Next, we might want to see examples of what we have coded. + $ qc find analysis + Showing results for codes: analysis + +%package help +Summary: Development documents and examples for qualitative-coding +Provides: python3-qualitative-coding-doc +%description help + analysis 2 + coding_process 7 + . a_priori 2 + . grounded_coding 2 + computers 2 + errors 1 + themes 2 +`stats` has lots of useful filtering and formatting options. For example, `qc +stats --pattern wiki --depth 1 --min 10 --format latex` would only consider files +having "wiki" in the filename. Within these files, it would show only +top-level categories of codes having at least ten instances, and would output a +table suitable for inclusion in a LaTeX document. Use `--help` on any command to +see available options. +Next, we might want to see examples of what we have coded. + $ qc find analysis + Showing results for codes: analysis + +%prep +%autosetup -n qualitative-coding-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-qualitative-coding -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.2-1 +- Package Spec generated @@ -0,0 +1 @@ +6dcbe3834f33a0a315ca6492b2256c1e qualitative-coding-0.2.2.tar.gz |