## 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 7b3342649040a71b5fc9de4b3c862110283d4548 %global shortcommit %(c=%{commit}; echo ${c:0:8}) %global commitdate 20250506 Name: libcclc Version: 0.7.0^%{commitdate}git%{shortcommit} Release: %{autorelease} Summary: Client library for Cafe Con Leche License: BSD-3-Clause URL: https://ccl.sourceforge.net/ Source: https://git.sr.ht/~bvkcm/libcclc/archive/%{shortcommit}.tar.gz#/libcclc-%{shortcommit}.tar.gz Patch: libinstall.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gawk BuildRequires: gcc BuildRequires: make BuildRequires: libtool BuildRequires: openssl-devel %description A library that makes the creation of applications to manage Internet Cafes easier. libcclc is the library used for the clients. %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}/libcclc.so.0 %{_libdir}/libcclc.so.0.7.0 %files devel %{_includedir}/cclc.h %{_libdir}/libcclc.so %changelog ## START: Generated by rpmautospec * Tue May 06 2025 John Doe - 0.7.0^20250506git7b334264-1 - Uncommitted changes ## END: Generated by rpmautospec