Name: libpar2 Version: 0.2 Release: 36%{?dist} Summary: Library for performing comman tasks related to PAR recovery sets License: GPLv2+ URL: http://parchive.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/sourceforge/parchive/%{name}-%{version}.tar.gz Patch0: libpar2-0.2-cancel.patch Patch1: libpar2-0.2-bugfixes.patch BuildRequires: gcc-c++ BuildRequires: libsigc++20-devel libtool BuildRequires: sed BuildRequires: make %description LibPar2 allows for the generation, modification, verification, and repair of PAR v1.0 and PAR v2.0(PAR2) recovery sets. It contains the basic functions needed for working with these sets and is the basis for GUI applications such as GPar2. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: libsigc++20-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p2 %patch1 -p2 #fix source files chmod -x *.cpp *.h ChangeLog touch tmpfile -r README sed -i 's/\r//' README touch -r tmpfile README touch tmpfile -r ROADMAP sed -i 's/\r//' ROADMAP touch -r tmpfile ROADMAP touch tmpfile -r AUTHORS sed -i 's/\r//' AUTHORS touch -r tmpfile AUTHORS %build #fix aarch64 build libtoolize autoreconf -i %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets %files %{_libdir}/*.so.* %doc COPYING README ChangeLog AUTHORS ROADMAP %files devel %{_includedir}/* %{_libdir}/*.so %dir %{_libdir}/%{name} %{_libdir}/%{name}/include/ %changelog * Thu Jan 20 2022 Fedora Release Engineering - 0.2-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.2-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.2-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.2-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.2-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.2-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.2-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.2-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 15 2017 Fedora Release Engineering - 0.2-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.2-21 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Apr 24 2013 Marcel Wysocki - 0.2-17 - add libtool builddep to fix build * Wed Apr 24 2013 Marcel Wysocki - 0.2-16 - fix aarch64 build #925858 * Wed Apr 24 2013 Marcel Wysocki - 0.2-15 - added fixes upstream wouldnt add because its dead * Thu Feb 14 2013 Fedora Release Engineering - 0.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 0.2-12 - Rebuilt for c++ ABI breakage * Fri Jan 13 2012 Fedora Release Engineering - 0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Aug 29 2008 Michael Schwendt 0.2-7 - Include %%_libdir/libpar2 directory * Sat Jun 21 2008 Adel Gadllah 0.2-6 - Add missing requires to devel package (RH #452363) * Sat Feb 09 2008 Adel Gadllah 0.2-5 - Rebuild for gcc-4.3 * Sat Dec 29 2007 Adel Gadllah 0.2-4 - Preserve doc timestamps * Sat Dec 29 2007 Adel Gadllah 0.2-3 - Drop makefile patch - Some cleanups * Sat Dec 29 2007 Adel Gadllah 0.2-2 - Preserve timestamps - Package docs - Fix description * Fri Dec 28 2007 Adel Gadllah 0.2-1 - Initial package