]> git.pld-linux.org Git - packages/pilot-link.git/commitdiff
- up to 0.12.1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 16 Jan 2007 21:53:54 +0000 (21:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pilot-link.spec -> 1.72

pilot-link.spec

index 45d3d6610a215e10f2cd9cf45fdd807053f7dbf8..d5fcf61a302e6bbe242c247c57a31466adcb988d 100644 (file)
@@ -1,3 +1,6 @@
+# TODO:
+# - perl/python/tcl bindings subpackages
+%bcond_with    tcl
 Summary:       File transfer utilities between Linux and PalmPilots
 Summary(es):   Bibliotecas estáticas necesarias para generar aplicaciones Pilot
 Summary(pl):   Narzêdzia do przesy³ania plików miêdzy Linuksem a PalmPilotami
@@ -5,30 +8,33 @@ Summary(pt_BR):       Utilit
 Summary(ru):   õÔÉÌÉÔÁ ÐÅÒÅÓÙÌËÉ ÆÁÊÌÏ× ÍÅÖÄÕ Linux É PalmPilot
 Summary(uk):   õÔÉ̦ÔÁ ÐÅÒÅÓÉÌËÉ ÆÁÊ̦נͦ֠Linux ÔÁ PalmPilot
 Name:          pilot-link
-Version:       0.11.8
-Release:       8
+Version:       0.12.1
+Release:       1
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://www.pilot-link.org/source/%{name}-%{version}.tar.bz2
-# Source0-md5: 586f84add601e8b86da3093ab784e997
-Patch0:                %{name}-tcl_m4.patch
-Patch1:                %{name}-link.patch
-Patch2:                %{name}-am18.patch
-Patch3:                %{name}-iconv-in-glibc.patch
-Patch4:                %{name}-setcharset.patch
+Source0:       http://downloads.pilot-link.org/%{name}-%{version}.tar.bz2
+# Source0-md5: 80579c6f68eb583f54294d5651c4632b
+Patch0:                %{name}-ac.patch
 URL:           http://www.pilot-link.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
+BuildRequires: libpng-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
+BuildRequires: libusb-devel
 BuildRequires: perl-base >= 1:5.6
+BuildRequires: popt-devel
 BuildRequires: python-devel
 BuildRequires: readline-devel >= 5.0
+%if %{with tcl}
 BuildRequires: tcl-devel >= 8.3.2
 BuildRequires: tk-devel >= 8.3.2
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _ulibdir        %{_prefix}/lib
+
 %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
@@ -139,21 +145,29 @@ PalmPilot.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+
+%if "%{_lib}" == "lib64"
+sed -i -e 's#/lib #/lib64 #g' -e 's#/lib/#/lib64/#g' m4/python.m4
+%endif
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoheader}
 %{__autoconf}
 %{__automake}
 
-CFLAGS="%{rpmcflags} -I/usr/X11R6/include"
-CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
-%configure
+%configure \
+       %{!?debug:--disable-debug} \
+       --enable-conduits \
+       --enable-threads \
+       --enable-libusb \
+       --with-libpng=%{_prefix} \
+       --without-included-popt \
+       --with-perl \
+       %{!?with_tcl:--without-tcl}%{?with_tcl:--with-tcl=%{_ulibdir}} \
+       --with-python
+
 
 %{__make} \
        LIBDIR="%{_datadir}"
@@ -184,6 +198,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.la
 %{_includedir}/*
 %{_aclocaldir}/*
+%{_pkgconfigdir}/*.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.172167 seconds and 4 git commands to generate.