## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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/selmf/%{upstream_package_name} %global tag v%{version} %global upstream_package_name unarr Name: lib%{upstream_package_name} Version: 1.1.1 %forgemeta Release: %autorelease Summary: Decompression library for rar, tar and zip archives License: LGPL-3.0-or-later URL: %{forgeurl} Source0: %{forgesource} BuildRequires: cmake BuildRequires: gcc BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(zlib) %description (lib)unarr is a decompression library for RAR, TAR, ZIP and 7z* archives. It was forked from unarr, which originated as a port of the RAR extraction features from The Unarchiver project required for extracting images from comic book archives. Zeniko wrote unarr as an alternative to libarchive which didn't have support for parsing filters or solid compression at the time. While (lib)unarr was started with the intent of providing unarr with a proper cmake based build system suitable for packaging and cross-platform development, it's focus has now been extended to provide code maintenance and to continue the development of unarr, which no longer is maintained. %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 %forgeautosetup -p1 # wrong-file-end-of-line-encoding fix sed -i 's/\r$//' README.md %build %cmake %cmake_build %install %cmake_install %files %license COPYING %doc CHANGELOG.md README.md AUTHORS %{_libdir}/%{name}.so.1* %files devel %{_includedir}/%{upstream_package_name}.h %{_libdir}/%{name}.so %{_libdir}/cmake/%{upstream_package_name}/%{upstream_package_name}-*.cmake %{_libdir}/pkgconfig/%{name}.pc %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Feb 14 2024 Artem Polishchuk - 1.1.1-4 - packit: Update config * Thu Jan 25 2024 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Oct 21 2023 Packit - 1.1.1-1 - [packit] 1.1.1 upstream release - Resolves rhbz#2245431 Upstream tag: v1.1.1 Upstream commit: b211040d * Sat Oct 21 2023 Artem Polishchuk - 1.1.0-10 - build: Add Packit config * Sat Oct 21 2023 Artem Polishchuk - 1.1.0-9 - build: Use forge macros * Sat Oct 21 2023 Artem Polishchuk - 1.1.0-8 - license: Convert to SPDX * Sun Sep 03 2023 Artem Polishchuk - 1.1.0-7 - build: Update description * Sun Sep 03 2023 Artem Polishchuk - 1.1.0-1 - chore(update): 1.1.0 * Thu Jul 20 2023 Fedora Release Engineering - 1.1.0-0.4.beta1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.1.0-0.3.beta1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.1.0-0.2.beta1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun May 01 2022 Artem Polishchuk - 1.1.0-0.1.beta1 - chore(update): 1.1.0-beta1 * Thu Jan 20 2022 Fedora Release Engineering - 1.0.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Artem Polishchuk - 1.0.1-10 - Rebuild with out-of-source builds new CMake macros * Tue Jul 28 2020 Fedora Release Engineering - 1.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 16 2019 Artem Polishchuk - 1.0.1-7 - Update * Thu Jul 25 2019 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Mar 29 2019 Artem Polishchuk - 1.0.1-3 - Initial package. ## END: Generated by rpmautospec