Name: berry4all Version: 3.0g Release: 2%{?dist} Summary: Utilities to tether Blackberries to Linux. Includes pre-built settings for many major cellular carriers. Group: System Tools License: Artistic License 2.0 URL: http://www.colar.net/websvn/filedetails.php?repname=src&path=%2Fbbtether%2Fbbtether-0.3g.tgz Source0: bbtether-0.3g.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python libusb libusb-devel ppp-devel pyusb wxGTK-devel wxPython-devel Requires: python libusb ppp pyusb wxGTK wxPython %description This package contains utilities for using Blackberries with Linux, including the ability to tether a blackberry and use it as a modem. It includes several pre-built settings for use with many major cellular providers. %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/bbtether/ mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d cp udev/99-bbtether.rules $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d rm -rf ./*/.svn cp -R ./* $RPM_BUILD_ROOT%{_libdir}/bbtether/ echo cd %{_libdir}/bbtether > bbtether echo ./berry4all.sh >> bbtether chmod a+x bbtether mv bbtether $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %{_bindir}/bbtether %config(noreplace) %{_sysconfdir}/udev/rules.d/99-bbtether.rules %{_libdir}/bbtether/bb_backup.py %{_libdir}/bbtether/bb_backup.pyc %{_libdir}/bbtether/bb_backup.pyo %{_libdir}/bbtether/bbbackup.py %{_libdir}/bbtether/bbbackup.pyc %{_libdir}/bbtether/bbbackup.pyo %{_libdir}/bbtether/bb_data.py %{_libdir}/bbtether/bb_data.pyc %{_libdir}/bbtether/bb_data.pyo %{_libdir}/bbtether/bb_gui.py %{_libdir}/bbtether/bb_gui.pyc %{_libdir}/bbtether/bb_gui.pyo %{_libdir}/bbtether/bb_messenging.py %{_libdir}/bbtether/bb_messenging.pyc %{_libdir}/bbtether/bb_messenging.pyo %{_libdir}/bbtether/bb_modem.py %{_libdir}/bbtether/bb_modem.pyc %{_libdir}/bbtether/bb_modem.pyo %{_libdir}/bbtether/bb_osx.py %{_libdir}/bbtether/bb_osx.pyc %{_libdir}/bbtether/bb_osx.pyo %{_libdir}/bbtether/bb_prefs.py %{_libdir}/bbtether/bb_prefs.pyc %{_libdir}/bbtether/bb_prefs.pyo %{_libdir}/bbtether/bb_tether.py %{_libdir}/bbtether/bb_tether.pyc %{_libdir}/bbtether/bb_tether.pyo %{_libdir}/bbtether/bb_usb.py %{_libdir}/bbtether/bb_usb.pyc %{_libdir}/bbtether/bb_usb.pyo %{_libdir}/bbtether/bb_usbfs.py %{_libdir}/bbtether/bb_usbfs.pyc %{_libdir}/bbtether/bb_usbfs.pyo %{_libdir}/bbtether/bb_util.py %{_libdir}/bbtether/bb_util.pyc %{_libdir}/bbtether/bb_util.pyo %{_libdir}/bbtether/bb_version.py %{_libdir}/bbtether/bb_version.pyc %{_libdir}/bbtether/bb_version.pyo %{_libdir}/bbtether/bbgui.py %{_libdir}/bbtether/bbgui.pyc %{_libdir}/bbtether/bbgui.pyo %{_libdir}/bbtether/bbtether.py %{_libdir}/bbtether/bbtether.pyc %{_libdir}/bbtether/bbtether.pyo %{_libdir}/bbtether/berry4all.sh %{_libdir}/bbtether/conf/att %{_libdir}/bbtether/conf/att-chat %{_libdir}/bbtether/conf/porta %{_libdir}/bbtether/conf/porta-chat %{_libdir}/bbtether/conf/rogers %{_libdir}/bbtether/conf/rogers-chat %{_libdir}/bbtether/conf/sprint %{_libdir}/bbtether/conf/sprint-chat %{_libdir}/bbtether/conf/tmobile %{_libdir}/bbtether/conf/tmobile-bb-chat %{_libdir}/bbtether/conf/tmobile-chat %{_libdir}/bbtether/conf/tmobile-data-chat %{_libdir}/bbtether/conf/tmobile-epc-chat %{_libdir}/bbtether/conf/tmobile-vpn-chat %{_libdir}/bbtether/conf/verizon %{_libdir}/bbtether/conf/verizon-chat %{_libdir}/bbtether/img/berry4all.png %{_libdir}/bbtether/udev/99-bbtether.rules %{_libdir}/bbtether/udev/99-bbtether_user.rules %defattr(-,root,root,-) %doc %{_libdir}/bbtether/udev/README.txt %{_libdir}/bbtether/osx/doc.txt %changelog * Sat Jul 25 2009 Scott Williams 3.0g-2 - Removed all .svn folders and their contents. - Replaced hard coded paths with RPM macros. - Updates source URL and source package to this specific version. * Fri Jul 24 2009 Scott Williams 3.0g-1 - Created initial SPEC