Name: gypsy Summary: A GPS multiplexing daemon and library Version: 0.6 Release: 0%{?dist} License: GPLv2 and LGPLv2 Group: System Environment/Daemons Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: gypsy-0.6.tar.gz Source1: gypsy URL: http://gypsy.freedesktop.org/wiki/ BuildRequires: glib2-devel dbus-glib-devel bluez-libs-devel libxslt pkgconfig Buildrequires: gtk-doc libtool Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service %description Put simply, GPS devices can only be used by one application at a time. That may not cause a problem if only one application wants to know location data, but in a modern desktop the possibilities for location-aware applications are numerous and if only one of those applications is able to talk to the GPS device at one time, it causes a problem. Gypsy solves this problem by standing in between the GPS device and the location-aware applications. Gypsy talks to the GPS device and informs the location-aware applications of the GPS details. It is a GPS multiplexing daemon. Another reason is because the format of the messages that the GPS sends out are tricky to parse, and it makes sense for one program to parse them and inform other clients in a more sensible format, rather than for every location-aware program to contain their own private copy of NMEA parsing code. %package devel Requires: gypsy Group: Development/Libraries Summary: A GPS multiplexing daemon and library %description devel Header files for libgypsy. %prep %setup -q %build %configure --enable-gtk-doc --sysconfdir=$RPM_BUILD_ROOT/etc \ --datadir=$RPM_BUILD_ROOT/usr/share make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall rm $RPM_BUILD_ROOT/usr/lib/libgypsy.a $RPM_BUILD_ROOT/usr/lib/libgypsy.la install -D %{_sourcedir}/gypsy $RPM_BUILD_ROOT/etc/init.d/gypsy %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add gypsy %preun if [ $1 = 0 ]; then /sbin/service gypsy stop >/dev/null 2>&1 /sbin/chkconfig --del gypsy elif [ "$1" -ge "1" ]; then /sbin/service gypsy condrestart >/dev/null 2>&1 || : fi %files %defattr(-,root,root,-) %doc LICENSE COPYING COPYING.lib AUTHORS NEWS TODO %{_sysconfdir}/init.d/gypsy %{_sysconfdir}/dbus-1/system.d/Gypsy.conf %{_libdir}/libgypsy* %{_libexecdir}/gypsy-daemon %{_datadir}/dbus-1/services/org.freedesktop.Gypsy.service %files devel %dir %{_includedir}/gypsy %dir %{_datadir}/gtk-doc/html/gypsy %{_includedir}/gypsy/* %{_libdir}/pkgconfig/gypsy.pc %{_datadir}/gtk-doc/html/gypsy/* %changelog * Sat Mar 29 2008 Keith Sharp 0.6-0 - Build with latest release * Fri Mar 28 2008 Keith Sharp 0.5-0 - First build.