- Initial import
This commit is contained in:
parent
f9f9dd13ed
commit
fe489e1114
@ -0,0 +1 @@
|
||||
libplist-0.12.tar.bz2
|
||||
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
libplist-0_12-2_fc11:HEAD:libplist-0.12-2.fc11.src.rpm:1242198560
|
||||
93
libplist.spec
Normal file
93
libplist.spec
Normal file
@ -0,0 +1,93 @@
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: libplist
|
||||
Version: 0.12
|
||||
Release: 2%{?dist}
|
||||
Summary: Library for manipulating Apple Binary and XML Property Lists
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://matt.colyer.name/projects/iphone-linux/
|
||||
|
||||
Source0: http://cloud.github.com/downloads/JonathanBeck/%{name}/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: swig
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
libplist is a library for manipulating Apple Binary and XML Property Lists
|
||||
|
||||
%package devel
|
||||
Summary: Development package for libplist
|
||||
Group: Development/Libraries
|
||||
Requires: libplist = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
%{name}, development headers and libraries.
|
||||
|
||||
%package python
|
||||
Summary: Python package for libplist
|
||||
Group: Development/Libraries
|
||||
Requires: libplist = %{version}-%{release}
|
||||
Requires: python
|
||||
|
||||
%description python
|
||||
%{name}, python libraries and support
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CMAKE_PREFIX_PATH=/usr
|
||||
%{cmake} .
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export CMAKE_PREFIX_PATH=/usr
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# move python bindings to proper location
|
||||
%{__mkdir} -pm 755 $RPM_BUILD_ROOT%{python_sitearch}
|
||||
%{__mv} $RPM_BUILD_ROOT%{_libdir}/python/site-packages/libplist $RPM_BUILD_ROOT%{python_sitearch}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING.LESSER README
|
||||
%{_bindir}/plutil
|
||||
%{_bindir}/plutil-0.12
|
||||
%{_libdir}/libplist.so.0
|
||||
%{_libdir}/libplist.so.0.0.12
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/pkgconfig/libplist.pc
|
||||
%{_libdir}/libplist.so
|
||||
%{_includedir}/plist
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/libplist
|
||||
|
||||
%changelog
|
||||
* Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-2
|
||||
- Further review updates
|
||||
|
||||
* Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-1
|
||||
- Update to official tarball release, some review fixes
|
||||
|
||||
* Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12.0-0.1
|
||||
- Initial package
|
||||
Loading…
Reference in New Issue
Block a user