Author: arekm                        Date: Tue Jan 16 21:53:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.12.1

---- Files affected:
SPECS:
   pilot-link.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: SPECS/pilot-link.spec
diff -u SPECS/pilot-link.spec:1.71 SPECS/pilot-link.spec:1.72
--- SPECS/pilot-link.spec:1.71  Sun Jan 14 19:35:55 2007
+++ SPECS/pilot-link.spec       Tue Jan 16 22:53:54 2007
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# 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
@@ -6,30 +9,33 @@
 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
@@ -140,21 +146,29 @@
 %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}"
@@ -185,6 +199,7 @@
 %{_libdir}/lib*.la
 %{_includedir}/*
 %{_aclocaldir}/*
+%{_pkgconfigdir}/*.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -196,6 +211,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2007/01/16 21:53:54  arekm
+- up to 0.12.1
+
 Revision 1.71  2007/01/14 18:35:55  arekm
 - rel 8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pilot-link.spec?r1=1.71&r2=1.72&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to