gnome-pilot.spec
author lk86177
Fri, 10 Oct 2003 13:41:08 +0000
changeset 1234 05c6f267efcd
parent 1195 4e66a626f563
child 1363 a43b92cdb226
permissions -rw-r--r--
gnome-pilot: deps version update

Name:     	gnome-pilot
License:        GPL/LGPL
Group:		Applications/Communications
Version: 	2.0.10
Release:	15
Distribution:   QuickSilver	
Vendor:		Sun Microsystems, Inc.
Summary:	PalmOS link utilities
Source:		http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot/2.0/%{name}-%{version}.tar.bz2
Patch1:		gnome-pilot-01-potfiles-in.diff
Patch2:     	gnome-pilot-02-menu-entry.diff
URL:		http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
Docdir:         %{_defaultdocdir}/gnome-pilot
Autoreqprov:    on
Prereq:		scrollkeeper

%define pilot_link_version 0.11.7 
%define scrollkeeper_version 0.3.12
%define gnome_panel_version 2.4.0

Requires:	scrollkeeper >= %{scrollkeeper_version}
Requires:	gnome-panel >= %{gnome_panel_version}
Requires:       pilot-link >= %{pilot_link_version}
BuildRequires:	scrollkeeper >= %{scrollkeeper_version}
BuildRequires:	pilot-link-devel >= %{pilot_link_version}

%description
GNOME Pilot is a collection of programs and daemons for using 
Palm OS-based systems with GNOME, the complete user-friendly desktop 
based entirely on free software.

%package -n gnome-pilot-devel
Summary:	Pilot development header files.
Group:		Development/Libraries
Requires:	gnome-pilot = %{version}-%{release}
Requires:	pilot-link-devel >= %{pilot_link_version}

%description -n gnome-pilot-devel
GNOME Pilot is a collection of programs and daemons for using 
Palm OS-based systems with GNOME, the complete user-friendly desktop 
based entirely on free software.

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%build
CFLAGS="$RPM_OPT_FLAGS"				\
./configure  --prefix=%{_prefix}		\
	     --sysconfdir=%{_sysconfdir}	\
	     --mandir=%{_mandir}		\
	     --localstatedir=/var
make

%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%clean
rm -rf $RPM_BUILD_ROOT

%post
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="pilot.schemas"
for S in $SCHEMAS; do
	gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
done

%postun
scrollkeeper-update -q

%files
%defattr(-, root, root)
%{_datadir}/locale/*/LC_MESSAGES/*
%{_datadir}/control-center-2.0/capplets/*
%{_datadir}/idl/*
%{_datadir}/mime-info/*
%{_datadir}/pixmaps/*
%{_bindir}/*
%{_libexecdir}/*
%{_libdir}/bonobo/servers/*
%{_libdir}/gnome-pilot/conduits/*.so
%dir %{_datadir}/gnome-pilot
%dir %{_datadir}/gnome-pilot/glade
%{_datadir}/gnome-pilot/conduits
%{_datadir}/gnome-pilot/glade/*.png
%{_datadir}/gnome-pilot/glade/*.glade
%{_datadir}/gnome/help/*
%{_datadir}/omf/*
%{_sysconfdir}/gconf/schemas/pilot.schemas
%{_libdir}/*.so.*

%files -n gnome-pilot-devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_libdir}/*.so

%changelog
* Fri Oct 10 2003 - [email protected]
- upgrade deps versions
* Fri Oct 03 2003 - <[email protected]>
- remove man pages

* Thu Aug 14 2003 - <[email protected]>
- remove *.a, *.la

* Mon Aug 01 2003 - [email protected]
- Add some menu categorization

* Mon Jul 28 2003 - [email protected]
- Updated POTFILES.in

* Fri Jul 28 2003 - [email protected]
- Install the applet as part of the main
  package. There is no reason to have an 
  extra package for this one.

* Fri Jul 25 2003 - [email protected]
- Base package requires pilot-link

* Thu Jul 24 2003 - <[email protected]>
- Initial version