2024-01-06 05:24:19 +01:00
|
|
|
Name: libplist
|
2024-01-06 05:24:19 +01:00
|
|
|
Version: 2.2.0
|
2024-01-06 05:24:19 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:24:19 +01:00
|
|
|
Summary: A library to handle Apple Property List format whereas it's binary or XML
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.libimobiledevice.org
|
2024-01-06 05:24:19 +01:00
|
|
|
Source: https://github.com/libimobiledevice/libplist.git/%{version}/libplist-%{version}.tar.bz2
|
|
|
|
#Source: http://www.libimobiledevice.org/downloads/libplist-%{version}.tar.bz2
|
2024-01-06 05:24:19 +01:00
|
|
|
License: GPL
|
|
|
|
BuildRequires: cmake
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: Cython
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library to handle Apple Property List format whereas it's binary or XML.
|
|
|
|
|
|
|
|
%package -n python-plist
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: python >= %{pyver}
|
|
|
|
|
|
|
|
%description -n python-plist
|
|
|
|
A Python library to handle Apple Property List format whereas it's binary or XML.
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
%package tools
|
|
|
|
Group: Development/Tools
|
|
|
|
Summary: Tools provided with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
A library to handle Apple Property List format whereas it's binary or XML.
|
|
|
|
This package contains static tools needed for development.
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A library to handle Apple Property List format whereas it's binary or XML.
|
2024-01-06 05:24:19 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:24:19 +01:00
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:24:19 +01:00
|
|
|
./autogen.sh
|
2024-01-06 05:24:19 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:24:19 +01:00
|
|
|
%configure
|
|
|
|
%make -j1 \
|
2024-01-06 05:24:19 +01:00
|
|
|
PXDINCLUDES=plist.pxd \
|
|
|
|
%ifarch %{ix86}
|
|
|
|
LIBS="-lm"
|
|
|
|
%endif
|
2024-01-06 05:24:19 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:24:19 +01:00
|
|
|
%makeinstall \
|
|
|
|
PXDINCLUDES=plist.pxd
|
2024-01-06 05:24:19 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:24:19 +01:00
|
|
|
%{_libdir}/libplist-2.0.so.*
|
|
|
|
%{_libdir}/libplist++-2.0.so.*
|
2024-01-06 05:24:19 +01:00
|
|
|
%doc AUTHORS COPYING COPYING.LESSER
|
|
|
|
|
|
|
|
%files -n python-plist
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{python_sitearch}/plist*
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/plistutil
|
|
|
|
%{_mandir}/man1/plistutil.1*
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/plist
|
|
|
|
%{_includedir}/plist/*.h
|
2024-01-06 05:24:19 +01:00
|
|
|
#%{_includedir}/plist/swig/plist.i
|
2024-01-06 05:24:19 +01:00
|
|
|
%{_includedir}/plist/cython/plist.pxd
|
2024-01-06 05:24:19 +01:00
|
|
|
%{_libdir}/libplist-2.0.a
|
|
|
|
%{_libdir}/libplist-2.0.la
|
|
|
|
%{_libdir}/libplist-2.0.so
|
|
|
|
%{_libdir}/libplist++-2.0.a
|
|
|
|
%{_libdir}/libplist++-2.0.la
|
|
|
|
%{_libdir}/libplist++-2.0.so
|
|
|
|
%{_libdir}/pkgconfig/libplist++-2.0.pc
|
|
|
|
%{_libdir}/pkgconfig/libplist-2.0.pc
|
2024-01-06 05:24:19 +01:00
|
|
|
#%doc README
|
2024-01-06 05:24:19 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:24:19 +01:00
|
|
|
* Fri Jun 26 2020 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
* Sat Feb 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- update to 2.1.0
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
* Tue Mar 03 2015 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
* Thu Sep 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11-2mamba
|
|
|
|
- rebuilt to fix python-plist dependency on old libplist
|
|
|
|
|
|
|
|
* Mon Jul 28 2014 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:24:19 +01:00
|
|
|
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 29 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8-1mamba
|
|
|
|
- update to 1.8
|
|
|
|
- added python package
|
|
|
|
|
|
|
|
* Mon Sep 20 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
|
|
|
|
- package created by autospec
|