]> git.pld-linux.org Git - packages/pilot-link.git/blob - pilot-link.spec
- added line on top spec file with cvs tags ($Revision:$ and $Date:$).
[packages/pilot-link.git] / pilot-link.spec
1 Summary:        Pilot Link - USR Pilot to Unix transfer utilities.
2 Name:           pilot-link
3 Version:        0.9.3
4 Release:        1
5 Copyright:      GPL/LGPL
6 Group:          Applications/Communications
7 Group(pl):      Aplikacje/Komunikacja
8 Source:         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 BuildPrereq:    libstdc++-devel
14 BuildPrereq:    ncurses-devel
15 BuildPrereq:    readline-devel
16 BuildPrereq:    tcl-devel
17 BuildPrereq:    tk-devel
18 BuildPrereq:    XFree86-devel
19 BuildRoot:      /tmp/%{name}-%{version}-root
20
21 %description
22 This suite of tools allows you to upload and download programs
23 and data files between a *nix machine and the USR Pilot.  It has
24 a few extra utils that will allow for things like syncing the
25 Pilot's calendar app with Ical.  Note that you might still need
26 to consult the sources for pilot-link if you would like the
27 Python, Tcl, or Perl bindings.
28
29 %package devel
30 Summary:        Pilot development header files
31 Group:          Development/Libraries
32 Group(pl):      Programowanie/Biblioteki
33 Requires:       %{name} = %{version}
34
35 %description devel
36 This package contains the development headers that are used
37 to build the pilot-link package.  It also includes the static
38 libraries necessary to build static pilot apps.
39
40 %package static
41 Summary:        Pilot link static libraries
42 Group:          Development/Libraries
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Pilot link static libraries.
48
49 %prep 
50 %setup -q -n %{name}.%{version}
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1
54 %patch3 -p1
55
56 %build
57 chmod +w configure
58 autoconf
59 %ifarch armv4l
60 libtoolize --copy --force
61 %endif
62
63 CFLAGS="$RPM_OPT_FLAGS -I/usr/X11R6/include" \
64 LDFLAGS="-s" \
65 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates" \
66 ./configure \
67         --prefix=%{_prefix} \
68         --target=%{_target_platform} \
69         --host=%{_host}
70
71 make LIBDIR="%{_datadir}"
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_datadir}
76
77 make install \
78         prefix=$RPM_BUILD_ROOT%{_prefix}
79
80 mv $RPM_BUILD_ROOT%{_libdir}/pilot-link $RPM_BUILD_ROOT%{_datadir}
81
82 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
83
84 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
85         ChangeLog README*
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %doc *.gz
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97 %attr(755,root,root) %{_bindir}/*
98 %{_datadir}/pilot-link
99 %{_mandir}/man[17]/*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/lib*.so
104 %{_includedir}/*
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
109
110 %changelog
111 * Thu May 27 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
112   [0.9.3-1]
113 - based on RH spec,
114 - spec rewrited by PLD team.
This page took 0.073713 seconds and 3 git commands to generate.