summaryrefslogtreecommitdiff
path: root/python-reporters-db.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-reporters-db.spec')
-rw-r--r--python-reporters-db.spec136
1 files changed, 136 insertions, 0 deletions
diff --git a/python-reporters-db.spec b/python-reporters-db.spec
new file mode 100644
index 0000000..eaa428b
--- /dev/null
+++ b/python-reporters-db.spec
@@ -0,0 +1,136 @@
+%global _empty_manifest_terminate_build 0
+Name: python-reporters-db
+Version: 3.2.36
+Release: 1
+Summary: Database of Court Reporters
+License: BSD
+URL: https://github.com/freelawproject/reporters-db
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/96/93/0729cbef4c513efbfac0c77fd9e2c61c4aa9ddde164c9ef3f6c8606ba924/reporters-db-3.2.36.tar.gz
+BuildArch: noarch
+
+Requires: python3-six
+
+%description
+A long, long time ago near a courthouse not too far away, people started
+keeping books of every important opinion that was ever written. These
+books became known as *reporters* and were generally created by
+librarian-types of yore such as `Mr. William
+Cranch <https://en.wikipedia.org/wiki/William_Cranch>`__ and `Alex
+Dallas <https://en.wikipedia.org/wiki/Alexander_J._Dallas_%28statesman%29>`__.
+These people were busy for the next few centuries and created
+*thousands* of these books, culminating in what we know today as West's
+reporters or as regional reporters like the "Dakota Reports" or the
+thoroughly-named, "Synopses of the Decisions of the Supreme Court of
+Texas Arising from Restraints by Conscript and Other Military
+Authorities (Robards)."
+In this repository we've taken a look at all these reporters and tried
+to sort out what we know about them and convert that to data. This data
+is available as a JSON file, as Python variables, and can be browsed in an
+unofficial CSV (it's usually out of date).
+Naturally, converting several centuries' history into clean data results
+in a mess, but we've done our best and this mess is in use in a number
+of projects as listed below. As of version 3.2.32, this data contains information
+about 1,167 reporters and 2,102 name variations.
+We hope you'll find this useful to your endeavors and that you'll share
+your work with the community if you improve or use this work.
+
+%package -n python3-reporters-db
+Summary: Database of Court Reporters
+Provides: python-reporters-db
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-reporters-db
+A long, long time ago near a courthouse not too far away, people started
+keeping books of every important opinion that was ever written. These
+books became known as *reporters* and were generally created by
+librarian-types of yore such as `Mr. William
+Cranch <https://en.wikipedia.org/wiki/William_Cranch>`__ and `Alex
+Dallas <https://en.wikipedia.org/wiki/Alexander_J._Dallas_%28statesman%29>`__.
+These people were busy for the next few centuries and created
+*thousands* of these books, culminating in what we know today as West's
+reporters or as regional reporters like the "Dakota Reports" or the
+thoroughly-named, "Synopses of the Decisions of the Supreme Court of
+Texas Arising from Restraints by Conscript and Other Military
+Authorities (Robards)."
+In this repository we've taken a look at all these reporters and tried
+to sort out what we know about them and convert that to data. This data
+is available as a JSON file, as Python variables, and can be browsed in an
+unofficial CSV (it's usually out of date).
+Naturally, converting several centuries' history into clean data results
+in a mess, but we've done our best and this mess is in use in a number
+of projects as listed below. As of version 3.2.32, this data contains information
+about 1,167 reporters and 2,102 name variations.
+We hope you'll find this useful to your endeavors and that you'll share
+your work with the community if you improve or use this work.
+
+%package help
+Summary: Development documents and examples for reporters-db
+Provides: python3-reporters-db-doc
+%description help
+A long, long time ago near a courthouse not too far away, people started
+keeping books of every important opinion that was ever written. These
+books became known as *reporters* and were generally created by
+librarian-types of yore such as `Mr. William
+Cranch <https://en.wikipedia.org/wiki/William_Cranch>`__ and `Alex
+Dallas <https://en.wikipedia.org/wiki/Alexander_J._Dallas_%28statesman%29>`__.
+These people were busy for the next few centuries and created
+*thousands* of these books, culminating in what we know today as West's
+reporters or as regional reporters like the "Dakota Reports" or the
+thoroughly-named, "Synopses of the Decisions of the Supreme Court of
+Texas Arising from Restraints by Conscript and Other Military
+Authorities (Robards)."
+In this repository we've taken a look at all these reporters and tried
+to sort out what we know about them and convert that to data. This data
+is available as a JSON file, as Python variables, and can be browsed in an
+unofficial CSV (it's usually out of date).
+Naturally, converting several centuries' history into clean data results
+in a mess, but we've done our best and this mess is in use in a number
+of projects as listed below. As of version 3.2.32, this data contains information
+about 1,167 reporters and 2,102 name variations.
+We hope you'll find this useful to your endeavors and that you'll share
+your work with the community if you improve or use this work.
+
+%prep
+%autosetup -n reporters-db-3.2.36
+
+%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-reporters-db -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.36-1
+- Package Spec generated