1 | %define ver 0.12.5 |
---|
2 | %define srcver %{ver} |
---|
3 | %define rel 1%{?_dist_release} |
---|
4 | %define support_perl 0 |
---|
5 | |
---|
6 | Name: pilot-link |
---|
7 | Summary: File transfer utilities between Linux and PalmPilots. |
---|
8 | Summary(ja): Linux と Palm handheld device を接続する為のユーティリティ |
---|
9 | Version: %{ver} |
---|
10 | Release: %{rel} |
---|
11 | Epoch: 1 |
---|
12 | |
---|
13 | Group: Applications/Other |
---|
14 | License: GPL/LGPL |
---|
15 | URL: http://www.pilot-link.org/ |
---|
16 | |
---|
17 | Source0: http://downloads.pilot-link.org/pilot-link-%{version}.tar.bz2 |
---|
18 | Source1: connect-palm-ppp.tar.bz2 |
---|
19 | Source2: 60-libpisock.rules.vine |
---|
20 | |
---|
21 | # (fc) 0.10.99 fix python/perl installation |
---|
22 | Patch1: pilot-link-0.11.0-perlmd5.patch |
---|
23 | Patch2: pilot-link-0.11.0-perlpollute.patch |
---|
24 | Patch3: pilot-link-0.11.2-malsync.patch |
---|
25 | |
---|
26 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
27 | BuildRequires: bison >= 1.35 |
---|
28 | BuildRequires: libusb-devel >= 0.1 |
---|
29 | BuildRequires: readline-devel |
---|
30 | BuildRequires: bluez-libs-devel |
---|
31 | BuildRequires: popt-devel |
---|
32 | %if %{support_perl} |
---|
33 | BuildRequires: perl |
---|
34 | %endif |
---|
35 | |
---|
36 | Vendor: Project Vine |
---|
37 | Distribution: Vine Linux |
---|
38 | |
---|
39 | %description |
---|
40 | This suite of tools allows you to upload and download programs and |
---|
41 | data files between a Linux/UNIX machine and the PalmPilot. It has a |
---|
42 | few extra utils that will allow for things like syncing the |
---|
43 | PalmPilot's calendar app with Ical. Note that you might still need to |
---|
44 | consult the sources for pilot-link if you would like the Python, Tcl, |
---|
45 | or Perl bindings. |
---|
46 | |
---|
47 | Install pilot-link if you want to synchronize your Palm with your Vine |
---|
48 | Linux system. |
---|
49 | |
---|
50 | %description -l ja |
---|
51 | このツールを使うと、Linux/Unix マシンと Palm handheld device の間で |
---|
52 | プログラムやファイルを転送することができます。このツールには、Palm |
---|
53 | handheld device の予定表と Ical との間で同期を可能にするようないくつ |
---|
54 | かのユーティリティが付属しています。もし Python や Tcl、あるいは |
---|
55 | Perl bindingsを使用する場合は、pilot-link の source を調べる必要が |
---|
56 | あることに注意してください。 |
---|
57 | |
---|
58 | Palm handheld device を Vine Linux システムで同期させたい場合は |
---|
59 | pilot-link をインストールします。 |
---|
60 | |
---|
61 | %package libs |
---|
62 | Summary: Runtime libraries for %{name} |
---|
63 | Summary(ja): %{name} のランタイムライブラリ |
---|
64 | Group: System Environment/Libraries |
---|
65 | Requires: libusb >= 0.1 |
---|
66 | |
---|
67 | %description libs |
---|
68 | This package provides the shared libraries for any pilot-link client |
---|
69 | program or interface. |
---|
70 | |
---|
71 | %package devel |
---|
72 | Summary: PalmPilot development header files. |
---|
73 | Summary(ja): Palm handheld プログラム開発用のヘッダ ファイル |
---|
74 | Group: Development/Libraries |
---|
75 | Requires: %{name}-libs = %{epoch}:%{version} |
---|
76 | |
---|
77 | %description devel |
---|
78 | This package contains the development headers that are used to build |
---|
79 | the pilot-link package. It also includes the static libraries |
---|
80 | necessary to build static pilot apps. |
---|
81 | |
---|
82 | If you want to develop PalmPilot synchronizing applications, you'll |
---|
83 | need to install pilot-link-devel. |
---|
84 | |
---|
85 | %description devel -l ja |
---|
86 | このパッケージには、pilot-link パッケージを構築する為に必要な開発用の |
---|
87 | ヘッダ ファイルが含まれます。また、スタティックな Palm 用アプリケーション |
---|
88 | の構築に必要なスタティック ライブラリも含まれます。 |
---|
89 | |
---|
90 | Palm handheld deviceと同期するアプリケーションを開発したい場合は、 |
---|
91 | pilot-link-devel パッケージをインストールする必要があります。 |
---|
92 | |
---|
93 | %prep |
---|
94 | %setup -q -a 1 |
---|
95 | %if %{support_perl} |
---|
96 | %patch1 -p1 -b .perlmd5 |
---|
97 | %patch2 -p1 -b .perlpollute |
---|
98 | %patch3 -p1 -b .malsync |
---|
99 | %endif |
---|
100 | |
---|
101 | %build |
---|
102 | %configure\ |
---|
103 | --disable-static \ |
---|
104 | --enable-conduits \ |
---|
105 | --enable-libusb \ |
---|
106 | --with-libpng \ |
---|
107 | --with-bluez \ |
---|
108 | --without-python \ |
---|
109 | --without-tcl \ |
---|
110 | --without-java \ |
---|
111 | %if %{support_perl} |
---|
112 | --with-perl |
---|
113 | %else |
---|
114 | --without-perl |
---|
115 | %endif |
---|
116 | |
---|
117 | make |
---|
118 | |
---|
119 | %install |
---|
120 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
121 | |
---|
122 | %if %{support_perl} |
---|
123 | if test -f bindings/Perl/Makefile.PL ; then |
---|
124 | cd bindings/Perl |
---|
125 | perl -pi -e 's|^\$libdir =.*|\$libdir = "%{buildroot}%{_libdir}";|g' Makefile.PL |
---|
126 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor |
---|
127 | make |
---|
128 | cd ../.. |
---|
129 | fi |
---|
130 | %endif |
---|
131 | |
---|
132 | %__make install DESTDIR=$RPM_BUILD_ROOT |
---|
133 | #%makeinstall -C doc/man |
---|
134 | |
---|
135 | %if %{support_perl} |
---|
136 | make install -C bindings/Perl |
---|
137 | rm -f %{buildroot}%{_libdir}/perl5/vendor_perl/%{perl_version}/*/auto/PDA/Pilot/Pilot.bs \ |
---|
138 | %{buildroot}%{_libdir}/perl5/site_perl/*/*/*/PDA/Pilot/.packlist |
---|
139 | %endif |
---|
140 | |
---|
141 | # install modified udev rules. |
---|
142 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d |
---|
143 | install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/60-libpisock.rules |
---|
144 | |
---|
145 | # remove files we don't want to include |
---|
146 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
147 | |
---|
148 | %post libs -p /sbin/ldconfig |
---|
149 | |
---|
150 | %postun libs -p /sbin/ldconfig |
---|
151 | |
---|
152 | |
---|
153 | %clean |
---|
154 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
155 | |
---|
156 | %files |
---|
157 | %defattr(-,root,root) |
---|
158 | %doc COPYING ChangeLog README NEWS AUTHORS doc/README.* |
---|
159 | %{_bindir}/* |
---|
160 | %{_mandir}/man1/* |
---|
161 | |
---|
162 | %files libs |
---|
163 | %defattr(-,root,root) |
---|
164 | %doc COPYING.LIB |
---|
165 | %{_sysconfdir}/udev/rules.d/60-libpisock.rules |
---|
166 | %{_libdir}/*.so.* |
---|
167 | %if %{support_perl} |
---|
168 | %{_libdir}/perl5/vendor_perl/*/*/*/PDA |
---|
169 | %{_libdir}/perl5/vendor_perl/*/*/PDA |
---|
170 | %endif |
---|
171 | %{_datadir}/pilot-link |
---|
172 | %{_mandir}/man7/* |
---|
173 | |
---|
174 | %files devel |
---|
175 | %defattr(-, root, root) |
---|
176 | %{_libdir}/*.so |
---|
177 | #{_libdir}/*.la |
---|
178 | %{_libdir}/pkgconfig/pilot-link.pc |
---|
179 | %{_includedir}/* |
---|
180 | %{_datadir}/aclocal/*.m4 |
---|
181 | |
---|
182 | |
---|
183 | %changelog |
---|
184 | * Thu Sep 30 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.5-1 |
---|
185 | - new upstream release |
---|
186 | - split libraries to subpackage |
---|
187 | - built with rpm-4.8.1 for pkg-config |
---|
188 | - added URL tag |
---|
189 | |
---|
190 | * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.4-1 |
---|
191 | - new upstream release |
---|
192 | - removed static libraries from devel package |
---|
193 | - added --with-bluez to %%configure (added also BR: bluez-libs-devel) |
---|
194 | |
---|
195 | * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.12.0-1vl5 |
---|
196 | - applied new versioning policy, spec in utf-8 |
---|
197 | |
---|
198 | * Sat Sep 30 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.0-0vl2 |
---|
199 | - add modified udev rules (Source2). <BTS:VineLinux:222> |
---|
200 | |
---|
201 | * Sat Sep 02 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.12.0-0vl1 |
---|
202 | - source update. |
---|
203 | - change Group to Applications/Other |
---|
204 | - use %%configure macro instead of ./configure |
---|
205 | - delete unused configure options for itcl and tk. |
---|
206 | - use '%%__make install' to use DESTDIR variable. |
---|
207 | - comment out '%%makeinstall -C doc/man'(not required to install man). |
---|
208 | - add 60-libpisock.rules for udev in %%files. |
---|
209 | - add pilot-link.pc in %%files for -devel. |
---|
210 | - add Requires libusb and BuildRequires libusb-devel >= 0.1. |
---|
211 | |
---|
212 | * Fri Jan 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.11.8-0vl3 |
---|
213 | - rebuild for VineSeed |
---|
214 | - add "%%{epoch}:" to Requires in pilot-link-devel |
---|
215 | |
---|
216 | * Sun Nov 07 2004 Kazutaka Harada <kazutaka@dc4.so-net.ne.jp> 0.11.8-0vl2 |
---|
217 | - convert spec from SJIS to EUC. |
---|
218 | |
---|
219 | * Wed Nov 03 2004 Kazutaka Harada <kazutaka@dc4.so-net.ne.jp> 0.11.8-0vl1 |
---|
220 | - source update |
---|
221 | - add japanese translation(summary & description). |
---|
222 | - use License tag instead of Copyright. |
---|
223 | - change BuildRequires XFree86-devel to XOrg-devel. |
---|
224 | - add BuildRequires readline-devel. |
---|
225 | - add new Patch9.(avoid make error "undefined reference to `pow'") |
---|
226 | |
---|
227 | * Fri May 23 2003 Tomoya TAKA <taka@vinelinux.org> 0.11.7-0vl2 |
---|
228 | - disuse %%configure macro to avoid unsuitable prefixed filename |
---|
229 | |
---|
230 | * Mon Mar 24 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.11.7-0vl1 |
---|
231 | - source update |
---|
232 | |
---|
233 | * Fri Jan 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.9.5-0vl2 |
---|
234 | - unfortunately added Epoch 1 |
---|
235 | (the previous version was 0.9.5.pre5-0vl2. Sigh...) |
---|
236 | |
---|
237 | * Sat Oct 13 2001 <uh@u.dhis.portside.net> |
---|
238 | - 0.9.5-0vl1 |
---|
239 | - upgrade to 0.9.5 |
---|
240 | - add COPYING.LIB to %doc |
---|
241 | |
---|
242 | * Mon Mar 26 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.9.5-pre5-0vl1 |
---|
243 | - New upstream release. |
---|
244 | - Fixed defattr stuff for devel package. |
---|
245 | - Use rpmmacros. |
---|
246 | |
---|
247 | * Wed Oct 20 1999 Preston Brown <pbrown@redhat.com> |
---|
248 | - upgrade to pilot-link 0.9.3, rewrite spec. |
---|
249 | |
---|
250 | * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com> |
---|
251 | - strip binaries |
---|
252 | |
---|
253 | * Tue Mar 30 1999 Preston Brown <pbrown@redhat.com> |
---|
254 | - added missing files from devel subpackage |
---|
255 | |
---|
256 | * Fri Mar 26 1999 Preston Brown <pbrown@redhat.com> |
---|
257 | - move /usr/lib/pix to /usr/lib/pilot-link (dumb, BAD name) |
---|
258 | |
---|
259 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
260 | - auto rebuild in the new build environment (release 5) |
---|
261 | |
---|
262 | * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> |
---|
263 | - Injected new description and group. |
---|
264 | |
---|
265 | * Thu Jan 21 1999 Bill Nottingham <notting@redhat.com> |
---|
266 | - arm fix |
---|
267 | |
---|
268 | * Fri Sep 24 1998 Michael Maher <mike@redhat.com> |
---|
269 | - cleaned up spec file, updated package |
---|
270 | |
---|
271 | * Tue May 19 1998 Michael Maher <mike@redhat.com> |
---|
272 | - updated rpm |
---|
273 | |
---|
274 | * Thu Jan 29 1998 Otto Hammersmith <otto@redhat.com> |
---|
275 | - added changelog |
---|
276 | - updated to 0.8.9 |
---|
277 | - removed explicit requires for /usr/bin/perl |
---|
278 | |
---|