]>
Commit | Line | Data |
---|---|---|
21a2524a | 1 | Summary: File transfer utilities between Linux and PalmPilots |
1ffb1479 | 2 | Name: pilot-link |
ab5eb06c | 3 | Version: 0.9.3 |
3d0bd41b | 4 | Release: 11 |
98b397ec | 5 | License: GPL/LGPL |
1ffb1479 | 6 | Group: Applications/Communications |
3d0bd41b | 7 | Group(de): Applikationen/Kommunikation |
1ffb1479 | 8 | Group(pl): Aplikacje/Komunikacja |
1b496f4c | 9 | Source0: ftp://ryeham.ee.ryerson.ca/pub/PalmOS/%{name}.%{version}.tar.gz |
3d0bd41b | 10 | Patch0: %{name}-perl-install.patch |
11 | Patch1: %{name}.perl.patch | |
12 | Patch2: %{name}-pixdir.patch | |
13 | Patch3: %{name}.sync-ldif.patch | |
14 | Patch4: %{name}-DESTDIR.patch | |
8f47373f | 15 | BuildRequires: libstdc++-devel |
21a2524a | 16 | BuildRequires: ncurses-devel >= 5.0 |
98b397ec | 17 | BuildRequires: readline-devel >= 4.1 |
8f47373f AF |
18 | BuildRequires: tcl-devel |
19 | BuildRequires: tk-devel | |
20 | BuildRequires: XFree86-devel | |
cdf6f2c1 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3a9160f7 | 22 | |
23 | %description | |
1b496f4c | 24 | This suite of tools allows you to upload and download programs and |
25 | data files between a Linux/UNIX machine and the PalmPilot. It has a | |
26 | few extra utils that will allow for things like syncing the | |
27 | PalmPilot's calendar app with Ical. Note that you might still need to | |
28 | consult the sources for pilot-link if you would like the Python, Tcl, | |
29 | or Perl bindings. | |
3a9160f7 | 30 | |
31 | %package devel | |
1ffb1479 | 32 | Summary: Pilot development header files |
33 | Group: Development/Libraries | |
3d0bd41b | 34 | Group(de): Entwicklung/Libraries |
1b496f4c | 35 | Group(fr): Development/Librairies |
1ffb1479 | 36 | Group(pl): Programowanie/Biblioteki |
37 | Requires: %{name} = %{version} | |
3a9160f7 | 38 | |
39 | %description devel | |
1b496f4c | 40 | This package contains the development headers that are used to build |
41 | the pilot-link package. It also includes the static libraries | |
42 | necessary to build static pilot apps. | |
3a9160f7 | 43 | |
44 | %package static | |
1ffb1479 | 45 | Summary: Pilot link static libraries |
46 | Group: Development/Libraries | |
3d0bd41b | 47 | Group(de): Entwicklung/Libraries |
1b496f4c | 48 | Group(fr): Development/Librairies |
1ffb1479 | 49 | Group(pl): Programowanie/Biblioteki |
50 | Requires: %{name}-devel = %{version} | |
3a9160f7 | 51 | |
52 | %description static | |
1ffb1479 | 53 | Pilot link static libraries. |
3a9160f7 | 54 | |
55 | %prep | |
56 | %setup -q -n %{name}.%{version} | |
1ffb1479 | 57 | %patch0 -p1 |
58 | %patch1 -p1 | |
59 | %patch2 -p1 | |
60 | %patch3 -p1 | |
4d063a3e | 61 | %patch4 -p1 |
3a9160f7 | 62 | |
63 | %build | |
7e9cabed | 64 | chmod +w configure |
73ae103c | 65 | autoconf |
1ffb1479 | 66 | %ifarch armv4l |
67 | libtoolize --copy --force | |
68 | %endif | |
69 | ||
3d0bd41b | 70 | CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -I/usr/X11R6/include" |
71 | CXXFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -fno-rtti -fno-exceptions -fno-implicit-templates" | |
4d063a3e | 72 | %configure |
1ffb1479 | 73 | |
1cae85b8 | 74 | %{__make} LIBDIR="%{_datadir}" |
3a9160f7 | 75 | |
76 | %install | |
1ffb1479 | 77 | rm -rf $RPM_BUILD_ROOT |
be387c5c | 78 | install -d $RPM_BUILD_ROOT%{_datadir} |
1ffb1479 | 79 | |
1cae85b8 | 80 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
3a9160f7 | 81 | |
3d0bd41b | 82 | mv -f $RPM_BUILD_ROOT%{_libdir}/pilot-link $RPM_BUILD_ROOT%{_datadir} |
1ffb1479 | 83 | |
3d0bd41b | 84 | gzip -9nf ChangeLog README* |
3a9160f7 | 85 | |
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %clean | |
1ffb1479 | 90 | rm -rf $RPM_BUILD_ROOT |
3a9160f7 | 91 | |
92 | %files | |
1ffb1479 | 93 | %defattr(644,root,root,755) |
94 | %doc *.gz | |
8787514f | 95 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
9d2040ae | 96 | %attr(755,root,root) %{_bindir}/* |
be387c5c | 97 | %{_datadir}/pilot-link |
22f522f9 | 98 | %{_mandir}/man[17]/* |
3a9160f7 | 99 | |
100 | %files devel | |
1ffb1479 | 101 | %defattr(644,root,root,755) |
8787514f | 102 | %attr(755,root,root) %{_libdir}/lib*.so |
c9717284 | 103 | %{_includedir}/* |
3a9160f7 | 104 | |
105 | %files static | |
1ffb1479 | 106 | %defattr(644,root,root,755) |
8787514f | 107 | %{_libdir}/lib*.a |