## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 34; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Pull from GitHub, since it has fixes not released on PyPI and contains # the LICENSE file as well as an additional doc. %global forgeurl https://github.com/JuanPotato/Legofy %global commit 0cadceb9f412636c11eb62370682a43ae329e4cb Name: legofy Version: 1.0.0 Release: %autorelease Summary: Make images look as if they are made out of 1x1 LEGO blocks %forgemeta # SPDX identifier License: MIT URL: %forgeurl Source0: %forgesource Source1: %{name}.1 BuildArch: noarch BuildRequires: python3-devel %description Legofy is a python program that takes a static image or gif and makes it so that it looks as if it was built out of LEGO. %prep %forgeautosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{name} install -pDm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/legofy.1 %files -f %{pyproject_files} %{_bindir}/%{name} %{_mandir}/man1/%{name}* %doc README.md 2010-LEGO-color-palette.pdf %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 1.0.0-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 1.0.0-33 - Rebuilt for Python 3.13 * Thu Jan 25 2024 Fedora Release Engineering - 1.0.0-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.0.0-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Nov 18 2023 Sandro - 1.0.0-30 - Migrate to SPDX license (no change) * Sat Nov 18 2023 Sandro - 1.0.0-29 - Use %%pyproject macros - Fetch new source tarball - Drop BRs (handled by macros now) - Drop %%license (already included) * Sat Nov 18 2023 Sandro - 1.0.0-28 - Use forge macros - Pull from master for additional fixes and LICENSE file - Drop unused (and now obsolete) patch * Sat Nov 18 2023 Sandro - 1.0.0-27 - Update summary (follow upstream) - Re-align description * Thu Jul 20 2023 Fedora Release Engineering - 1.0.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.0.0-23 - Rebuilt for Python 3.12 * Thu Jan 19 2023 Fedora Release Engineering - 1.0.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.0.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.0.0-20 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.0.0-17 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 1.0.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.0.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.0.0-14 - Rebuilt for Python 3.9 * Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.0.0-12 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.0-11 - Rebuilt for Python 3.8 * Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.0.0-7 - Rebuilt for Python 3.7 * Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.0.0-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.0.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri Mar 11 2016 Omar Berroteran Silva - 1.0.0-1 - Initial Package ## END: Generated by rpmautospec