pilot-link.spec revision 15294
10668N/A#
10668N/A# spec file for package pilot-link
10668N/A#
10668N/A# Copyright (c) 2005 Sun Microsystems, Inc.
10668N/A# This file and all modifications and additions to the pristine
10668N/A# package are under the same license as the package itself.
10668N/A#
10668N/A# Owner: jyu_mit
10668N/A# bugdb: http://bugs.pilot-link.org/
10668N/A#
10668N/AName: pilot-link
10668N/ALicense: GPL v2 LGPL v2
10668N/AGroup: Applications/Communications
10668N/AVersion: 0.12.3
10668N/ARelease: 1
10668N/ADistribution: Java Desktop System
10668N/AVendor: Sun Microsystems, Inc.
10668N/ASummary: PalmOS link utilities
10668N/ASource: http://downloads.pilot-link.org.nyud.net:8090/%{name}-%{version}.tar.bz2
10668N/A#date:2007-11-23 owner:jyu_mit type:bug bugid:6632092
10668N/APatch1: pilot-link-01-man.diff
10668N/A#date:2008-08-07 owner:jyu_mit type:branding
10668N/APatch2: pilot-link-02-manpages.diff
10668N/AURL: http://www.pilot-link.org/
10668N/ABuildRoot: %{_tmppath}/%{name}-%{version}-root
10668N/AAutoreqprov: on
10668N/A
10668N/A%description
10668N/Apilot-link is a suite of tools used to connect your Palm or PalmOS[tm]
10668N/Acompatible handheld with Unix, Linux, and any other POSIX-compatible
10668N/Amachine.
10668N/A
10668N/A%package devel
10668N/ASummary: pilot-link development files.
10668N/AGroup: Development/Libraries
10668N/A
10668N/A%description devel
10668N/Apilot-link is a suite of tools used to connect your Palm or PalmOS[tm]
10668N/Acompatible handheld with Unix, Linux, and any other POSIX-compatible
10668N/Amachine.
10668N/AThis package contains the files required for developing or building
10668N/Aprograms that use pilot-link.
10668N/A
10668N/A%prep
10668N/A%setup -q -n %{name}-%{version}
10668N/A%patch1 -p0
10668N/A%patch2 -p0
10668N/A
10668N/A%build
10668N/A%ifos linux
10668N/Aif [ -x /usr/bin/getconf ]; then
10668N/A CPUS=`getconf _NPROCESSORS_ONLN`
10668N/Afi
10668N/A%else
10668N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10668N/A%endif
10668N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10668N/A CPUS=1
10668N/Afi
10668N/A
10668N/ACFLAGS="$RPM_OPT_FLAGS" \
10668N/A./autogen.sh --prefix=%{_prefix} \
10668N/A --sysconfdir=%{_sysconfdir} \
10668N/A --mandir=%{_mandir} \
10668N/A --libexecdir=%{_libexecdir} \
10668N/A --libdir=%{_libdir} \
10668N/A --includedir=%{_includedir}/libpisock \
10668N/A --enable-libusb \
10668N/A --enable-conduits
10668N/A
10668N/Amake -j $CPUS
10668N/A
10668N/A%install
10668N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
10668N/Amake install DESTDIR=$RPM_BUILD_ROOT
10668N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10668N/A
10668N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
10668N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
10668N/A
10668N/A%clean
10668N/Arm -rf $RPM_BUILD_ROOT
10668N/A
10668N/A%files
10668N/A%defattr(-, root, root)
10668N/A%{_datadir}/pilot-link
10668N/A%{_bindir}/*
10668N/A%{_libdir}/*.so.*
10668N/A%{_mandir}/man1/*
%files devel
%defattr(-, root, root)
%{_includedir}/libpisock/*
%{_libdir}/pkgconfig
%{_datadir}/aclocal
%changelog
* Thu Aug 07 2008 - jijun.yu@sun.com
- Add a manpage patch.
* Fri Nov 23 2007 - jijun.yu@sun.com
- Add a patch.
* Tue Nov 13 2007 - jijun.yu@sun.com
- Bump to 0.12.3
* Wed Feb 14 2007 - jijun.yu@sun.com
- Bump to 0.12.2
* Wed Dec 13 2006 - halton.huo@sun.com
- Bump to 0.12.1
* Wed Mar 8 2006 - <laszlo.peter@sun.com>
- Initial version