Name: libplist Version: 1.8 Release: 1mamba2 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 URL: http://www.libimobiledevice.org Source: http://www.libimobiledevice.org/downloads/libplist-%{version}.tar.bz2 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. %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. This package contains static libraries and header files need for development. %prep %setup -q %build %cmake -d build %make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/plutil %{_bindir}/plutil-%{version} %{_libdir}/*.so.* %doc AUTHORS COPYING COPYING.LESSER README %files -n python-plist %defattr(-,root,root,-) %{python_sitearch}/plist* %files devel %defattr(-,root,root) %dir %{_includedir}/plist %{_includedir}/plist/*.h %{_includedir}/plist/swig/plist.i %{_includedir}/plist/cython/plist.pxd %{_libdir}/*.so %{_libdir}/pkgconfig/libplist++.pc %{_libdir}/pkgconfig/libplist.pc %changelog * Tue May 29 2012 Silvan Calarco 1.8-1mamba2 - mamba2 milestone rebuild * Sun Jan 29 2012 Stefano Cotta Ramusino 1.8-1mamba - update to 1.8 - added python package * Mon Sep 20 2010 Silvan Calarco 1.3-1mamba - package created by autospec