author | jyu_mit |
Thu, 07 Aug 2008 09:09:05 +0000 | |
changeset 13067 | 57ecb568a88f |
parent 11315 | b8febdefed1a |
child 14543 | 851d41399ccc |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package pilot-link |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
# Owner: jyu_mit |
|
9 |
# bugdb: http://bugs.pilot-link.org/ |
|
10 |
# |
|
11 |
Name: pilot-link |
|
12 |
License: GPL/LGPL |
|
13 |
Group: Applications/Communications |
|
11174 | 14 |
Version: 0.12.3 |
9397 | 15 |
Release: 1 |
16 |
Distribution: Java Desktop System |
|
17 |
Vendor: Sun Microsystems, Inc. |
|
18 |
Summary: PalmOS link utilities |
|
19 |
Source: http://downloads.pilot-link.org.nyud.net:8090/%{name}-%{version}.tar.bz2 |
|
11315 | 20 |
#date:2007-11-23 owner:jyu_mit type:bug bugid:6632092 |
11235
bb4289dbe3eb
*SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents:
11174
diff
changeset
|
21 |
Patch1: pilot-link-01-man.diff |
13067
57ecb568a88f
* base-specs/pilot-link.spec: Add a manpage patch
jyu_mit
parents:
11315
diff
changeset
|
22 |
#date:2008-08-07 owner:jyu_mit type:branding |
57ecb568a88f
* base-specs/pilot-link.spec: Add a manpage patch
jyu_mit
parents:
11315
diff
changeset
|
23 |
Patch2: pilot-link-02-manpages.diff |
9397 | 24 |
URL: http://www.pilot-link.org/ |
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
26 |
Autoreqprov: on |
|
27 |
||
28 |
%description |
|
29 |
pilot-link is a suite of tools used to connect your Palm or PalmOS[tm] |
|
30 |
compatible handheld with Unix, Linux, and any other POSIX-compatible |
|
31 |
machine. |
|
32 |
||
33 |
%package devel |
|
34 |
Summary: pilot-link development files. |
|
35 |
Group: Development/Libraries |
|
36 |
||
37 |
%description devel |
|
38 |
pilot-link is a suite of tools used to connect your Palm or PalmOS[tm] |
|
39 |
compatible handheld with Unix, Linux, and any other POSIX-compatible |
|
40 |
machine. |
|
41 |
This package contains the files required for developing or building |
|
42 |
programs that use pilot-link. |
|
43 |
||
44 |
%prep |
|
45 |
%setup -q -n %{name}-%{version} |
|
11235
bb4289dbe3eb
*SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents:
11174
diff
changeset
|
46 |
%patch1 -p0 |
13067
57ecb568a88f
* base-specs/pilot-link.spec: Add a manpage patch
jyu_mit
parents:
11315
diff
changeset
|
47 |
%patch2 -p0 |
9397 | 48 |
|
49 |
%build |
|
50 |
%ifos linux |
|
51 |
if [ -x /usr/bin/getconf ]; then |
|
52 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
53 |
fi |
|
54 |
%else |
|
55 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
56 |
%endif |
|
57 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
58 |
CPUS=1 |
|
59 |
fi |
|
60 |
||
61 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
11235
bb4289dbe3eb
*SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents:
11174
diff
changeset
|
62 |
./autogen.sh --prefix=%{_prefix} \ |
9397 | 63 |
--sysconfdir=%{_sysconfdir} \ |
64 |
--mandir=%{_mandir} \ |
|
65 |
--libexecdir=%{_libexecdir} \ |
|
66 |
--libdir=%{_libdir} \ |
|
67 |
--includedir=%{_includedir}/libpisock \ |
|
68 |
--enable-libusb \ |
|
11235
bb4289dbe3eb
*SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents:
11174
diff
changeset
|
69 |
--enable-conduits |
9397 | 70 |
|
71 |
make -j $CPUS |
|
72 |
||
73 |
%install |
|
74 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
75 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
76 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
77 |
||
78 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
79 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
80 |
||
81 |
%clean |
|
82 |
rm -rf $RPM_BUILD_ROOT |
|
83 |
||
84 |
%files |
|
85 |
%defattr(-, root, root) |
|
86 |
%{_datadir}/pilot-link |
|
87 |
%{_bindir}/* |
|
88 |
%{_libdir}/*.so.* |
|
89 |
%{_mandir}/man1/* |
|
90 |
||
91 |
%files devel |
|
92 |
%defattr(-, root, root) |
|
93 |
%{_includedir}/libpisock/* |
|
94 |
%{_libdir}/pkgconfig |
|
95 |
%{_datadir}/aclocal |
|
96 |
||
97 |
%changelog |
|
13067
57ecb568a88f
* base-specs/pilot-link.spec: Add a manpage patch
jyu_mit
parents:
11315
diff
changeset
|
98 |
* Thu Aug 07 2008 - [email protected] |
57ecb568a88f
* base-specs/pilot-link.spec: Add a manpage patch
jyu_mit
parents:
11315
diff
changeset
|
99 |
- Add a manpage patch. |
11235
bb4289dbe3eb
*SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents:
11174
diff
changeset
|
100 |
* Fri Nov 23 2007 - [email protected] |
bb4289dbe3eb
*SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents:
11174
diff
changeset
|
101 |
- Add a patch. |
11174 | 102 |
* Tue Nov 13 2007 - [email protected] |
103 |
- Bump to 0.12.3 |
|
9397 | 104 |
* Wed Feb 14 2007 - [email protected] |
105 |
- Bump to 0.12.2 |
|
106 |
* Wed Dec 13 2006 - [email protected] |
|
107 |
- Bump to 0.12.1 |
|
108 |
* Wed Mar 8 2006 - <[email protected]> |
|
109 |
- Initial version |