| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package python-mkdocs-redirects
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2025-06-02 09:06:43 +00:00
										 |  |  | # Copyright (c) 2025 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # All modifications and additions to the file contributed by third parties
 | 
					
						
							|  |  |  | # remain the property of their copyright owners, unless otherwise agreed
 | 
					
						
							|  |  |  | # upon. The license for this file, and modifications and additions to the
 | 
					
						
							|  |  |  | # file, is the same license as for the pristine package itself (unless the
 | 
					
						
							|  |  |  | # license for the pristine package is not an Open Source License, in which
 | 
					
						
							|  |  |  | # case the license is the MIT License). An "Open Source License" is a
 | 
					
						
							|  |  |  | # license that conforms to the Open Source Definition (Version 1.9)
 | 
					
						
							|  |  |  | # published by the Open Source Initiative.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Name:           python-mkdocs-redirects
 | 
					
						
							|  |  |  | Version:        1.0.3
 | 
					
						
							|  |  |  | Release:        0
 | 
					
						
							|  |  |  | Summary:        Plugin for mkdocs to create page redirects
 | 
					
						
							|  |  |  | License:        MIT
 | 
					
						
							|  |  |  | URL:            https://github.com/datarobot/mkdocs-redirects
 | 
					
						
							|  |  |  | Source:         https://files.pythonhosted.org/packages/source/m/mkdocs-redirects/mkdocs-redirects-%{version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2025-06-02 09:06:43 +00:00
										 |  |  | BuildRequires:  %{python_module mkdocs >= 1.0.4}
 | 
					
						
							|  |  |  | BuildRequires:  %{python_module pip}
 | 
					
						
							| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | BuildRequires:  %{python_module setuptools}
 | 
					
						
							| 
									
										
										
										
											2025-06-02 09:06:43 +00:00
										 |  |  | BuildRequires:  %{python_module wheel}
 | 
					
						
							| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | BuildRequires:  fdupes
 | 
					
						
							| 
									
										
										
										
											2025-06-02 09:06:43 +00:00
										 |  |  | BuildRequires:  python-rpm-macros
 | 
					
						
							| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | Requires:       python-mkdocs >= 1.0.4
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | %python_subpackages
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							|  |  |  | A MkDocs plugin for dynamic page redirects to prevent broken links
 | 
					
						
							|  |  |  | (e.g. for moved/renamed pages).
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							|  |  |  | %setup -q -n mkdocs-redirects-%{version}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2025-06-02 09:06:43 +00:00
										 |  |  | %pyproject_wheel
 | 
					
						
							| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2025-06-02 09:06:43 +00:00
										 |  |  | %pyproject_install
 | 
					
						
							| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files %{python_files}
 | 
					
						
							|  |  |  | %doc README.md
 | 
					
						
							| 
									
										
										
										
											2025-06-02 09:06:43 +00:00
										 |  |  | %{python_sitelib}/mkdocs[-_]redirects
 | 
					
						
							|  |  |  | %{python_sitelib}/mkdocs[-_]redirects-%{version}*-info
 | 
					
						
							| 
									
										
										
										
											2021-11-20 22:09:39 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |