## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %global debug_package %{nil} #%global _legacy_common_support 1 %global build_type_safety_c 0 %global _lto_cflags %{nil} %undefine _hardened_build %undefine _fortify_level %undefine _annotated_build %undefine _ld_as_needed %undefine _ld_pack_relocs %global _legacy_common_support 1 %undefine _package_note_file %undefine _include_frame_pointers # https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md Name: iraf Version: 2.18.1 Release: %autorelease Summary: Image Reduction and Analysis Facility License: MIT URL: https://iraf-community.github.io/ Source0: https://github.com/iraf-community/iraf/archive/refs/tags/v2.18.1.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: perl BuildRequires: byacc flex BuildRequires: zlib-devel BuildRequires: readline-devel %description IRAF stands for the Image Reduction and Analysis Facility. It was the de facto standard for the general processing of astronomical images and spectroscopy from the ultraviolet to the far infrared. IRAF is a product of the National Optical Astronomy Observatories (www.noao.edu). %prep %autosetup %build CFLAGS='-O2 -g -pipe -Wall ' export CFLAGS make prefix=/usr %{?_smp_mflags} %install make prefix=/usr DESTDIR=%{buildroot} install %files /etc/iraf/irafroot /usr/bin/* /usr/lib/iraf/* /usr/share/man/man1/* %changelog ## START: Generated by rpmautospec * Tue Mar 03 2026 John Doe - 2.18.1-1 - Uncommitted changes ## END: Generated by rpmautospec