]>
Commit | Line | Data |
---|---|---|
21a2524a | 1 | Summary: File transfer utilities between Linux and PalmPilots |
1ffb1479 | 2 | Name: pilot-link |
ab5eb06c | 3 | Version: 0.9.3 |
98b397ec | 4 | Release: 4 |
5 | License: GPL/LGPL | |
1ffb1479 | 6 | Group: Applications/Communications |
7 | Group(pl): Aplikacje/Komunikacja | |
1b496f4c | 8 | Source0: ftp://ryeham.ee.ryerson.ca/pub/PalmOS/%{name}.%{version}.tar.gz |
1ffb1479 | 9 | Patch0: pilot-link-perl-install.patch |
10 | Patch1: pilot-link.perl.patch | |
11 | Patch2: pilot-link-pixdir.patch | |
7e9cabed | 12 | Patch3: pilot-link.sync-ldif.patch |
4d063a3e | 13 | Patch4: pilot-link-DESTDIR.patch |
8f47373f | 14 | BuildRequires: libstdc++-devel |
21a2524a | 15 | BuildRequires: ncurses-devel >= 5.0 |
98b397ec | 16 | BuildRequires: readline-devel >= 4.1 |
8f47373f AF |
17 | BuildRequires: tcl-devel |
18 | BuildRequires: tk-devel | |
19 | BuildRequires: XFree86-devel | |
cdf6f2c1 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3a9160f7 | 21 | |
22 | %description | |
1b496f4c | 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, | |
28 | or Perl bindings. | |
3a9160f7 | 29 | |
30 | %package devel | |
1ffb1479 | 31 | Summary: Pilot development header files |
32 | Group: Development/Libraries | |
1b496f4c | 33 | Group(fr): Development/Librairies |
1ffb1479 | 34 | Group(pl): Programowanie/Biblioteki |
35 | Requires: %{name} = %{version} | |
3a9160f7 | 36 | |
37 | %description devel | |
1b496f4c | 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. | |
3a9160f7 | 41 | |
42 | %package static | |
1ffb1479 | 43 | Summary: Pilot link static libraries |
44 | Group: Development/Libraries | |
1b496f4c | 45 | Group(fr): Development/Librairies |
1ffb1479 | 46 | Group(pl): Programowanie/Biblioteki |
47 | Requires: %{name}-devel = %{version} | |
3a9160f7 | 48 | |
49 | %description static | |
1ffb1479 | 50 | Pilot link static libraries. |
3a9160f7 | 51 | |
52 | %prep | |
53 | %setup -q -n %{name}.%{version} | |
1ffb1479 | 54 | %patch0 -p1 |
55 | %patch1 -p1 | |
56 | %patch2 -p1 | |
57 | %patch3 -p1 | |
4d063a3e | 58 | %patch4 -p1 |
3a9160f7 | 59 | |
60 | %build | |
7e9cabed | 61 | chmod +w configure |
73ae103c | 62 | autoconf |
1ffb1479 | 63 | %ifarch armv4l |
64 | libtoolize --copy --force | |
65 | %endif | |
66 | ||
4d063a3e | 67 | CFLAGS="$RPM_OPT_FLAGS -I/usr/X11R6/include" |
68 | LDFLAGS="-s" | |
69 | CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates" | |
70 | export CFLAGS LDFLAGS CXXFLAGS | |
71 | %configure | |
1ffb1479 | 72 | |
be387c5c | 73 | make LIBDIR="%{_datadir}" |
3a9160f7 | 74 | |
75 | %install | |
1ffb1479 | 76 | rm -rf $RPM_BUILD_ROOT |
be387c5c | 77 | install -d $RPM_BUILD_ROOT%{_datadir} |
1ffb1479 | 78 | |
4d063a3e | 79 | make install DESTDIR=$RPM_BUILD_ROOT |
3a9160f7 | 80 | |
be387c5c | 81 | mv $RPM_BUILD_ROOT%{_libdir}/pilot-link $RPM_BUILD_ROOT%{_datadir} |
1ffb1479 | 82 | |
8787514f | 83 | strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* |
1ffb1479 | 84 | |
22f522f9 | 85 | gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \ |
5f2ee97e | 86 | ChangeLog README* |
3a9160f7 | 87 | |
88 | %post -p /sbin/ldconfig | |
89 | %postun -p /sbin/ldconfig | |
90 | ||
91 | %clean | |
1ffb1479 | 92 | rm -rf $RPM_BUILD_ROOT |
3a9160f7 | 93 | |
94 | %files | |
1ffb1479 | 95 | %defattr(644,root,root,755) |
96 | %doc *.gz | |
8787514f | 97 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
9d2040ae | 98 | %attr(755,root,root) %{_bindir}/* |
be387c5c | 99 | %{_datadir}/pilot-link |
22f522f9 | 100 | %{_mandir}/man[17]/* |
3a9160f7 | 101 | |
102 | %files devel | |
1ffb1479 | 103 | %defattr(644,root,root,755) |
8787514f | 104 | %attr(755,root,root) %{_libdir}/lib*.so |
c9717284 | 105 | %{_includedir}/* |
3a9160f7 | 106 | |
107 | %files static | |
1ffb1479 | 108 | %defattr(644,root,root,755) |
8787514f | 109 | %{_libdir}/lib*.a |