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