## START: Set by rpmautospec ## (rpmautospec version 0.7.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 # no tag release %global forgeurl https://github.com/linuxdeepin/dareader %global date 20230710 %global commit 933fddbdae37322674adfeeda201d70fd71390f9 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %forgemeta Name: dareader Version: 0 Release: %autorelease Summary: Read image/video from socket file License: GPL-3.0-or-later URL: %{forgeurl} Source0: %{forgesource} BuildRequires: gcc-c++ BuildRequires: cmake %description %{summary}. %package devel Summary: Development files for dareader Requires: dareader%{?_isa} = %{version}-%{release} %description devel This package contains development files for dareader. %prep %forgeautosetup -p1 %build %cmake %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_libdir}/libdareader.so.1* %files devel %{_libdir}/libdareader.so %{_libdir}/pkgconfig/dareader.pc %dir %{_includedir}/dareader %{_includedir}/dareader/reader.h %changelog ## START: Generated by rpmautospec * Thu Aug 08 2024 topazus - 0-1 - initial import; rhbz#2303694 ## END: Generated by rpmautospec