## 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 forgeurl https://github.com/libimobiledevice/libideviceactivation %global commit ecc10ef8048c6591b936c5ca1b0971157087e6b2 %global date 20240529 %{?commit:%global shortcommit %(c=%{commit}; echo ${c:0:7})} Name: libideviceactivation Version: 1.1.1^%{date}git%{shortcommit} Release: %autorelease Summary: Library to handle the activation process of iOS devices License: LGPL-2.1-or-later AND GPL-3.0-or-later URL: https://www.libimobiledevice.org/ Source: %{forgeurl}/archive/%{commit}/%{name}-%{commit}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: libtool BuildRequires: make BuildRequires: libcurl-devel BuildRequires: libimobiledevice-devel BuildRequires: libplist-devel BuildRequires: libxml2-devel %description This project provides an interface to activate and deactivate iOS devices by talking to Apple's webservice. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development headers and libraries for %{name}. %package utils Summary: Utilities for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description utils This package provides a command-line utility to active and deactivate iOS devices leveraging %{name}. %prep %autosetup -p1 -n %{name}-%{commit} %if %{defined commit} echo %{version} > .tarball-version %endif %build NOCONFIGURE=1 ./autogen.sh %configure --disable-static %make_build %install %make_install %files %license COPYING COPYING.LESSER %doc AUTHORS NEWS README.md %{_libdir}/libideviceactivation-1.0.so.2{,.*} %files utils %{_bindir}/ideviceactivation %{_mandir}/man1/ideviceactivation.1* %files devel %{_libdir}/libideviceactivation-1.0.so %{_libdir}/pkgconfig/libideviceactivation-1.0.pc %{_includedir}/libideviceactivation.h %changelog ## START: Generated by rpmautospec * Fri Oct 04 2024 Davide Cavalca - 1.1.1^20240529gitecc10ef-1 - Initial import; Fixes: RHBZ#2316470 ## END: Generated by rpmautospec