base-specs/pilot-link.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 21815 e407ac1ee44b
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
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
20266
8bea88f4b589 2010-10-27 Brian Cameron <[email protected]>
yippi
parents: 19980
diff changeset
    17
Version: 	0.12.5
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
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 16584
diff changeset
    20
Vendor:		Other
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Summary:	PalmOS link utilities
20266
8bea88f4b589 2010-10-27 Brian Cameron <[email protected]>
yippi
parents: 19980
diff changeset
    22
Source:		http://downloads.pilot-link.org/%{name}-%{version}.tar.bz2
21815
e407ac1ee44b Update spec-file and patch owners to reference actual owners instead of Halton Huo and Jerry Tan.
yippi
parents: 20266
diff changeset
    23
#date:2007-11-23 owner:wangke 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
21815
e407ac1ee44b Update spec-file and patch owners to reference actual owners instead of Halton Huo and Jerry Tan.
yippi
parents: 20266
diff changeset
    25
#date:2008-08-07 owner:wangke 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
19980
948f931d5487 2010-08-03 Dave Lin <[email protected]>
davelam
parents: 17865
diff changeset
    27
#date:2010-08-02 owner:kewang type:bug
948f931d5487 2010-08-03 Dave Lin <[email protected]>
davelam
parents: 17865
diff changeset
    28
Patch3:		pilot-link-03-libpng.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
URL:		http://www.pilot-link.org/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Autoreqprov:    on
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
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
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
    35
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
    36
machine.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Summary:	pilot-link development files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Group:		Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
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
    44
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
    45
machine.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
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
    47
programs that use pilot-link.
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
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%setup -q -n %{name}-%{version}
11235
bb4289dbe3eb *SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents: 11174
diff changeset
    51
%patch1 -p0
16584
c6125f934232 2009-09-18 Ke Wang <[email protected]>
wangke
parents: 16504
diff changeset
    52
%patch2 -p1
19980
948f931d5487 2010-08-03 Dave Lin <[email protected]>
davelam
parents: 17865
diff changeset
    53
%patch3 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
  CPUS=`getconf _NPROCESSORS_ONLN`
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
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
  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
    62
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
16125
5afe2bae87ae 2009-07-26 Christian Kelly <[email protected]>
chrisk
parents: 15952
diff changeset
    67
#libtoolize --force
15952
3c6b1a5700a3 2009-06-22 Halton Huo <[email protected]>
halton
parents: 15155
diff changeset
    68
aclocal $ACLOCAL_FLAGS -I m4
3c6b1a5700a3 2009-06-22 Halton Huo <[email protected]>
halton
parents: 15155
diff changeset
    69
autoheader
3c6b1a5700a3 2009-06-22 Halton Huo <[email protected]>
halton
parents: 15155
diff changeset
    70
automake -a -c -f
3c6b1a5700a3 2009-06-22 Halton Huo <[email protected]>
halton
parents: 15155
diff changeset
    71
autoconf
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
CFLAGS="$RPM_OPT_FLAGS"					\
15952
3c6b1a5700a3 2009-06-22 Halton Huo <[email protected]>
halton
parents: 15155
diff changeset
    73
./configure  --prefix=%{_prefix}			\
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
	     --sysconfdir=%{_sysconfdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
	     --mandir=%{_mandir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
	     --libexecdir=%{_libexecdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
	     --libdir=%{_libdir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
	     --includedir=%{_includedir}/libpisock	\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
	     --enable-libusb				\
11235
bb4289dbe3eb *SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents: 11174
diff changeset
    80
	     --enable-conduits
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
make -j $CPUS
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
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
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
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
    90
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
    91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%{_datadir}/pilot-link
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_libdir}/*.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%{_includedir}/libpisock/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%changelog
20266
8bea88f4b589 2010-10-27 Brian Cameron <[email protected]>
yippi
parents: 19980
diff changeset
   109
* Wed Oct 27 2010 - [email protected]
8bea88f4b589 2010-10-27 Brian Cameron <[email protected]>
yippi
parents: 19980
diff changeset
   110
- Bump to 0.12.5.
16584
c6125f934232 2009-09-18 Ke Wang <[email protected]>
wangke
parents: 16504
diff changeset
   111
* Fri Sep 18 2009 - [email protected]
c6125f934232 2009-09-18 Ke Wang <[email protected]>
wangke
parents: 16504
diff changeset
   112
- Rework patch 02
15952
3c6b1a5700a3 2009-06-22 Halton Huo <[email protected]>
halton
parents: 15155
diff changeset
   113
* Mon Jun 22 2009 - [email protected]
3c6b1a5700a3 2009-06-22 Halton Huo <[email protected]>
halton
parents: 15155
diff changeset
   114
- Use ./configure instead of ./autogen.sh
13067
57ecb568a88f * base-specs/pilot-link.spec: Add a manpage patch
jyu_mit
parents: 11315
diff changeset
   115
* Thu Aug 07 2008 - [email protected]
57ecb568a88f * base-specs/pilot-link.spec: Add a manpage patch
jyu_mit
parents: 11315
diff changeset
   116
- Add a  manpage patch.
11235
bb4289dbe3eb *SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents: 11174
diff changeset
   117
* Fri Nov 23 2007 - [email protected]
bb4289dbe3eb *SUNWpilot-link.spec: Remove some unuseful files from the package.
jyu_mit
parents: 11174
diff changeset
   118
- Add a patch.
11174
ef985490069c * base-specs/pilot-link.spec: Bump to 0.12.3.
jyu_mit
parents: 9397
diff changeset
   119
* Tue Nov 13 2007 - [email protected]
ef985490069c * base-specs/pilot-link.spec: Bump to 0.12.3.
jyu_mit
parents: 9397
diff changeset
   120
- Bump to 0.12.3
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
* Wed Feb 14 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Bump to 0.12.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
* Wed Dec 13 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
- Bump to 0.12.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
* Wed Mar  8 2006 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- Initial version