1 Summary: File transfer utilities between Linux and PalmPilots
6 Group: Applications/Communications
7 Group(pl): Aplikacje/Komunikacja
8 Source0: ftp://ryeham.ee.ryerson.ca/pub/PalmOS/%{name}.%{version}.tar.gz
9 Patch0: pilot-link-perl-install.patch
10 Patch1: pilot-link.perl.patch
11 Patch2: pilot-link-pixdir.patch
12 Patch3: pilot-link.sync-ldif.patch
13 Patch4: pilot-link-DESTDIR.patch
14 BuildRequires: libstdc++-devel
15 BuildRequires: ncurses-devel >= 5.0
16 BuildRequires: readline-devel >= 4.1
17 BuildRequires: tcl-devel
18 BuildRequires: tk-devel
19 BuildRequires: XFree86-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This suite of tools allows you to upload and download programs and
24 data files between a Linux/UNIX machine and the PalmPilot. It has a
25 few extra utils that will allow for things like syncing the
26 PalmPilot's calendar app with Ical. Note that you might still need to
27 consult the sources for pilot-link if you would like the Python, Tcl,
31 Summary: Pilot development header files
32 Group: Development/Libraries
33 Group(fr): Development/Librairies
34 Group(pl): Programowanie/Biblioteki
35 Requires: %{name} = %{version}
38 This package contains the development headers that are used to build
39 the pilot-link package. It also includes the static libraries
40 necessary to build static pilot apps.
43 Summary: Pilot link static libraries
44 Group: Development/Libraries
45 Group(fr): Development/Librairies
46 Group(pl): Programowanie/Biblioteki
47 Requires: %{name}-devel = %{version}
50 Pilot link static libraries.
53 %setup -q -n %{name}.%{version}
64 libtoolize --copy --force
67 CFLAGS="$RPM_OPT_FLAGS -I/usr/X11R6/include"
69 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates"
70 export CFLAGS LDFLAGS CXXFLAGS
73 %{__make} LIBDIR="%{_datadir}"
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT%{_datadir}
79 %{__make} install DESTDIR=$RPM_BUILD_ROOT
81 mv $RPM_BUILD_ROOT%{_libdir}/pilot-link $RPM_BUILD_ROOT%{_datadir}
83 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
85 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so.*.*
98 %attr(755,root,root) %{_bindir}/*
99 %{_datadir}/pilot-link
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/lib*.so
108 %defattr(644,root,root,755)