package created using the webbuild interface [release 2023.5.1-1mamba;Sat May 25 2024]
This commit is contained in:
parent
883418d738
commit
b87d6ecf4e
@ -1,2 +1,4 @@
|
|||||||
# python-cinemagoer
|
# python-cinemagoer
|
||||||
|
|
||||||
|
Python package to access the IMDb's database.
|
||||||
|
|
||||||
|
68
python-cinemagoer.spec
Normal file
68
python-cinemagoer.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
|
Name: python-cinemagoer
|
||||||
|
Version: 2023.5.1
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Python package to access the IMDb's database
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://cinemagoer.github.io/
|
||||||
|
Source: https://pypi.debian.net/cinemagoer/cinemagoer-%{version}.tar.gz
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython311-devel
|
||||||
|
BuildRequires: python3.11dist(lxml)
|
||||||
|
BuildRequires: python3.11dist(sqlalchemy)
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n cinemagoer-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
|
|
||||||
|
#%if "%{?with_pyver}" != "3"
|
||||||
|
## Rename any conflicting file outside of python site packages tree
|
||||||
|
#for f in %{_bindir}/pdm; do
|
||||||
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
#done
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
%files %{?pyappend}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/get_company.py
|
||||||
|
%{_bindir}/get_first_company.py
|
||||||
|
%{_bindir}/get_first_movie.py
|
||||||
|
%{_bindir}/get_first_person.py
|
||||||
|
%{_bindir}/get_keyword.py
|
||||||
|
%{_bindir}/get_movie.py
|
||||||
|
%{_bindir}/get_movie_list.py
|
||||||
|
%{_bindir}/get_person.py
|
||||||
|
%{_bindir}/get_top_bottom_movies.py
|
||||||
|
%{_bindir}/imdbpy
|
||||||
|
%{_bindir}/imdbpy2sql.py
|
||||||
|
%{_bindir}/s32cinemagoer.py
|
||||||
|
%{_bindir}/search_company.py
|
||||||
|
%{_bindir}/search_keyword.py
|
||||||
|
%{_bindir}/search_movie.py
|
||||||
|
%{_bindir}/search_person.py
|
||||||
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/imdb
|
||||||
|
%{python_sitelib}/imdb/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat May 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2023.5.1-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user