|
|
944a0f1 |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
|
fe489e1 |
|
|
|
fe489e1 |
Name: libplist
|
|
|
6863fda |
Version: 1.3
|
|
|
427faa9 |
Release: 3%{?dist}
|
|
|
fe489e1 |
Summary: Library for manipulating Apple Binary and XML Property Lists
|
|
|
fe489e1 |
|
|
|
fe489e1 |
Group: System Environment/Libraries
|
|
|
fe489e1 |
License: LGPLv2+
|
|
|
fe489e1 |
URL: http://matt.colyer.name/projects/iphone-linux/
|
|
|
fe489e1 |
|
|
|
fe489e1 |
Source0: http://cloud.github.com/downloads/JonathanBeck/%{name}/%{name}-%{version}.tar.bz2
|
|
|
fe489e1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
fe489e1 |
|
|
|
fe489e1 |
BuildRequires: libxml2-devel
|
|
|
fe489e1 |
BuildRequires: glib2-devel
|
|
|
fe489e1 |
BuildRequires: python-devel
|
|
|
fe489e1 |
BuildRequires: swig
|
|
|
fe489e1 |
BuildRequires: cmake
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%description
|
|
|
fe489e1 |
libplist is a library for manipulating Apple Binary and XML Property Lists
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%package devel
|
|
|
fe489e1 |
Summary: Development package for libplist
|
|
|
fe489e1 |
Group: Development/Libraries
|
|
|
fe489e1 |
Requires: libplist = %{version}-%{release}
|
|
|
fe489e1 |
Requires: pkgconfig
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%description devel
|
|
|
fe489e1 |
%{name}, development headers and libraries.
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%package python
|
|
|
fe489e1 |
Summary: Python package for libplist
|
|
|
fe489e1 |
Group: Development/Libraries
|
|
|
fe489e1 |
Requires: libplist = %{version}-%{release}
|
|
|
fe489e1 |
Requires: python
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%description python
|
|
|
fe489e1 |
%{name}, python libraries and support
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%prep
|
|
|
fe489e1 |
%setup -q
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%build
|
|
|
fe489e1 |
export CMAKE_PREFIX_PATH=/usr
|
|
|
fe489e1 |
%{cmake} .
|
|
|
fe489e1 |
|
|
|
fe489e1 |
make %{?_smp_mflags}
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%install
|
|
|
fe489e1 |
export CMAKE_PREFIX_PATH=/usr
|
|
|
fe489e1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
fe489e1 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%clean
|
|
|
fe489e1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%post -p /sbin/ldconfig
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%postun -p /sbin/ldconfig
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%files
|
|
|
fe489e1 |
%defattr(-,root,root,-)
|
|
|
fe489e1 |
%doc AUTHORS COPYING.LESSER README
|
|
|
fe489e1 |
%{_bindir}/plutil
|
|
|
646ec19 |
%{_bindir}/plutil-%{version}
|
|
|
5cdef50 |
%{_libdir}/libplist.so.*
|
|
|
5cdef50 |
%{_libdir}/libplist++.so.*
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%files devel
|
|
|
fe489e1 |
%defattr(-,root,root,-)
|
|
|
fe489e1 |
%{_libdir}/pkgconfig/libplist.pc
|
|
|
646ec19 |
%{_libdir}/pkgconfig/libplist++.pc
|
|
|
fe489e1 |
%{_libdir}/libplist.so
|
|
|
646ec19 |
%{_libdir}/libplist++.so
|
|
|
fe489e1 |
%{_includedir}/plist
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%files python
|
|
|
fe489e1 |
%defattr(-,root,root,-)
|
|
|
2ad1364 |
%{python_sitearch}/plist
|
|
|
fe489e1 |
|
|
|
fe489e1 |
%changelog
|
|
|
427faa9 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
|
|
|
427faa9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
427faa9 |
|
|
|
84482ed |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.3-2
|
|
|
84482ed |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
84482ed |
|
|
|
6863fda |
* Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.3-1
|
|
|
6863fda |
- Upstream stable 1.3 release
|
|
|
6863fda |
|
|
|
5cdef50 |
* Sat Jan 23 2010 Peter Robinson <pbrobinson@gmail.com> 1.2-1
|
|
|
5cdef50 |
- Upstream stable 1.2 release
|
|
|
5cdef50 |
|
|
|
944a0f1 |
* Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-5
|
|
|
944a0f1 |
- Updated to the new python sysarch spec file reqs
|
|
|
944a0f1 |
|
|
|
2ad1364 |
* Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-4
|
|
|
2ad1364 |
- and once more with feeling
|
|
|
2ad1364 |
|
|
|
56b19c6 |
* Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-3
|
|
|
56b19c6 |
- Further updated fixes for the spec file
|
|
|
56b19c6 |
|
|
|
62df838 |
* Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
|
|
|
62df838 |
- Drop upstreamed patch
|
|
|
62df838 |
|
|
|
3be8af5 |
* Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
|
|
|
3be8af5 |
- Upstream stable 1.0.0 release
|
|
|
3be8af5 |
|
|
|
ab5b662 |
* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-3
|
|
|
ab5b662 |
- Actually add patch for python
|
|
|
ab5b662 |
|
|
|
646ec19 |
* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2
|
|
|
646ec19 |
- Add python patch and c++ bindings
|
|
|
646ec19 |
|
|
|
6b75b58 |
* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-1
|
|
|
6b75b58 |
- New upstream 0.16 release
|
|
|
6b75b58 |
|
|
|
3a12688 |
* Tue Oct 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.15-1
|
|
|
3a12688 |
- New upstream 0.15 release
|
|
|
3a12688 |
|
|
|
44587e2 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
|
|
|
44587e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
44587e2 |
|
|
|
54cf256 |
* Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.13-1
|
|
|
54cf256 |
- New upstream 0.13 release
|
|
|
54cf256 |
|
|
|
fe489e1 |
* Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-2
|
|
|
fe489e1 |
- Further review updates
|
|
|
fe489e1 |
|
|
|
fe489e1 |
* Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-1
|
|
|
fe489e1 |
- Update to official tarball release, some review fixes
|
|
|
fe489e1 |
|
|
|
fe489e1 |
* Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12.0-0.1
|
|
|
fe489e1 |
- Initial package
|