350 lines
12 KiB
RPMSpec
350 lines
12 KiB
RPMSpec
|
## START: Set by rpmautospec
|
||
|
## (rpmautospec version 0.5.1)
|
||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||
|
release_number = 4;
|
||
|
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 realname libplist
|
||
|
%global _python3_sitearch %{python3_sitearch}
|
||
|
|
||
|
%global _prefix /opt/rx
|
||
|
|
||
|
|
||
|
%global forgeurl https://github.com/libimobiledevice/libplist
|
||
|
|
||
|
Name: rx-libplist
|
||
|
Version: 2.3.0
|
||
|
Release: %autorelease
|
||
|
Summary: Library for manipulating Apple Binary and XML Property Lists
|
||
|
|
||
|
License: LGPL-2.0-or-later
|
||
|
URL: https://www.libimobiledevice.org/
|
||
|
Source: %{forgeurl}/releases/download/%{version}/%{realname}-%{version}.tar.bz2
|
||
|
Patch0: libplist-configure-c99.patch
|
||
|
Patch1: libplist-fix-msc_ver.patch
|
||
|
|
||
|
BuildRequires: autoconf
|
||
|
BuildRequires: automake
|
||
|
BuildRequires: libtool
|
||
|
BuildRequires: gcc gcc-c++
|
||
|
BuildRequires: python3-Cython
|
||
|
BuildRequires: python3-devel
|
||
|
BuildRequires: python3-setuptools
|
||
|
BuildRequires: make
|
||
|
|
||
|
%description
|
||
|
libplist is a library for manipulating Apple Binary and XML Property Lists
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development package for libplist
|
||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
Requires: pkgconfig
|
||
|
|
||
|
%description devel
|
||
|
%{name}, development headers and libraries.
|
||
|
#
|
||
|
# %package -n python3-libplist
|
||
|
# Summary: Python3 bindings for libplist
|
||
|
# Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
# Requires: python3
|
||
|
#
|
||
|
# %description -n python3-libplist
|
||
|
# %{name}, python3 libraries and bindings.
|
||
|
|
||
|
%prep
|
||
|
%autosetup -p1 -n %{realname}-%{version}
|
||
|
|
||
|
%build
|
||
|
%global __python3 /usr/bin/python3
|
||
|
|
||
|
autoreconf -iv
|
||
|
%configure --disable-static --without-cython
|
||
|
%make_build
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||
|
rm -f %{buildroot}%{python3_sitearch}/plist.la
|
||
|
|
||
|
%check
|
||
|
make check
|
||
|
|
||
|
%files
|
||
|
%license COPYING.LESSER
|
||
|
%doc AUTHORS README.md
|
||
|
%{_bindir}/plistutil
|
||
|
%{_libdir}/libplist-2.0.so.4*
|
||
|
%{_libdir}/libplist++-2.0.so.4*
|
||
|
%{_mandir}/man1/plistutil.1*
|
||
|
|
||
|
%files devel
|
||
|
%{_libdir}/pkgconfig/libplist-2.0.pc
|
||
|
%{_libdir}/pkgconfig/libplist++-2.0.pc
|
||
|
%{_libdir}/libplist-2.0.so
|
||
|
%{_libdir}/libplist++-2.0.so
|
||
|
%{_includedir}/plist
|
||
|
|
||
|
# %files -n python3-libplist
|
||
|
# %{_python3_sitearch}/plist.so
|
||
|
|
||
|
%changelog
|
||
|
## START: Generated by rpmautospec
|
||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Mon Dec 18 2023 Florian Weimer <fweimer@redhat.com> - 2.3.0-2
|
||
|
- Fix C compatibility in configure script, run autoconf
|
||
|
|
||
|
* Thu Jul 27 2023 Davide Cavalca <dcavalca@fedoraproject.org> - 2.3.0-1
|
||
|
- Update to 2.3.0; Fixes: RHBZ#2217642
|
||
|
|
||
|
* Thu Jul 27 2023 Davide Cavalca <dcavalca@fedoraproject.org> - 2.2.0-16
|
||
|
- Drop logic for deprecated releases
|
||
|
|
||
|
* Thu Jul 27 2023 Davide Cavalca <dcavalca@fedoraproject.org> - 2.2.0-15
|
||
|
- Convert license tag to SPDX
|
||
|
|
||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-11
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.2.0-10
|
||
|
- Rebuilt for Python 3.12
|
||
|
|
||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-8
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.2.0-7
|
||
|
- Rebuilt for Python 3.11
|
||
|
|
||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.2.0-4
|
||
|
- Rebuilt for Python 3.10
|
||
|
|
||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 16 2020 Bastien Nocera <bnocera@redhat.com> - 2.2.0-1
|
||
|
+ libplist-2.2.0-1
|
||
|
- Update to 2.2.0, breaking the ABI
|
||
|
- Stop linking python module against libpython
|
||
|
|
||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-4
|
||
|
- Rebuilt for Python 3.9
|
||
|
|
||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Sat Jan 18 2020 Tom Stellard <tstellar@redhat.com> - 2.1.0-2
|
||
|
- Spec cleanup: Use make_build, make_install, __cc, and __cxx macros
|
||
|
|
||
|
* Sat Nov 23 2019 Bastien Nocera <bnocera@redhat.com> - 2.1.0-1
|
||
|
+ libplist-2.1.0-1
|
||
|
- Update to 2.1.0
|
||
|
|
||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-15
|
||
|
- Rebuilt for Python 3.8
|
||
|
|
||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-14
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Sun Jun 09 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.0.0-13
|
||
|
- Add Python 3.8 compatibility
|
||
|
|
||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-12
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-10
|
||
|
- Rebuilt for Python 3.7
|
||
|
|
||
|
* Thu Jun 07 2018 Bastien Nocera <bnocera@redhat.com> - 2.0.0-9
|
||
|
+ libplist-2.0.0-9
|
||
|
- Fix libplist python2 sub-package obsolescence
|
||
|
|
||
|
* Thu Jun 07 2018 Bastien Nocera <bnocera@redhat.com> - 2.0.0-8
|
||
|
- Port to python3, and obsolete Python2 subpackage
|
||
|
|
||
|
* Wed Mar 7 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.0-8
|
||
|
- Add gcc BR
|
||
|
|
||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
|
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.0-6
|
||
|
- Update Python 2 dependency declarations to new packaging standards
|
||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||
|
|
||
|
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-5
|
||
|
- Add Provides for the old name without %%_isa
|
||
|
|
||
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-4
|
||
|
- Python 2 binary package renamed to python2-libplist
|
||
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||
|
|
||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||
|
|
||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||
|
|
||
|
* Wed Apr 26 2017 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.0-1
|
||
|
- Update to upstream 2.0.0
|
||
|
- Fixes the following CVEs plus others
|
||
|
- CVE-2017-6440 CVE-2017-6439 CVE-2017-6438 CVE-2017-6437 CVE-2017-6436
|
||
|
- CVE-2017-6435 CVE-2017-5836 CVE-2017-5835 CVE-2017-5834 CVE-2017-5545
|
||
|
- CVE-2017-5209
|
||
|
|
||
|
* Thu Mar 09 2017 Kalev Lember <klember@redhat.com> - 1.12-9
|
||
|
- Remove lib64 rpaths
|
||
|
- Disable strict aliasing as it's not strict-aliasing clean on ppc64el
|
||
|
- Don't redefine licensedir
|
||
|
|
||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-8
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||
|
|
||
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7
|
||
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||
|
|
||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||
|
|
||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||
|
|
||
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.12-4
|
||
|
- Rebuilt for GCC 5 C++11 ABI change
|
||
|
|
||
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.12-3
|
||
|
- Rebuilt for Fedora 23 Change
|
||
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||
|
|
||
|
* Tue Feb 3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.12-2
|
||
|
- Use %%license
|
||
|
|
||
|
* Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.12-1
|
||
|
- New upstream 1.12 release
|
||
|
|
||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||
|
|
||
|
* Sat Mar 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.11-1
|
||
|
- New upstream 1.11 release
|
||
|
|
||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||
|
|
||
|
* Tue Mar 19 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.10-1
|
||
|
- New upstream 1.10 release
|
||
|
|
||
|
* Mon Mar 18 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.9-1
|
||
|
- New upstream 1.9 release
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Wed Apr 11 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8-4
|
||
|
- Fix python bindings
|
||
|
|
||
|
* Wed Apr 11 2012 Rex Dieter <rdieter@fedoraproject.org> 1.8-3
|
||
|
- fix ftbfs, work harder to ensure CMAKE_INSTALL_LIBDIR macro is correct
|
||
|
|
||
|
* Fri Mar 23 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8-2
|
||
|
- Fix RPATH issue with cmake, disable parallel build as it causes other problems
|
||
|
|
||
|
* Thu Jan 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8-1
|
||
|
- 1.8 release
|
||
|
|
||
|
* Mon Sep 26 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7-1
|
||
|
- 1.7 release
|
||
|
|
||
|
* Sat Jun 25 2011 Peter Robinson <pbrobinson@fedoraproject.org> 1.6-1
|
||
|
- 1.6 release
|
||
|
|
||
|
* Mon Jun 13 2011 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-1
|
||
|
- 1.5 release
|
||
|
|
||
|
* Tue Mar 22 2011 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-1
|
||
|
- stable 1.4 release
|
||
|
|
||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
|
||
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.3-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||
|
|
||
|
* Tue Apr 20 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-1
|
||
|
- Upstream stable 1.3 release
|
||
|
|
||
|
* Sat Jan 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.2-1
|
||
|
- Upstream stable 1.2 release
|
||
|
|
||
|
* Sat Jan 9 2010 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-5
|
||
|
- Updated to the new python sysarch spec file reqs
|
||
|
|
||
|
* Mon Dec 7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-4
|
||
|
- and once more with feeling
|
||
|
|
||
|
* Mon Dec 7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-3
|
||
|
- Further updated fixes for the spec file
|
||
|
|
||
|
* Mon Dec 7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-2
|
||
|
- Drop upstreamed patch
|
||
|
|
||
|
* Mon Dec 7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.0-1
|
||
|
- Upstream stable 1.0.0 release
|
||
|
|
||
|
* Thu Oct 29 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.16-3
|
||
|
- Actually add patch for python
|
||
|
|
||
|
* Thu Oct 29 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.16-2
|
||
|
- Add python patch and c++ bindings
|
||
|
|
||
|
* Thu Oct 29 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.16-1
|
||
|
- New upstream 0.16 release
|
||
|
|
||
|
* Tue Oct 20 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.15-1
|
||
|
- New upstream 0.15 release
|
||
|
|
||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||
|
|
||
|
* Mon May 11 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.13-1
|
||
|
- New upstream 0.13 release
|
||
|
|
||
|
* Mon May 11 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12-2
|
||
|
- Further review updates
|
||
|
|
||
|
* Sun May 10 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12-1
|
||
|
- Update to official tarball release, some review fixes
|
||
|
|
||
|
* Sun May 10 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.0-0.1
|
||
|
- Initial package
|
||
|
|
||
|
## END: Generated by rpmautospec
|