From 19ba23acd667ff32d5de6a8c222260dae3bf7169 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 28 Apr 2024 15:12:04 +0200 Subject: [PATCH] legacy package [release 2.2.0-2mamba;Sun Apr 28 2024] --- README.md | 2 + libplist33.spec | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 libplist33.spec diff --git a/README.md b/README.md index a5e0a01..b6cc688 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libplist33 +A library to handle Apple Property List format whereas it's binary or XML. + diff --git a/libplist33.spec b/libplist33.spec new file mode 100644 index 0000000..b5d4d26 --- /dev/null +++ b/libplist33.spec @@ -0,0 +1,123 @@ +Name: libplist33 +Version: 2.2.0 +Release: 2mamba +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: https://libimobiledevice.org/ +Source: https://github.com/libimobiledevice/libplist.git/%{version}/libplist-%{version}.tar.bz2 +License: GPL +BuildRequires: cmake +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: python-Cython-py3 + +%description +A library to handle Apple Property List format whereas it's binary or XML. + +%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. + +%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 needed for development. + +%debug_package + +%prep +%setup -q -n libplist-%{version} +./autogen.sh + +%build +%configure + +%make -j1 \ + PXDINCLUDES=plist.pxd \ +%ifarch %{ix86} + LIBS="-lm" +%endif + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + PXDINCLUDES=plist.pxd + +rm -rf %{buildroot}%{python3_sitearch}/plist* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libplist-2.0.so.* +%{_libdir}/libplist++-2.0.so.* +%doc AUTHORS COPYING COPYING.LESSER + +%files tools +%defattr(-,root,root) +%{_bindir}/plistutil +%{_mandir}/man1/plistutil.1* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/plist +%{_includedir}/plist/*.h +%{_includedir}/plist/cython/plist.pxd +%{_libdir}/libplist-2.0.a +%{_libdir}/libplist-2.0.so +%{_libdir}/libplist++-2.0.a +%{_libdir}/libplist++-2.0.so +%{_libdir}/pkgconfig/libplist++-2.0.pc +%{_libdir}/pkgconfig/libplist-2.0.pc +#%doc README + +%changelog +* Sun Apr 28 2024 Silvan Calarco 2.2.0-2mamba +- legacy package + +* Fri Jun 26 2020 Automatic Build System 2.2.0-1mamba +- automatic version update by autodist + +* Sat Feb 01 2020 Silvan Calarco 2.1.0-1mamba +- update to 2.1.0 + +* Mon Aug 07 2017 Automatic Build System 2.0.0-1mamba +- automatic version update by autodist + +* Tue Mar 03 2015 Automatic Build System 1.12-1mamba +- automatic version update by autodist + +* Thu Sep 11 2014 Silvan Calarco 1.11-2mamba +- rebuilt to fix python-plist dependency on old libplist + +* Mon Jul 28 2014 Automatic Build System 1.11-1mamba +- automatic version update by autodist + +* Tue Oct 29 2013 Automatic Build System 1.10-1mamba +- automatic version update by autodist + +* 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