pilot-link/pilot-link.spec
cvsdist bcfb1cfa4e auto-import changelog data from pilot-link-0.11.2-1.src.rpm
Tue Aug 06 2002 Than Ngo <than@redhat.com> 0.11.2-1
- 0.11.2 (bug #70889)
- add missing static library
Mon Jul 22 2002 Tim Powers <timp@redhat.com> 0.11.0-4
- rebuild using gcc-3.2-0.1
Thu Jul 18 2002 Tim Powers <timp@redhat.com> 0.11.0-3
- add %{_libdir}/libpisock++.so and %{_libdir}/libpisock++.so.* to the file
    lists to fix the broken deps
Thu Jul 18 2002 Than Ngo <than@redhat.com> 0.11.0-2
- Added missing some symlinks
Thu Jul 18 2002 Than Ngo <than@redhat.com> 0.11.0-1
- 0.11.0 (bug #69135)
- Adapted patches into 0.11.0
Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
Wed Jun 19 2002 Than Ngo <than@redhat.com> 0.9.5-19
- don't forcibly strip binaries
Tue Jun 11 2002 Than Ngo <than@redhat.com> 0.9.5-18
- get rid of tcl/tk dependency (bug #66480)
Wed Jun 05 2002 Than Ngo <than@redhat.com> 0.9.5-17
- add rpmlint filter rpmlint bug #66008
- add malsync-supporting bug #64882
Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2004-09-09 10:29:29 +00:00

257 lines
6.8 KiB
RPMSpec
Raw Blame History

%define support_perl 0
%define perl_version 5.8.0
Summary: File transfer utilities between Linux and PalmPilots.
Name: pilot-link
Version: 0.11.2
Release: 1
Source: http://www.gnu-designs.com/pilot-link/pilot-link-%{version}.tar.bz2
Url: http://www.gnu-designs.com/pilot-link/
Patch1: pilot-link-0.11.0-perlmd5.patch
Patch2: pilot-link-0.11.0-perlpollute.patch
Patch3: pilot-link-0.11.2-malsync.patch
Epoch: 1
License: GPL
Group: Applications/Communications
BuildRoot: %{_tmppath}/%{name}-root
%if %{support_perl}
BuildPrereq: perl
%endif
ExcludeArch: s390 s390x
%description
This suite of tools allows you to upload and download programs and
data files between a Linux/UNIX machine and the PalmPilot. It has a
few extra utilities that will allow for things like syncing the
PalmPilot's calendar app with Ical. Note that you might still need to
consult the sources for pilot-link if you would like the Python, Tcl,
or Perl bindings.
Install pilot-link if you want to synchronize your Palm with your Red
Hat Linux system.
%package devel
Summary: PalmPilot development header files.
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
This package contains the development headers that are used to build
the pilot-link package. It also includes the static libraries
necessary to build static pilot applications.
If you want to develop PalmPilot synchronizing applications, you'll
need to install pilot-link-devel.
%prep
%setup -q
%if %{support_perl}
%patch1 -p1 -b .perlmd5
%patch2 -p1 -b .perlpollute
%patch3 -p1 -b .malsync
%endif
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
--with-python=no \
--with-itcl=no \
--with-tk=no \
--with-tcl=no \
--with-java=no \
--with-cpp=yes \
%if %{support_perl}
--with-perl=yes
%else
--with-perl=no
%endif
make
%install
rm -rf $RPM_BUILD_ROOT
%if %{support_perl}
if test -f bindings/Perl/Makefile.PL ; then
cd bindings/Perl
perl -pi -e 's|^\$libdir =.*|\$libdir = "%{buildroot}%{_libdir}";|g' Makefile.PL
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make
cd ../..
fi
%endif
make install DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} -C doc/man
%if %{support_perl}
make install -C bindings/Perl
rm -f %{buildroot}/usr/lib/perl5/vendor_perl/%{perl_version}/*/auto/PDA/Pilot/Pilot.bs \
%{buildroot}/usr/lib/perl5/site_perl/*/*/*/PDA/Pilot/.packlist
%endif
install libpisock++/.libs/libpisock++.so.0.0.0 %{buildroot}/usr/lib/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING ChangeLog README NEWS
%{_libdir}/*.so.*
%if %{support_perl}
%{_libdir}/perl5/vendor_perl/*/*/*/PDA
%{_libdir}/perl5/vendor_perl/*/*/PDA
%endif
%{_bindir}/*
%{_datadir}/pilot-link
%{_mandir}/man?/*
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/*
%changelog
* Tue Aug 6 2002 Than Ngo <than@redhat.com> 0.11.2-1
- 0.11.2 (bug #70889)
- add missing static library
* Mon Jul 22 2002 Tim Powers <timp@redhat.com> 0.11.0-4
- rebuild using gcc-3.2-0.1
* Thu Jul 18 2002 Tim Powers <timp@redhat.com> 0.11.0-3
- add %%{_libdir}/libpisock++.so and %%{_libdir}/libpisock++.so.* to
the file lists to fix the broken deps
* Thu Jul 18 2002 Than Ngo <than@redhat.com> 0.11.0-2
- Added missing some symlinks
* Thu Jul 18 2002 Than Ngo <than@redhat.com> 0.11.0-1
- 0.11.0 (bug #69135)
- Adapted patches into 0.11.0
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jun 19 2002 Than Ngo <than@redhat.com> 0.9.5-19
- don't forcibly strip binaries
* Mon Jun 11 2002 Than Ngo <than@redhat.com> 0.9.5-18
- get rid of tcl/tk dependency (bug #66480)
* Wed Jun 05 2002 Than Ngo <than@redhat.com> 0.9.5-17
- add rpmlint filter rpmlint bug #66008
- add malsync-supporting bug #64882
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu Feb 21 2002 Jeremy Katz <katzj@redhat.com> 0.9.5-13
- free trip through the build system
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 0.9.5-12
- automated rebuild
* Mon Dec 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.9.5-11
- fix build with gcc 3.1
* Mon Nov 12 2001 Than Ngo <than@redhat.com> 0.9.5-10
- add patch for building against gcc 3
* Thu Sep 20 2001 Than Ngo <than@redhat.com> 0.9.5-9
- update to 0.9.5 release (bug #53430)
- fix bug #53807
- add Url
* Fri Aug 10 2001 Than Ngo <than@redhat.com>
- add epoch (bug #51429)
* Mon Jul 16 2001 Trond Eivind Glomsr<73>d <teg@redhat.com>
- s/Copyright/License/
- Add dependency on main package for the devel subpackage
* Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de>
- add ExcludeArch: s390 s390x
* Fri Jun 15 2001 Than Ngo <than@redhat.com>
- fix to build against libtool (bug #43800)
* Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.9.5-4
- rebuild with new readline
* Fri Apr 27 2001 Bill Nottingham <notting@redhat.com>
- rebuild for C++ exception handling on ia64
* Thu Feb 01 2001 Than Ngo <than@redhat.com>
- cleanup patch from J<EFBFBD>rgen Stuber to fix "Weird packet" error (Bug #25360)
* Mon Nov 20 2000 Than Ngo <than@redhat.com>
- update 0.9.5pre3 snapshot from CVS
- fix up broken codes
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Tue Jul 4 2000 Jakub Jelinek <jakub@redhat.com>
- Rebuild with new C++
* Mon Jun 5 2000 Matt Wilson <msw@redhat.com>
- defattr on devel package
* Sat Jun 3 2000 Matt Wilson <msw@redhat.com>
- rebuilt against tcl-8.3.1
* Wed May 31 2000 Matt Wilson <msw@redhat.com>
- fix building with egcs 2.96 and gcc 2.2, build against new libstdc++
- use _mandir macro
* Wed Apr 5 2000 Bill Nottingham <notting@redhat.com>
- rebuild against current ncurses/readline
* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
- call ldconfig directly from postun
* Tue Mar 7 2000 Jeff Johnson <jbj@redhat.com>
- rebuild for sparc baud rates > 38400.
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
- gzip man pages
* Wed Oct 20 1999 Preston Brown <pbrown@redhat.com>
- upgrade to pilot-link 0.9.3, rewrite spec.
* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
- strip binaries
* Tue Mar 30 1999 Preston Brown <pbrown@redhat.com>
- added missing files from devel subpackage
* Fri Mar 26 1999 Preston Brown <pbrown@redhat.com>
- move /usr/lib/pix to /usr/lib/pilot-link (dumb, BAD name)
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 5)
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.
* Thu Jan 21 1999 Bill Nottingham <notting@redhat.com>
- arm fix
* Fri Sep 24 1998 Michael Maher <mike@redhat.com>
- cleaned up spec file, updated package
* Tue May 19 1998 Michael Maher <mike@redhat.com>
- updated rpm
* Thu Jan 29 1998 Otto Hammersmith <otto@redhat.com>
- added changelog
- updated to 0.8.9
- removed explicit requires for /usr/bin/perl