%global debug_package %{nil} Name: smoke Version: 1.0.0 Release: 1%{?dist} Summary: A simple command-line note-taking application License: MIT URL: https://github.com/xieguaiwu/Smoking_Note Source0: Smoking_Note-main.tar.gz BuildRequires: gcc BuildRequires: make %description Smoke is a simple and lightweight command-line note-taking application written in C. It allows you to quickly add, list, and edit notes with automatic timestamps. Features: - Add notes with automatic timestamps - List all saved notes with line numbers - Edit existing notes - Cross-platform (Linux and Windows) - Persistent storage in local text file %prep %setup -q -n Smoking_Note-main %build gcc -O2 -o smoke smoke.c -Wall %install install -Dm755 smoke %{buildroot}%{_bindir}/smoke install -Dm644 LICENSE %{buildroot}%{_defaultlicensedir}/%{name}/LICENSE install -Dm644 README.md %{buildroot}%{_defaultdocdir}/%{name}/README.md %files %license LICENSE %doc README.md %{_bindir}/smoke %changelog * Sun Jun 22 2026 xgw - 1.0.0-1 - Initial Fedora 43 build - Rebuilt from source targeting Fedora 43