%global pypi_name cinemagoer %global pkg_version 2023.5.1 Name: python-cinemagoer Version: 2023.05.01 Release: 1%{?dist} Summary: Retrieve and manage the data of the IMDb movie database License: GPLv2+ URL: https://cinemagoer.github.io/ Source0: https://github.com/cinemagoer/cinemagoer/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_enable_dependency_generator} %global _description\ cinemagoer is a Python package useful to retrieve and manage the data of\ the IMDb movie database about movies, people, characters and companies.\ \ cinemagoer can retrieve data from both the IMDb's web server and a local\ copy of the whole database. %description %_description %package -n python3-cinemagoer Summary: %{summary} %{?python_provide:%python_provide python3-cinemagoer} %description -n python3-cinemagoer %_description %prep %autosetup -n %{pypi_name}-%{version} %build %py3_build %install %py3_install #Don't include these as binaries, rather include them as examples in documentation #See Debian for reference rm -rf %{buildroot}%{_bindir} mv bin examples chmod 0644 examples/* for i in ar bg de en es fr it pt_BR sr tr; do mkdir -p %{buildroot}%{_datadir}/locale/$i/LC_MESSAGES/ install -p %{buildroot}%{python3_sitelib}/imdb/locale/$i/LC_MESSAGES/imdbpy.mo \ %{buildroot}%{_datadir}/locale/$i/LC_MESSAGES/ done %find_lang imdbpy %files -n python3-cinemagoer -f imdbpy.lang %license LICENSE.txt %doc CHANGELOG.txt CONTRIBUTORS.txt CREDITS.txt DISCLAIMER.txt README.rst %doc examples %{python3_sitelib}/imdb/ %exclude %{python3_sitelib}/imdb/locale/ %{python3_sitelib}/%{pypi_name}-%{pkg_version}-py%{python3_version}.egg-info/ %changelog * Tue Feb 06 2024 Andrea Musuruane - 2023.05.01-1 - First release of python-cinemagoer * Sat Jul 14 2018 Fedora Release Engineering - 5.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 5.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Iryna Shcherbina - 5.1-6 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 5.1-5 - Python 2 binary package renamed to python2-imdb See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Aug 03 2017 Fedora Release Engineering - 5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 09 2016 Jon Ciesla - 5.1-1 - Latest upstream. * Tue Jul 19 2016 Fedora Release Engineering - 5.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Feb 24 2016 Jon Ciesla - 5.0-1 - Latest upstream. * Thu Feb 04 2016 Fedora Release Engineering - 4.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 4.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 4.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 4.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 4.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jan 25 2013 Jon Ciesla - 4.9-1 - New upstream. - Requires fixes, BZ 904088. * Sat Jul 21 2012 Fedora Release Engineering - 4.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Mar 27 2012 Ville Skyttä - 4.8.2-2 - Fix IMDbPY Provides version-release. * Mon Feb 20 2012 Jon Ciesla - 4.8.2-1 - New upstream. - Using find_lang now. * Sat Jan 14 2012 Fedora Release Engineering - 4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jul 15 2011 Jon Ciesla - 4.7-1 - New upstream. * Thu Jul 22 2010 David Malcolm - 4.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Wed Mar 24 2010 Jon Ciesla - 4.5.1-3 - Apply said patch. * Wed Mar 24 2010 Jon Ciesla - 4.5.1-2 - Patch to fix setuptools behaviour. * Tue Mar 23 2010 Jon Ciesla - 4.5.1-1 - New upstream, fixes data retrieval issue, BZ 576027, 576028. * Wed Feb 03 2010 Jon Ciesla - 4.4-1 - New upstream, fixes data retrieval issue, BZ 539818. * Wed Feb 03 2010 Jon Ciesla - 4.2-2 - Corrected 4.2 build. * Fri Sep 26 2009 Sindre Pedersen Bjørdal - 4.2-1 - New upstream release * Sun Jul 26 2009 Fedora Release Engineering - 4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 01 2009 Sindre Pedersen Bjørdal - 4.0-5 - Fix typo in Provides: * Wed Apr 01 2009 Sindre Pedersen Bjørdal - 4.0-4 - Add Provides: upstream name - Add missing python-setuptools buildrequires * Wed Apr 01 2009 Sindre Pedersen Bjørdal - 4.0-2 - New upstream release * Thu Feb 26 2009 Fedora Release Engineering - 3.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Dec 22 2008 Sindre Pedersen Bjørdal - 3.8-3 - Add patch to use system BeautifulSoup - Add beautifulsoup requires - Fix bogus permission on cutils file * Fri Dec 05 2008 Sindre Pedersen Bjørdal - 3.8-1 - Initial build