]> git.pld-linux.org Git - packages/pilot-link.git/blob - pilot-link.spec
b096984d87c80b0914b0b972fd1b990ae2cfd4be
[packages/pilot-link.git] / pilot-link.spec
1 Summary:        File transfer utilities between Linux and PalmPilots
2 Name:           pilot-link
3 Version:        0.9.5
4 Release:        3
5 License:        GPL
6 Group:          Applications/Communications
7 Group(de):      Applikationen/Kommunikation
8 Group(pl):      Aplikacje/Komunikacja
9 Source0:        ftp://ryeham.ee.ryerson.ca/pub/PalmOS/%{name}-%{version}.tar.bz2
10 Patch0:         %{name}-pixdir.patch
11 Patch1:         %{name}-DESTDIR.patch
12 Patch2:         %{name}-misc.patch
13 Patch3:         %{name}-ack.patch
14 URL:            http://www.gnu-designs.com/pilot-link/
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  readline-devel >= 4.2
17 BuildRequires:  tcl-devel >= 8.3.2
18 BuildRequires:  tk-devel >= 8.3.2
19 BuildRequires:  XFree86-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
29
30 %package devel
31 Summary:        Pilot development header files
32 Group:          Development/Libraries
33 Group(de):      Entwicklung/Libraries
34 Group(fr):      Development/Librairies
35 Group(pl):      Programowanie/Biblioteki
36 Requires:       %{name} = %{version}
37
38 %description devel
39 This package contains the development headers that are used to build
40 the pilot-link package. It also includes the static libraries
41 necessary to build static pilot apps.
42
43 %package static
44 Summary:        Pilot link static libraries
45 Group:          Development/Libraries
46 Group(de):      Entwicklung/Libraries
47 Group(fr):      Development/Librairies
48 Group(pl):      Programowanie/Biblioteki
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 Pilot link static libraries.
53
54 %prep 
55 %setup -q -n %{name}
56 %patch0 -p1
57 %patch1 -p1
58 %patch2 -p1
59 %patch3 -p1
60
61 %build
62 chmod +w configure
63 autoconf
64 %ifarch armv4l
65 libtoolize --copy --force
66 %endif
67
68 CFLAGS="%{rpmcflags} -I/usr/X11R6/include"
69 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
70 %configure
71
72 %{__make} LIBDIR="%{_datadir}"
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_datadir}
77
78 %{__make} install DESTDIR=$RPM_BUILD_ROOT
79
80 mv -f $RPM_BUILD_ROOT%{_libdir}/pilot-link $RPM_BUILD_ROOT%{_datadir}
81
82 gzip -9nf ChangeLog README*
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc *.gz
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
94 %attr(755,root,root) %{_bindir}/*
95 %{_datadir}/pilot-link
96 %{_mandir}/man[17]/*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib*.so
101 %{_includedir}/*
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
This page took 0.047009 seconds and 2 git commands to generate.