Browse Source

usbmuxd: update to 1.0.9

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8765 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 10 years ago
parent
commit
9666f3af8a
1 changed files with 23 additions and 37 deletions
  1. 23 37
      u/usbmuxd/usbmuxd-vl.spec

+ 23 - 37
u/usbmuxd/usbmuxd-vl.spec

@@ -1,57 +1,49 @@
+%define gittag c24463e
+%define tarfile %{name}-%{version}-%{gittag}.tar.bz2
+
 Summary:	Daemon for communicating with Apple's iPod Touch and iPhone
 Summary:	Daemon for communicating with Apple's iPod Touch and iPhone
 Summary(ja):	Apple の iPod Touch や iPhone と通信するためのデーモン
 Summary(ja):	Apple の iPod Touch や iPhone と通信するためのデーモン
 
 
 Name:		usbmuxd
 Name:		usbmuxd
-Version:	1.0.8
-Release:	2%{?_dist_release}
+Version:	1.0.9
+Release:	0.1.%{gittag}%{?_dist_release}
 
 
 Group:		Applications/System
 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
+# All code is dual licenses as GPLv3+ or GPLv2+
+License:	GPLv3+ or GPLv2+
+URL:           http://www.libimobiledevice.org/
+Source0:       %{tarfile}
 
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:	libusb1-devel
 BuildRequires:	libusb1-devel
-BuildRequires:	cmake
-Requires(pre): shadow-utils
+BuildRequires:  libimobiledevice-devel
+BuildRequires:  libplist-devel
+Requires(pre):  shadow-utils
+Obsoletes: usbmuxd-devel < 1.0.9
 
 
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
+Packager: daisuke
 
 
 %description
 %description
 usbmuxd is a daemon used for communicating with Apple's iPod Touch and iPhone
 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
 devices. It allows multiple services on the device to be accessed
 simultaneously.
 simultaneously.
 
 
-%package devel
-Summary: Development package for %{name}
-Summary(ja): %{name} の開発パッケージ
-Group: Development/Libraries
-Requires: usbmuxd = %{version}-%{release}
-Requires: pkgconfig
-Requires: libusb1-devel
-
-%description devel
-Files for development with %{name}.
-
 %prep
 %prep
 %setup -q
 %setup -q
 
 
 # Set the owner of the device node to be usbmuxd
 # Set the owner of the device node to be usbmuxd
-sed -i.owner 's/ATTR{idVendor}=="05ac"/OWNER="usbmuxd", ATTR{idVendor}=="05ac"/' udev/85-usbmuxd.rules.in
-sed -i.user 's/-U usbmux/-U usbmuxd/' udev/85-usbmuxd.rules.in
+sed -i.owner 's/OWNER="usbmux"/OWNER="usbmuxd"/' udev/39-usbmuxd.rules.in
+sed -i.user 's/-U usbmux/-U usbmuxd/' udev/39-usbmuxd.rules.in
 
 
 %build
 %build
-export CMAKE_PREFIX_PATH=/usr
-%{cmake} .
+NOCONFIGURE=1 ./autogen.sh
+%configure
 
 
 make %{?_smp_mflags}
 make %{?_smp_mflags}
 
 
 %install
 %install
-export CMAKE_PREFIX_PATH=/usr$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 
 %clean
 %clean
@@ -70,20 +62,14 @@ exit 0
 
 
 %files
 %files
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
-%doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 README.devel
-/lib/udev/rules.d/85-usbmuxd.rules
-%{_bindir}/iproxy
+%doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3
+/lib/udev/rules.d/39-usbmuxd.rules
 %{_sbindir}/usbmuxd
 %{_sbindir}/usbmuxd
-%{_libdir}/libusbmuxd.so.*
-
-%files devel
-%defattr(-,root,root,-)
-%doc README.devel
-%{_includedir}/*.h
-%{_libdir}/libusbmuxd.so
-%{_libdir}/pkgconfig/libusbmuxd.pc
 
 
 %changelog
 %changelog
+* Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.0.9-1
+- update to 1.0.9
+
 * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp>  1.0.8-2
 * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp>  1.0.8-2
 - rebuild with VineSeed environment
 - rebuild with VineSeed environment