SPECS: ipod-convenience.spec (NEW) - new

glen glen at pld-linux.org
Wed Jan 14 00:03:47 CET 2009


Author: glen                         Date: Tue Jan 13 23:03:47 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   ipod-convenience.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ipod-convenience.spec
diff -u /dev/null SPECS/ipod-convenience.spec:1.1
--- /dev/null	Wed Jan 14 00:03:47 2009
+++ SPECS/ipod-convenience.spec	Wed Jan 14 00:03:42 2009
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	iPod Convenience: A suite of scripts for 7th Generation iPods
+Name:		ipod-convenience
+Version:	0.5
+Release:	0.1
+License:	GPL v3
+Group:		Applications
+Source0:	ipod.tar.bz2
+# Source0-md5:	cf62f438b820ef0da4d7f2f3ed49a5a8
+URL:		https://launchpad.net/ipod-convenience
+BuildRequires:	sed >= 4.0
+Requires:	sshfs-fuse
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Apple's 7th Generation family of iPods (Touch & iPhone) can no longer
+be synced via USB in Linux. Instead, the devices need to be synced
+over a wireless connection. In order for the devices to work in the
+existing applications, several things need to be taken into account
+that aren't normally a concern with earlier generations.
+
+%prep
+%setup -q -n ipod
+find -type f | xargs grep -l /etc/default/ipod-convenience | xargs sed -i -e 's,/etc/default/ipod-convenience,/etc/sysconfig/ipod-convenience,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1,/etc/sysconfig}
+cp -a *.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -a etc/default/%{name} $RPM_BUILD_ROOT/etc/sysconfig
+
+# install first script, make rest as symlinks
+install usr/share/%{name}/mount-umount $RPM_BUILD_ROOT%{_bindir}/iphone-mount
+ln -s iphone-mount $RPM_BUILD_ROOT%{_bindir}/iphone-umount
+ln -s iphone-mount $RPM_BUILD_ROOT%{_bindir}/ipod-touch-mount
+ln -s iphone-mount $RPM_BUILD_ROOT%{_bindir}/ipod-touch-umount
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README Changelog
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ipod-convenience
+%attr(755,root,root) %{_bindir}/iphone-mount
+%attr(755,root,root) %{_bindir}/iphone-umount
+%attr(755,root,root) %{_bindir}/ipod-touch-mount
+%attr(755,root,root) %{_bindir}/ipod-touch-umount
+%{_mandir}/man1/iphone-mount.1*
+%{_mandir}/man1/iphone-umount.1*
+%{_mandir}/man1/ipod-touch-mount.1*
+%{_mandir}/man1/ipod-touch-umount.1*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/01/13 23:03:42  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list