You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libtatsu/SPECS/libtatsu.spec

65 lines
1.7 KiB

## 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
Name: libtatsu
Version: 1.0.3
Release: %autorelease
Summary: Library handling the communication with Apple's TSS
License: LGPL-2.1-only
URL: https://github.com/libimobiledevice/libtatsu
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: make
BuildRequires: libplist-devel
BuildRequires: libcurl-devel
%description
The libtatsu library allows creating TSS request payloads, sending them to
Apple's TSS server, and retrieving and processing the response.
%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
%build
%configure --disable-static
%make_build
%install
%make_install
%files
%license COPYING
%doc NEWS README.md
%{_libdir}/%{name}.so.0*
%files devel
%{_includedir}/%{name}/
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}-1.0.pc
%changelog
* Wed Jan 15 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.3-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Tue Sep 03 2024 Davide Cavalca <dcavalca@fedoraproject.org> - 1.0.3-1
- Initial import; Fixes: RHBZ#2292505
## END: Generated by rpmautospec