## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 abi_ver 1 Name: libscfg Version: 0.1.1 Release: %autorelease Summary: C library for a simple configuration file format License: MIT URL: https://sr.ht/~emersion/libscfg/ %global forgeurl https://git.sr.ht/~emersion/libscfg Source0: %{forgeurl}/refs/download/v%{version}/%{name}-%{version}.tar.gz Source1: %{forgeurl}/refs/download/v%{version}/%{name}-%{version}.tar.gz.sig # 0FDE7BE0E88F5E48: emersion Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/gpgkey-0FDE7BE0E88F5E48.gpg Patch: %{forgeurl}/commit/3bdba8c2.patch#/libscfg-0.1.1-build-set-library-version-and-soversion.patch BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: meson %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build %meson %meson_build %install %meson_install %check %meson_test %files %license LICENSE %doc README.md %{_libdir}/libscfg.so.%{abi_ver} %{_libdir}/libscfg.so.%{version} %files devel %{_includedir}/scfg.h %{_libdir}/libscfg.so %{_libdir}/pkgconfig/scfg.pc %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Mar 25 2024 Aleksei Bavshin - 0.1.1-1 - Initial import (#2268364) ## END: Generated by rpmautospec