]> git.pld-linux.org Git - packages/pilot-link.git/blob - pilot-link.spec
[0.9.2-1]
[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.2
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:    glibc-devel
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 This suite of tools allows you to upload and download programs
18 and data files between a *nix machine and the USR Pilot.  It has
19 a few extra utils that will allow for things like syncing the
20 Pilot's calendar app with Ical.  Note that you might still need
21 to consult the sources for pilot-link if you would like the
22 Python, Tcl, or Perl bindings.
23
24 %package devel
25 Summary:        Pilot development header files
26 Group:          Development/Libraries
27 Group(pl):      Programowanie/Biblioteki
28 Requires:       %{name} = %{version}
29
30 %description devel
31 This package contains the development headers that are used
32 to build the pilot-link package.  It also includes the static
33 libraries necessary to build static pilot apps.
34
35 %package static
36 Summary:        Pilot link static libraries
37 Group:          Development/Libraries
38 Group(pl):      Programowanie/Biblioteki
39 Requires:       %{name}-devel = %{version}
40
41 %description static
42 Pilot link static libraries.
43
44 %prep 
45 %setup -q -n %{name}.%{version}
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49 %patch3 -p1
50
51 %build
52 %ifarch armv4l
53 libtoolize --copy --force
54 %endif
55
56 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
57 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates" \
58 ./configure \
59         --prefix=/usr
60
61 make LIBDIR="/usr/share"
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/usr/share
66
67 make install \
68         prefix=$RPM_BUILD_ROOT/usr
69
70 mv $RPM_BUILD_ROOT/usr/lib/pilot-link $RPM_BUILD_ROOT/usr/share
71
72 strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*.so.*.*
73
74 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
75         ChangeLog README
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644,root,root,755)
85 %doc *.gz
86 /usr/lib/lib*.so.*.*
87 /usr/bin/*
88 /usr/share/pilot-link
89 /usr/man/man[17]/*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) /usr/lib/lib*.so
94 /usr/include/*
95
96 %files static
97 %defattr(644,root,root,755)
98 /usr/lib/lib*.a
99
100 %changelog
101 * Mon Apr 26 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102   [0.9.2-1]
103 - addded gzipping man pages and %doc,
104 - /sbin/ldconfig now is runed as -p parameter in %post, %postun,
105 - added Group(pl),
106 - added "BuildPrereq: glibc-devel".
107
108 * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
109 - strip binaries
110
111 * Tue Mar 30 1999 Preston Brown <pbrown@redhat.com>
112 - added missing files from devel subpackage
113
114 * Fri Mar 26 1999 Preston Brown <pbrown@redhat.com>
115 - move /usr/lib/pix to /usr/lib/pilot-link (dumb, BAD name)
116
117 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
118 - auto rebuild in the new build environment (release 5)
119
120 * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
121 - Injected new description and group.
122
123 * Thu Jan 21 1999 Bill Nottingham <notting@redhat.com>
124 - arm fix
125
126 * Fri Sep 24 1998 Michael Maher <mike@redhat.com>
127 - cleaned up spec file, updated package
128
129 * Tue May 19 1998 Michael Maher <mike@redhat.com>
130 - updated rpm
131
132 * Thu Jan 29 1998 Otto Hammersmith <otto@redhat.com>
133 - added changelog
134 - updated to 0.8.9
135 - removed explicit requires for /usr/bin/perl
This page took 0.044961 seconds and 3 git commands to generate.