File diary.spec of Package diary
#
# spec file for package diary
#
# Copyright (c) 2024 Andreas Gruhler
#
# 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.
Name: diary
Version: 0.13
Release: 0
License: MIT
Summary: Text-based journaling program
Url: https://code.in0rdr.ch/diary
Group: Productivity/Text/Utilities
Source: v%{version}.tar.gz
BuildRequires: gcc
BuildRequires: pkgconfig
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(lttng-ust)
Requires: pkgconfig(ncurses)
Requires: pkgconfig(libcurl)
Requires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-v%{version}-build
# BuildArch:
%description
Text-based journaling program
%global debug_package %{nil}
%prep
%setup -q -n %{name}-v%{version}
%build
make
%install
mkdir -p %{buildroot}%{_bindir}
%make_install DESTDIR=%{buildroot} PREFIX="%{_prefix}"
%files
%defattr(-,root,root,-)
%doc README.md CHANGELOG.md LICENSE
%{_bindir}/diary
%{_mandir}/man1/diary*
%changelog