Browse Source

libplist: new package
libimobiledevice: new package
usbmuxd: new package



git-svn-id: http://trac.vinelinux.org/repos/projects/specs@909 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 14 years ago
parent
commit
1b9bc0354c

+ 184 - 0
lib/libi/libimobiledevice/libimobiledevice-vl.spec

@@ -0,0 +1,184 @@
+Name:          libimobiledevice
+Version:       1.0.0
+Release:       1%{?_dist_release}
+Summary:       Library for connecting to mobile devices
+Summary(ja):   モバイルデバイスに接続するためのライブラリ
+
+Group:         System Environment/Libraries
+License:       LGPLv2+
+URL:           http://matt.colyer.name/projects/iphone-linux/
+
+Source0:       http://cloud.github.com/downloads/MattColyer/libiphone/%{name}-%{version}.tar.bz2
+Patch0:        libimobiledevice-fixdso.patch
+
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: libxml2-devel
+BuildRequires: libusb1-devel
+BuildRequires: libtasn1-devel
+BuildRequires: libplist-devel
+BuildRequires: glib2-devel
+BuildRequires: gnutls-devel
+BuildRequires: python-devel
+BuildRequires: swig
+BuildRequires: usbmuxd-devel
+
+Provides: libiphone = %{version}
+Obsoletes: libiphone < 0.9.7 
+
+%description
+libimobiledevice is a library for connecting to mobile devices including phones 
+and music players
+
+%package devel
+Summary: Development package for libimobiledevice
+Summary(ja): Development package for libimobiledevice
+Group: Development/Libraries
+Requires: libimobiledevice = %{version}-%{release}
+Requires: pkgconfig
+Provides: libiphone-devel = %{version}
+Obsoletes: libiphone-devel < 0.9.7 
+
+%description devel
+Files for development with libimobiledevice.
+
+%package python
+Summary: Python bindings for libimobiledevice
+Summary(ja): Python bindings for libimobiledevice
+Group: Development/Libraries
+Requires: libimobiledevice = %{version}-%{release}
+Requires: pkgconfig
+Provides: libiphone-python = %{version}
+Obsoletes: libiphone-python < 0.9.7 
+
+%description python
+Python bindings for libimobiledevice.
+
+%prep
+%setup -q
+%patch0 -p1 -b .fixdso
+
+# Fix dir permissions on html docs
+chmod +x docs/html
+
+%build
+%configure --disable-static
+# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
+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 %{?_smp_mflags} V=1
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+#Remove libtool archives.
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LESSER README
+%doc %{_datadir}/man/man1/idevice*
+%{_bindir}/idevice*
+%{_libdir}/libimobiledevice.so.1
+%{_libdir}/libimobiledevice.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%doc docs/html/
+%{_libdir}/pkgconfig/libimobiledevice-1.0.pc
+%{_libdir}/libimobiledevice.so
+%{_includedir}/libimobiledevice/
+
+%files python
+%defattr(-,root,root,-)
+%{python_sitearch}/imobiledevice/
+
+%changelog
+* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
+- initial build for Vine Linux
+
+* Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
+- New upstream stable 1.0.0 release
+
+* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
+- Add patch to fix DSO linking. Fixes bug 565084
+
+* Wed Feb  3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
+- Package review updates, add developer docs
+
+* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1
+- New package for new library name. Update to 0.9.7
+
+* Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1
+- Update to 0.9.6 release
+
+* Sat Jan  9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3
+- Updated to the new python sysarch spec file reqs
+
+* Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2
+- Update python bindings
+
+* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1
+- Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final
+
+* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3
+- Rebuild for libplist .so bump
+
+* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2
+- Update from libusb to libusb1
+
+* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1
+- Update to 0.9.4 release for new usbmuxd 1.0.0-rc1
+
+* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1
+- Update to 0.9.3 release
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2
+- Add new build reqs
+
+* Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1
+- Update to official 0.9.1 release
+
+* Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8
+- Update to latest master version
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554
+- Add back gnutls version patch
+
+* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554
+- Upload bzipped source file
+
+* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554
+- New git snapshot
+
+* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
+- Fix devel dependency 
+
+* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
+- Fix gnutls check for new rawhide version
+
+* Mon Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
+- Rebuild for pkgconfig
+
+* Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e
+- Fix git file generation
+
+* Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e
+- Updates for package review
+
+* Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1
+- Initial package

+ 131 - 0
lib/libp/libplist/libplist-vl.spec

@@ -0,0 +1,131 @@
+Name:           libplist
+Version:        1.3
+Release:        1%{?_dist_release}
+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
+
+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
+
+%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-%{version}
+%{_libdir}/libplist.so.*
+%{_libdir}/libplist++.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libplist.pc
+%{_libdir}/pkgconfig/libplist++.pc
+%{_libdir}/libplist.so
+%{_libdir}/libplist++.so
+%{_includedir}/plist
+
+%files python
+%defattr(-,root,root,-)
+%{python_sitearch}/plist
+
+%changelog
+* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
+- initial build for Vine Linux
+
+* Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.3-1
+- Upstream stable 1.3 release
+
+* Sat Jan 23 2010 Peter Robinson <pbrobinson@gmail.com> 1.2-1
+- Upstream stable 1.2 release
+
+* Sat Jan  9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-5
+- Updated to the new python sysarch spec file reqs
+
+* Mon Dec  7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-4
+- and once more with feeling
+
+* Mon Dec  7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-3
+- Further updated fixes for the spec file
+
+* Mon Dec  7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
+- Drop upstreamed patch
+
+* Mon Dec  7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
+- Upstream stable 1.0.0 release
+
+* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-3
+- Actually add patch for python
+
+* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2
+- Add python patch and c++ bindings
+
+* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-1
+- New upstream 0.16 release
+
+* Tue Oct 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.15-1
+- New upstream 0.15 release
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.13-1
+- New upstream 0.13 release
+
+* 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

+ 120 - 0
u/usbmuxd/usbmuxd-vl.spec

@@ -0,0 +1,120 @@
+Name:		usbmuxd
+Version:	1.0.3
+Release:        1%{?_dist_release}
+Summary:	Daemon for communicating with Apple's iPod Touch and iPhone
+
+Group:		Applications/System
+# All code is dual licenses as GPLv3+ or GPLv2+, except libusbmuxd which is LGPLv2+.
+License:	GPLv3+ or GPLv2+ and LGPLv2+
+URL:		http://marcansoft.com/uploads/
+
+Source0:	http://marcansoft.com/uploads/usbmuxd/%{name}-%{version}.tar.bz2
+Patch0:		usbmuxd-udevuser.patch
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:	libusb1-devel
+BuildRequires:	cmake
+Requires(pre): shadow-utils
+
+%description
+usbmuxd is a daemon used for communicating with Apple's iPod Touch and iPhone
+devices. It allows multiple services on the device to be accessed
+simultaneously.
+
+%package devel
+Summary: Development package for %{name}
+Group: Development/Libraries
+Requires: usbmuxd = %{version}-%{release}
+Requires: pkgconfig
+Requires: libusb1-devel
+
+%description devel
+Files for development with %{name}.
+
+%prep
+%setup -q
+%patch0 -p1 -b .udevuser
+
+%build
+export CMAKE_PREFIX_PATH=/usr
+%{cmake} .
+
+make %{?_smp_mflags}
+
+%install
+export CMAKE_PREFIX_PATH=/usr$RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+getent group usbmuxd >/dev/null || groupadd -r usbmuxd -g 113
+getent passwd usbmuxd >/dev/null || \
+useradd -r -g usbmuxd -d / -s /sbin/nologin \
+	-c "usbmuxd user" -u 113 usbmuxd
+exit 0
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 README.devel
+/lib/udev/rules.d/85-usbmuxd.rules
+%{_bindir}/iproxy
+%{_sbindir}/usbmuxd
+%{_libdir}/libusbmuxd.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc README.devel
+%{_includedir}/*.h
+%{_libdir}/libusbmuxd.so
+%{_libdir}/pkgconfig/libusbmuxd.pc
+
+%changelog
+* Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 	1.0.3-1
+- initial build for Vine Linux
+
+* Mon Mar 22 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.3-1
+- New stable 1.0.3 release
+
+* Thu Feb 11 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.2-1
+- New stable 1.0.2 release
+
+* Tue Feb 09 2010 Bastien Nocera <bnocera@redhat.com> 1.0.0-3
+- Use the gid/uid reserved for usbmuxd in setup 2.8.15 and above
+
+* Fri Jan 29 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
+- Run deamon under the usbmuxd user
+
+* Mon Dec  7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
+- New stable 1.0.0 release
+
+* Sat Oct 31 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc2
+- New 1.0.0-rc2 test release
+
+* Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.2.rc1
+- Add patch to fix install of 64 bit libs
+
+* Tue Oct 27 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-0.1.rc1
+- New 1.0.0-rc1 test release
+
+* Fri Aug 14 2009 Bastien Nocera <bnocera@redhat.com> 0.1.4-2
+- Make usbmuxd autostart on newer kernels
+- (Still doesn't exit properly though)
+
+* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-1
+- Update to 0.1.4
+
+* Tue Aug  4 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.3-1
+- Update to 0.1.3, review input
+
+* Mon Aug  3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-1
+- Update to 0.1.2
+
+* Mon Aug  3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.1-1
+- Initial packaging