## 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 %global commit 4c3f07a74026608ca6a2add490c88f98671eca4a %global shortcommit %(c=%{commit}; echo ${c:0:8}) %global commitdate 20250505 Name: libccls Version: 0.7.0^%{commitdate}git%{shortcommit} Release: %{autorelease} Summary: Server library for Cafe Con Leche License: BSD-3-Clause URL: https://ccl.sourceforge.net/ Source: https://git.sr.ht/~bvkcm/libccls/archive/%{shortcommit}.tar.gz#/libccls-%{shortcommit}.tar.gz Patch: libinstall.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gawk BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: libtool BuildRequires: make BuildRequires: openssl-devel BuildRequires: sqlite-devel %description A library that makes the creation of applications to manage Internet Cafes easier. libccls is the library used for the server. %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 %autosetup -p1 -n %{name}-%{shortcommit} %build autoreconf -fi %configure --disable-static --enable-shared %make_build %install %make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' %files %license COPYING %doc README %doc AUTHORS %{_libdir}/libccls.so.0 %{_libdir}/libccls.so.0.7.0 %files devel %{_includedir}/ccls.h %{_libdir}/libccls.so %changelog ## START: Generated by rpmautospec * Tue May 06 2025 John Doe - 0.7.0^20250505git4c3f07a7-1 - Uncommitted changes ## END: Generated by rpmautospec