base-specs/pilot-link.spec
author jyu_mit
Thu, 07 Aug 2008 09:09:05 +0000
changeset 13067 57ecb568a88f
parent 11315 b8febdefed1a
child 14543 851d41399ccc
permissions -rw-r--r--
* base-specs/pilot-link.spec: Add a manpage patch * patches/pilot-link-02-manpages.diff: Added.
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# Owner: jyu_mit
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
Name:     	pilot-link
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
License:        GPL/LGPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Group:		Applications/Communications
11174
ef985490069c * base-specs/pilot-link.spec: Bump to 0.12.3.
jyu_mit
parents: 9397
diff changeset
    14
Version: 	0.12.3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Release:	1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Distribution:   Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Vendor:		Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Summary:	PalmOS link utilities
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Source:		http://downloads.pilot-link.org.nyud.net:8090/%{name}-%{version}.tar.bz2
11315
b8febdefed1a Fix patch comment.
yippi
parents: 11235
diff changeset
    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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
URL:		http://www.pilot-link.org/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Autoreqprov:    on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
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
    30
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
    31
machine.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Summary:	pilot-link development files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Group:		Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
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
    39
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
    40
machine.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
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
    42
programs that use pilot-link.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
  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
    56
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
	     --sysconfdir=%{_sysconfdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
	     --mandir=%{_mandir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
	     --libexecdir=%{_libexecdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
	     --libdir=%{_libdir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
	     --includedir=%{_includedir}/libpisock	\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
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
    79
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
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%{_datadir}/pilot-link
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%{_libdir}/*.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%{_includedir}/libpisock/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    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
ef985490069c * base-specs/pilot-link.spec: Bump to 0.12.3.
jyu_mit
parents: 9397
diff changeset
   102
* Tue Nov 13 2007 - [email protected]
ef985490069c * base-specs/pilot-link.spec: Bump to 0.12.3.
jyu_mit
parents: 9397
diff changeset
   103
- Bump to 0.12.3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Wed Feb 14 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Bump to 0.12.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
* Wed Dec 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- Bump to 0.12.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Wed Mar  8 2006 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- Initial version