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