%define gnomever 2.24.0 %define gnomemajver %(echo %gnomever | cut -d. -f 1-2) %define pkgname gnome-pilot %define majversion %(echo %version | cut -d. -f 1-2) Name: gnome-pilot Version: 2.0.17 Release: 2mamba Summary: GNOME pilot programs Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majversion}/%{name}-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel BuildRequires: glibc-devel BuildRequires: hal-devel BuildRequires: libart_lgpl-devel BuildRequires: libatk-devel BuildRequires: libbonobo-devel BuildRequires: libbonoboui-devel BuildRequires: libcairo-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libglade-devel BuildRequires: libglib-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgnome-devel BuildRequires: libgnome-keyring-devel BuildRequires: libgnome-panel-devel BuildRequires: libgnomeui-devel BuildRequires: libgnome-vfs-devel BuildRequires: libgtk-devel BuildRequires: libICE-devel BuildRequires: libpango-devel BuildRequires: libpilot-link-devel BuildRequires: libpopt-devel BuildRequires: libSM-devel BuildRequires: libxml2-devel BuildRequires: ORBit2-devel ## AUTOBUILDREQ-ENDBuildRequires: perl >= 5.8.0 BuildRequires: perl-XML-Parser BuildRequires: gettext-devel BuildRequires: gob2 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description GNOME-pilot is a collection of programs and daemon for integrating GNOME and the PalmPilot or other PalmOS devices. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel GNOME-pilot is a collection of programs and daemon for integrating GNOME and the PalmPilot or other PalmOS devices. This package contains static libraries and header files need for development. %prep %setup -q %build %configure \ --enable-usb \ --enable-vfs \ --enable-network \ --disable-static \ --disable-scrollkeeper %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 export tagname=CC %makeinstall unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL # remove unpackaged files rm -f %{buildroot}%{_libdir}/gnome-pilot/conduits/*.a rm -f %{buildroot}%{_libdir}/gnome-pilot/conduits/*test_conduit.* rm -f %{buildroot}%{_libdir}/gnome-pilot/conduits/test.conduit %{find_lang} %{name} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post /sbin/ldconfig export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule /etc/gconf/schemas/pilot.schemas >/dev/null [ -x /usr/bin/scrollkeeper-update ] && scrollkeeper-update exit 0 %postun /sbin/ldconfig [ -x /usr/bin/scrollkeeper-update ] && scrollkeeper-update exit 0 %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/gnome-pilot-make-password %{_bindir}/gpilot-install-file %{_bindir}/gpilotd-control-applet %{_bindir}/gpilotd-session-wrapper #%{_datadir}/applications/gpilot-applet.desktop %{_datadir}/applications/gpilotd-control-applet.desktop %{_datadir}/gnome-pilot/conduits/*.conduit %{_datadir}/gnome-pilot/devices.xml %{_datadir}/gnome-pilot/glade/* %{_datadir}/gnome/help/gnome-pilot/C/gnome-pilot.xml %{_datadir}/idl/gnome-pilot.idl %{_datadir}/mime-info/* %dir %{_datadir}/omf/gnome-pilot %{_datadir}/omf/gnome-pilot/gnome-pilot-C.omf %{_datadir}/pixmaps/*.png %config %{_sysconfdir}/gconf/schemas/pilot.schemas %{_libdir}/bonobo/servers/*.server %{_libdir}/gnome-pilot/conduits/*.la %{_libdir}/gnome-pilot/conduits/*.so %{_libdir}/*.so.* %{_libexecdir}/* %{_mandir}/man1/gpilot-install-file.* %doc AUTHORS COPYING ChangeLog NEWS README TODO %files devel %defattr(-,root,root) %dir %{_includedir}/gpilotd %{_includedir}/gpilotd/*.h %dir %{_includedir}/libgpilotdCM %{_includedir}/libgpilotdCM/*.h %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Sat Jun 27 2009 Silvan Calarco 2.0.17-2mamba - rebuilt to remove executable requirement for scrollkeeper-update * Tue Feb 17 2009 Silvan Calarco 2.0.17-1mamba - automatic update by autodist * Thu May 08 2008 Silvan Calarco 2.0.16-1mamba - update to 2.0.16 * Wed Feb 07 2007 Davide Madrisan 2.0.15-1qilnx - update to version 2.0.15 by autospec - built against new libmal+pilot-link * Sat Jan 13 2007 Davide Madrisan 2.0.13-2qilnx - rebuilt * Fri Sep 23 2005 Davide Madrisan 2.0.13-1qilnx - package created by autospec