]> git.pld-linux.org Git - packages/pilot-link.git/blame - pilot-link.spec
- spec adapterized.
[packages/pilot-link.git] / pilot-link.spec
CommitLineData
21a2524a 1Summary: File transfer utilities between Linux and PalmPilots
1ffb1479 2Name: pilot-link
ab5eb06c 3Version: 0.9.3
98b397ec 4Release: 4
5License: GPL/LGPL
1ffb1479 6Group: Applications/Communications
7Group(pl): Aplikacje/Komunikacja
1b496f4c 8Source0: ftp://ryeham.ee.ryerson.ca/pub/PalmOS/%{name}.%{version}.tar.gz
1ffb1479 9Patch0: pilot-link-perl-install.patch
10Patch1: pilot-link.perl.patch
11Patch2: pilot-link-pixdir.patch
7e9cabed 12Patch3: pilot-link.sync-ldif.patch
4d063a3e 13Patch4: pilot-link-DESTDIR.patch
8f47373f 14BuildRequires: libstdc++-devel
21a2524a 15BuildRequires: ncurses-devel >= 5.0
98b397ec 16BuildRequires: readline-devel >= 4.1
8f47373f
AF
17BuildRequires: tcl-devel
18BuildRequires: tk-devel
19BuildRequires: XFree86-devel
cdf6f2c1 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3a9160f7 21
22%description
1b496f4c 23This suite of tools allows you to upload and download programs and
24data files between a Linux/UNIX machine and the PalmPilot. It has a
25few extra utils that will allow for things like syncing the
26PalmPilot's calendar app with Ical. Note that you might still need to
27consult the sources for pilot-link if you would like the Python, Tcl,
28or Perl bindings.
3a9160f7 29
30%package devel
1ffb1479 31Summary: Pilot development header files
32Group: Development/Libraries
1b496f4c 33Group(fr): Development/Librairies
1ffb1479 34Group(pl): Programowanie/Biblioteki
35Requires: %{name} = %{version}
3a9160f7 36
37%description devel
1b496f4c 38This package contains the development headers that are used to build
39the pilot-link package. It also includes the static libraries
40necessary to build static pilot apps.
3a9160f7 41
42%package static
1ffb1479 43Summary: Pilot link static libraries
44Group: Development/Libraries
1b496f4c 45Group(fr): Development/Librairies
1ffb1479 46Group(pl): Programowanie/Biblioteki
47Requires: %{name}-devel = %{version}
3a9160f7 48
49%description static
1ffb1479 50Pilot link static libraries.
3a9160f7 51
52%prep
53%setup -q -n %{name}.%{version}
1ffb1479 54%patch0 -p1
55%patch1 -p1
56%patch2 -p1
57%patch3 -p1
4d063a3e 58%patch4 -p1
3a9160f7 59
60%build
7e9cabed 61chmod +w configure
73ae103c 62autoconf
1ffb1479 63%ifarch armv4l
64libtoolize --copy --force
65%endif
66
4d063a3e 67CFLAGS="$RPM_OPT_FLAGS -I/usr/X11R6/include"
68LDFLAGS="-s"
69CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates"
70export CFLAGS LDFLAGS CXXFLAGS
71%configure
1ffb1479 72
be387c5c 73make LIBDIR="%{_datadir}"
3a9160f7 74
75%install
1ffb1479 76rm -rf $RPM_BUILD_ROOT
be387c5c 77install -d $RPM_BUILD_ROOT%{_datadir}
1ffb1479 78
4d063a3e 79make install DESTDIR=$RPM_BUILD_ROOT
3a9160f7 80
be387c5c 81mv $RPM_BUILD_ROOT%{_libdir}/pilot-link $RPM_BUILD_ROOT%{_datadir}
1ffb1479 82
8787514f 83strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
1ffb1479 84
22f522f9 85gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
5f2ee97e 86 ChangeLog README*
3a9160f7 87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%clean
1ffb1479 92rm -rf $RPM_BUILD_ROOT
3a9160f7 93
94%files
1ffb1479 95%defattr(644,root,root,755)
96%doc *.gz
8787514f 97%attr(755,root,root) %{_libdir}/lib*.so.*.*
9d2040ae 98%attr(755,root,root) %{_bindir}/*
be387c5c 99%{_datadir}/pilot-link
22f522f9 100%{_mandir}/man[17]/*
3a9160f7 101
102%files devel
1ffb1479 103%defattr(644,root,root,755)
8787514f 104%attr(755,root,root) %{_libdir}/lib*.so
c9717284 105%{_includedir}/*
3a9160f7 106
107%files static
1ffb1479 108%defattr(644,root,root,755)
8787514f 109%{_libdir}/lib*.a
This page took 0.050697 seconds and 4 git commands to generate.