1.11
This commit is contained in:
parent
94e141fe23
commit
d34e7f6a85
@ -1,17 +0,0 @@
|
||||
diff -up libplist-1.8/CMakeLists.txt.cmake_lib_suffix libplist-1.8/CMakeLists.txt
|
||||
--- libplist-1.8/CMakeLists.txt.cmake_lib_suffix 2012-01-11 08:29:30.000000000 -0600
|
||||
+++ libplist-1.8/CMakeLists.txt 2012-04-11 08:57:36.208333767 -0500
|
||||
@@ -11,8 +11,12 @@ SET( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DI
|
||||
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
+IF(${CMAKE_VERSION} VERSION_GREATER 2.8.4)
|
||||
+ INCLUDE(GNUInstallDirs)
|
||||
+ENDIF()
|
||||
+
|
||||
IF(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
||||
- SET(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries")
|
||||
+ SET(CMAKE_INSTALL_LIBDIR lib${LIB_SUFFIX} CACHE PATH "Output directory for libraries")
|
||||
ENDIF(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
||||
|
||||
FIND_PACKAGE( LibXml2 REQUIRED )
|
||||
@ -1,8 +1,8 @@
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
|
||||
Name: libplist
|
||||
Version: 1.10
|
||||
Release: 2%{?dist}
|
||||
Version: 1.11
|
||||
Release: 1%{?dist}
|
||||
Summary: Library for manipulating Apple Binary and XML Property Lists
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -10,15 +10,11 @@ License: LGPLv2+
|
||||
URL: http://www.libimobiledevice.org/
|
||||
Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
||||
|
||||
## upstreamable patches
|
||||
# add support for GNUInstallDirs (where available) and ${LIB_SUFFIX} convention
|
||||
Patch50: libplist-1.8-cmake_lib_suffix.patch
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: Cython
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: swig
|
||||
BuildRequires: cmake
|
||||
BuildRequires: Cython
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
%description
|
||||
libplist is a library for manipulating Apple Binary and XML Property Lists
|
||||
@ -43,32 +39,31 @@ Requires: python
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch50 -p1 -b .cmake_lib_suffix
|
||||
|
||||
%build
|
||||
export CMAKE_PREFIX_PATH=/usr
|
||||
%{cmake} -DCMAKE_SKIP_RPATH:BOOL=ON .
|
||||
%configure --disable-static
|
||||
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
make V=1
|
||||
|
||||
%install
|
||||
export CMAKE_PREFIX_PATH=/usr
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING.LESSER README
|
||||
%{_bindir}/plistutil
|
||||
%{_bindir}/plistutil-%{version}
|
||||
%{_libdir}/libplist.so.*
|
||||
%{_libdir}/libplist++.so.*
|
||||
%{_libdir}/libplist.so.2*
|
||||
%{_libdir}/libplist++.so.2*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/pkgconfig/libplist.pc
|
||||
%{_libdir}/pkgconfig/libplist++.pc
|
||||
%{_libdir}/libplist.so
|
||||
@ -76,10 +71,12 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_includedir}/plist
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/plist*
|
||||
|
||||
%changelog
|
||||
* Sat Mar 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.11-1
|
||||
- New upstream 1.11 release
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user