2019-09-30 10:57:36 -04:00
|
|
|
Name: libplist
|
|
|
|
|
Version: 2.0.0
|
2020-06-24 18:06:12 +08:00
|
|
|
Release: 14
|
2019-09-30 10:57:36 -04:00
|
|
|
Summary: A library to handle Apple Property List format in binary or XML
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://www.libimobiledevice.org/
|
|
|
|
|
Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
2020-06-24 18:06:12 +08:00
|
|
|
|
|
|
|
|
Patch0000: Updated-ac_python_devel.m4-to-newer-ax_python_devel.patch
|
|
|
|
|
|
2019-09-30 10:57:36 -04:00
|
|
|
BuildRequires: automake autoconf libtool chrpath gcc gcc-c++ python3-devel python3-Cython python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A small portable C library to handle Apple Property List files in binary or XML.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release} pkgconf
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The libplist-devel package contains the header files and documentation
|
|
|
|
|
needed for development using libplist.
|
|
|
|
|
|
|
|
|
|
%package -n python3-libplist
|
|
|
|
|
%{?python_provide:%python_provide python3-libplist}
|
|
|
|
|
Summary: python 3 bindings for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release} python3
|
|
|
|
|
Provides: %{name}-python = %{version}-%{release}
|
|
|
|
|
Provides: python2-%{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python3-libplist
|
|
|
|
|
python3-libplist contains the python3 bindings for %{name}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
ACLOCAL="aclocal -I m4"
|
|
|
|
|
autoreconf -f -i
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
%configure --disable-static PYTHON='python3'
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS README COPYING.LESSER
|
|
|
|
|
%{_bindir}/plistutil
|
|
|
|
|
%{_libdir}/libplist.so.3*
|
|
|
|
|
%{_libdir}/libplist++.so.3*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/libplist.so
|
|
|
|
|
%{_libdir}/libplist++.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
%{_includedir}/plist
|
|
|
|
|
|
|
|
|
|
%files -n python3-libplist
|
|
|
|
|
%defattr(-,root,root)
|
2020-06-28 09:23:31 +08:00
|
|
|
%{_libdir}/python3*/site-packages/*
|
2019-09-30 10:57:36 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2020-06-24 18:06:12 +08:00
|
|
|
* Wed Jun 24 2020 chenditang <chenditang1@huawei.com> - 2.0.0-14
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Updated ac_python_devel.m4 to newer ax_python_devel.m4
|
|
|
|
|
|
2019-09-30 10:57:36 -04:00
|
|
|
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-13
|
|
|
|
|
- Fix bad requires
|
|
|
|
|
|
|
|
|
|
* Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-12
|
|
|
|
|
- Package init
|