diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-goprocam.spec | 267 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 269 insertions, 0 deletions
@@ -0,0 +1 @@ +/goprocam-4.2.0.tar.gz diff --git a/python-goprocam.spec b/python-goprocam.spec new file mode 100644 index 0000000..49b4040 --- /dev/null +++ b/python-goprocam.spec @@ -0,0 +1,267 @@ +%global _empty_manifest_terminate_build 0 +Name: python-goprocam +Version: 4.2.0 +Release: 1 +Summary: GoPro WiFi API Wrapper for Python - Compatible with HERO3, HERO3+, HERO4, HERO5, HERO+, HERO6, HERO7, HERO8, HERO9, HERO10, MAX, FUSION +License: MIT +URL: http://github.com/konradit/gopro-py-api +Source0: https://mirrors.aliyun.com/pypi/web/packages/c7/c1/2fd5cb1e2ab115acc04c1938575004342a2de2b901e81ae6d0485742f160/goprocam-4.2.0.tar.gz +BuildArch: noarch + + +%description +# GoPro API for Python + +[](https://github.com/konradit/gopro-py-api/issues) [](https://github.com/KonradIT/gopro-py-api/releases) [](https://pypi.python.org/pypi/goprocam) + +Unofficial GoPro API Library for Python - connect to GoPro cameras via WiFi. + + +### Compatibility: + +- HERO3 +- HERO3+ +- HERO4 (including HERO Session) +- HERO+ +- HERO5 (including HERO5 Session) +- HERO6 +- Fusion 1 +- HERO7 (Black) +- HERO8 Black +- MAX +- HERO9 Black + +### Installation + +From PyPi: + +``` +pip install goprocam +``` + +Git (unstable): + +```bash +git clone http://github.com/konradit/gopro-py-api +cd gopro-py-api +python setup.py install +``` + +**Tested on Python 3.6.0** -- **works on Linux and Windows and Mac** + +### Quick start: + +Connect your camera to your computer via WiFi (WiFi on the camera must be on!) + +```python +from goprocam import GoProCamera, constants + +goproCamera = GoProCamera.GoPro() + +goproCamera.shoot_video(10) +``` + +### Examples: + +See [examples](/examples) for examples on how to use this API. + +### Documentation: + +Documentation is available: [docs](/docs) + +### Video screencap: + +- HERO4 Black: https://vimeo.com/209079783 +- HERO4 Session: https://vimeo.com/209129019 +- HERO3 Black: https://vimeo.com/209181246 +- HERO5 Black: https://vimeo.com/235135652 +- HERO7 Black: https://www.youtube.com/watch?v=i-X4fPVfoW0 + +%package -n python3-goprocam +Summary: GoPro WiFi API Wrapper for Python - Compatible with HERO3, HERO3+, HERO4, HERO5, HERO+, HERO6, HERO7, HERO8, HERO9, HERO10, MAX, FUSION +Provides: python-goprocam +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-goprocam +# GoPro API for Python + +[](https://github.com/konradit/gopro-py-api/issues) [](https://github.com/KonradIT/gopro-py-api/releases) [](https://pypi.python.org/pypi/goprocam) + +Unofficial GoPro API Library for Python - connect to GoPro cameras via WiFi. + + +### Compatibility: + +- HERO3 +- HERO3+ +- HERO4 (including HERO Session) +- HERO+ +- HERO5 (including HERO5 Session) +- HERO6 +- Fusion 1 +- HERO7 (Black) +- HERO8 Black +- MAX +- HERO9 Black + +### Installation + +From PyPi: + +``` +pip install goprocam +``` + +Git (unstable): + +```bash +git clone http://github.com/konradit/gopro-py-api +cd gopro-py-api +python setup.py install +``` + +**Tested on Python 3.6.0** -- **works on Linux and Windows and Mac** + +### Quick start: + +Connect your camera to your computer via WiFi (WiFi on the camera must be on!) + +```python +from goprocam import GoProCamera, constants + +goproCamera = GoProCamera.GoPro() + +goproCamera.shoot_video(10) +``` + +### Examples: + +See [examples](/examples) for examples on how to use this API. + +### Documentation: + +Documentation is available: [docs](/docs) + +### Video screencap: + +- HERO4 Black: https://vimeo.com/209079783 +- HERO4 Session: https://vimeo.com/209129019 +- HERO3 Black: https://vimeo.com/209181246 +- HERO5 Black: https://vimeo.com/235135652 +- HERO7 Black: https://www.youtube.com/watch?v=i-X4fPVfoW0 + +%package help +Summary: Development documents and examples for goprocam +Provides: python3-goprocam-doc +%description help +# GoPro API for Python + +[](https://github.com/konradit/gopro-py-api/issues) [](https://github.com/KonradIT/gopro-py-api/releases) [](https://pypi.python.org/pypi/goprocam) + +Unofficial GoPro API Library for Python - connect to GoPro cameras via WiFi. + + +### Compatibility: + +- HERO3 +- HERO3+ +- HERO4 (including HERO Session) +- HERO+ +- HERO5 (including HERO5 Session) +- HERO6 +- Fusion 1 +- HERO7 (Black) +- HERO8 Black +- MAX +- HERO9 Black + +### Installation + +From PyPi: + +``` +pip install goprocam +``` + +Git (unstable): + +```bash +git clone http://github.com/konradit/gopro-py-api +cd gopro-py-api +python setup.py install +``` + +**Tested on Python 3.6.0** -- **works on Linux and Windows and Mac** + +### Quick start: + +Connect your camera to your computer via WiFi (WiFi on the camera must be on!) + +```python +from goprocam import GoProCamera, constants + +goproCamera = GoProCamera.GoPro() + +goproCamera.shoot_video(10) +``` + +### Examples: + +See [examples](/examples) for examples on how to use this API. + +### Documentation: + +Documentation is available: [docs](/docs) + +### Video screencap: + +- HERO4 Black: https://vimeo.com/209079783 +- HERO4 Session: https://vimeo.com/209129019 +- HERO3 Black: https://vimeo.com/209181246 +- HERO5 Black: https://vimeo.com/235135652 +- HERO7 Black: https://www.youtube.com/watch?v=i-X4fPVfoW0 + +%prep +%autosetup -n goprocam-4.2.0 + +%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-goprocam -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 4.2.0-1 +- Package Spec generated @@ -0,0 +1 @@ +96cf7bd73fc16a4e73f690e5d4bbfe7b goprocam-4.2.0.tar.gz |