]> git.pld-linux.org Git - packages/pilot-link.git/blob - pilot-link.spec
- patch from rawhide.
[packages/pilot-link.git] / pilot-link.spec
1 Summary:        File transfer utilities between Linux and PalmPilots
2 Name:           pilot-link
3 Version:        0.9.3
4 Release:        11
5 License:        GPL/LGPL
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.gz
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
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  ncurses-devel >= 5.0
17 BuildRequires:  readline-devel >= 4.1
18 BuildRequires:  tcl-devel
19 BuildRequires:  tk-devel
20 BuildRequires:  XFree86-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
30
31 %package devel
32 Summary:        Pilot development header files
33 Group:          Development/Libraries
34 Group(de):      Entwicklung/Libraries
35 Group(fr):      Development/Librairies
36 Group(pl):      Programowanie/Biblioteki
37 Requires:       %{name} = %{version}
38
39 %description devel
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.
43
44 %package static
45 Summary:        Pilot link static libraries
46 Group:          Development/Libraries
47 Group(de):      Entwicklung/Libraries
48 Group(fr):      Development/Librairies
49 Group(pl):      Programowanie/Biblioteki
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 Pilot link static libraries.
54
55 %prep 
56 %setup -q -n %{name}.%{version}
57 %patch0 -p1
58 %patch1 -p1
59 %patch2 -p1
60 %patch3 -p1
61 %patch4 -p1
62
63 %build
64 chmod +w configure
65 autoconf
66 %ifarch armv4l
67 libtoolize --copy --force
68 %endif
69
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"
72 %configure
73
74 %{__make} LIBDIR="%{_datadir}"
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_datadir}
79
80 %{__make} install DESTDIR=$RPM_BUILD_ROOT
81
82 mv -f $RPM_BUILD_ROOT%{_libdir}/pilot-link $RPM_BUILD_ROOT%{_datadir}
83
84 gzip -9nf ChangeLog README*
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %doc *.gz
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96 %attr(755,root,root) %{_bindir}/*
97 %{_datadir}/pilot-link
98 %{_mandir}/man[17]/*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %{_includedir}/*
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/lib*.a
This page took 0.057977 seconds and 3 git commands to generate.