rpms/hamlib/devel hamlib-automake.patch, NONE, 1.1 hamlib-bindings.patch, NONE, 1.1 hamlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Wed Mar 16 17:05:34 UTC 2005


Author: ivazquez

Update of /cvs/extras/rpms/hamlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3857/devel

Modified Files:
	.cvsignore sources 
Added Files:
	hamlib-automake.patch hamlib-bindings.patch hamlib.spec 
Log Message:
auto-import hamlib-1.2.3-1 on branch devel from hamlib-1.2.3-1.src.rpm
Initial import

hamlib-automake.patch:

--- NEW FILE hamlib-automake.patch ---
--- hamlib-1.2.3/hamlib.m4.orig	2005-02-09 23:44:25.065619304 -0500
+++ hamlib-1.2.3/hamlib.m4	2005-02-09 23:44:34.349207984 -0500
@@ -10,7 +10,7 @@
 dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified,
 dnl and the hamlib libraries are not found, a fatal AC_MSG_ERROR() will result.
 dnl
-AC_DEFUN(AM_PATH_HAMLIB,
+AC_DEFUN([AM_PATH_HAMLIB],
 [dnl Save the original CFLAGS, LDFLAGS, and LIBS
 hamlib_save_CFLAGS="$CFLAGS"
 hamlib_save_LDFLAGS="$LDFLAGS"

hamlib-bindings.patch:

--- NEW FILE hamlib-bindings.patch ---
--- hamlib-1.2.0/bindings/Makefile.in	2004-02-16 18:04:55.000000000 -0500
+++ hamlib-1.2.0.mod/bindings/Makefile.in	2004-04-19 05:48:59.000000000 -0500
@@ -138,7 +138,7 @@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
-SWIG = @SWIG@
+SWIG = /usr/bin/swig
 TCL_BIN_DIR = @TCL_BIN_DIR@
 TCL_INCLUDE_SPEC = @TCL_INCLUDE_SPEC@
 TCL_LIB_FILE = @TCL_LIB_FILE@
@@ -195,7 +195,7 @@
 program_transform_name = @program_transform_name@
 pyexecdir = @pyexecdir@
 
-pythondir = $(prefix)/lib/python
+pythondir = $(prefix)/lib/python2.3
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 subdirs = @subdirs@


--- NEW FILE hamlib.spec ---
Name: hamlib
Version: 1.2.3
Release: 1
License: LGPL
Group: System Environment/Libraries
Summary: Run-time library to control radio transcievers and receivers.
Source: ftp://ftp.sourceforge.net/pub/sourceforge/hamlib/hamlib-1.2.3.tar.gz

# For whatever reason @SWIG@ isn't being set by the configure script.
Patch: hamlib-bindings.patch
Patch1: hamlib-automake.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://hamlib.sourceforge.net
BuildRequires: /bin/sh, automake >= 1.4, libtool >= 1.4, fileutils, findutils, flex
BuildRequires: binutils >= 2.9.4, gcc >= 2.95, glibc-devel >= 2.1
BuildRequires: gzip, make >= 3.77, patch >= 2.5, rpm >= 3.0, sed
BuildRequires: textutils python-devel swig gd-devel
BuildRequires: doxygen

%description
Hamlib provides a standardised programming interface that applications 
can uso to send the appropriate commands to a radio.
 
Also included in the package is a simple radio control program 'rigctl',
which lets one control a radio transceiver or receiver, either from
command line interface or in a text-oriented interactive interface.

%package devel
Summary: Development library to control radio transcievers and receivers.
Group: Development/Libraries
Requires: hamlib = %{version}

%description devel
Hamlib radio control library C development headers and libraries
for building C applications with Hamlib.

%package c++
Summary: Hamlib radio control library C++ binding
Group: Development/Libraries
Requires: hamlib

%description c++
Hamlib radio control library C++ language binding.

%package c++-devel
Summary: Hamlib radio control library C++ binding development headers and libraries
Group: Development/Libraries
Requires: hamlib, hamlib-devel

%description c++-devel
Hamlib radio control library C++ binding development headers and libraries
for building C++ applications with Hamlib.


#%package perl
#Summary: Hamlib radio control library Perl binding
#Group: Development/Libraries
#Requires: hamlib = %{version}
#
#%description perl
#Hamlib PERL Language bindings to allow radio control from PERL scripts.

%package python
Summary: Hamlib radio control library Python binding
Group: Development/Libraries
Requires: hamlib = %{version}
Requires: python => 2.2.3

%description python
Hamlib Python Language bindings to allow radio control from Python scripts.

%prep
%setup
%patch -p1
%patch1 -p1
%build

%configure \
        --with-rigmatrix \
        --without-tcl-binding \
        --with-python-binding
##        --with-perl-binding

# Build libs, drivers, and programs
make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" all

# Build PERL and Python bindings
pushd bindings
  #  make all-perl
  make all-py
popd
# Build Documentation
pushd doc
  make doc
popd

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
pushd bindings
# Install Python
make prefix=$RPM_BUILD_ROOT%{_prefix} \
        exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
        bindir=$RPM_BUILD_ROOT%{_bindir} \
        sbindir=$RPM_BUILD_ROOT%{_sbindir} \
        sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
        datadir=$RPM_BUILD_ROOT%{_datadir} \
        includedir=$RPM_BUILD_ROOT%{_includedir} \
        libdir=$RPM_BUILD_ROOT%{_libdir} \
        libexecdir=$RPM_BUILD_ROOT%{_libexecdir} \
        localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
        sharedstatedir=$RPM_BUILD_ROOT%{_sharedstatedir} \
        mandir=$RPM_BUILD_ROOT%{_mandir} \
        infodir=$RPM_BUILD_ROOT%{_infodir} \
   install-pythonPYTHON

# Install PERL 
# make prefix=$RPM_BUILD_ROOT%{_prefix} \
#        exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
#        bindir=$RPM_BUILD_ROOT%{_bindir} \
#        sbindir=$RPM_BUILD_ROOT%{_sbindir} \
#        sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
#        datadir=$RPM_BUILD_ROOT%{_datadir} \
#        includedir=$RPM_BUILD_ROOT%{_includedir} \
#        libdir=$RPM_BUILD_ROOT%{_libdir} \
#        libexecdir=$RPM_BUILD_ROOT%{_libexecdir} \
#        localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
#        sharedstatedir=$RPM_BUILD_ROOT%{_sharedstatedir} \
#        mandir=$RPM_BUILD_ROOT%{_mandir} \
#        infodir=$RPM_BUILD_ROOT%{_infodir} \
#   install-perl
popd

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc COPYING doc/html
%{_bindir}/rigctl
%{_bindir}/rigmem
%{_bindir}/rigswr
%{_bindir}/rotctl
%{_sbindir}/rpc.rigd
%{_sbindir}/rpc.rotd
%{_libdir}/libhamlib-%{version}.so.2.0.2
%{_libdir}/hamlib-*.so
%{_libdir}/libhamlib.la
%{_libdir}/hamlib-*.la
%{_mandir}/man8/rpc.rigd.8.gz
%{_mandir}/man8/rpc.rotd.8.gz
%{_mandir}/man1/rigctl.1.gz
%{_mandir}/man1/rigmem.1.gz
%{_mandir}/man1/rigswr.1.gz
%{_mandir}/man1/rotctl.1.gz

%files c++
%defattr(-, root, root)
%{_libdir}/libhamlib++-%{version}.so.2.0.0
%{_libdir}/libhamlib++.la

%files c++-devel
%defattr(-, root, root)
%{_libdir}/libhamlib++.so
%{_libdir}/libhamlib++.a
%{_includedir}/hamlib/rigclass.h
%{_includedir}/hamlib/rotclass.h

#%files perl
#%defattr(-, root, root)
#%{_libdir}/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Hamlib/hamlib.so
#%{_libdir}/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Hamlib/hamlib.bs
#%{_libdir}/perl5/site_perl/5.8.3/i386-linux-thread-multi/Hamlib.pm
#%{_libdir}/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod
#%{_libdir}/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Hamlib/.packlist
#%{_libdir}/perl5/site_perl/5.8.3/i386-linux-thread-multi/perltest.pl

%files python
%defattr(-, root, root)
%{_libdir}/python2.3/Hamlib.py
%{_libdir}/python2.3/Hamlib.pyc
%{_libdir}/python2.3/Hamlib.pyo

%files devel
%defattr(-, root, root)
%{_libdir}/libhamlib.so
%{_libdir}/libhamlib.a
%{_libdir}/hamlib-*.a
%{_datadir}/aclocal/hamlib.m4
%{_includedir}/hamlib/rig.h
%{_includedir}/hamlib/riglist.h
%{_includedir}/hamlib/rig_dll.h
%{_includedir}/hamlib/rotator.h
%{_includedir}/hamlib/rotlist.h
%{_libdir}/pkgconfig/hamlib.pc


%changelog
* Tue Mar 15 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 1.2.3-1
- Bump release to 1
- Fixed BuildRoot

* Mon Feb 10 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0:1.2.3-0.iva.1
- Fixed error with automake in -devel (#26)

* Mon Jan 31 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0:1.2.3-0.iva.0
- Upstream update

* Sun Jan  9 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0:1.2.2-0.iva.1
- Fixed %files %defattr

* Sun Jan  9 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0:1.2.2-0.iva.0
- Ported to FC3
- Upgraded to 1.2.2

* Sun Apr 18 2004 David L Norris <dave at webaugur.com>
- Enable disabled script bindings.
- Touch up descriptions.

* Tue Jan 20 2004 Tomi Manninen
- Fix for 1.1.5pre2
- Better use of rpm macros
- Disable all bindings

* Tue Oct 08 2003 Joop Stakenborg
- Fix 'make rpm' again by disabling c++ bindings.
- rotclass.h and rigclass.h go into the devel package for now (FIXME)

* Wed Jan 15 2003 Joop Stakenborg
- Fix the spec file for 1.1.4CVS
- 'make rpm' should work now

* Thu Jun 17 2002 Stephane Fillod
- Added rotator support
- Added RPC daemon, hamlib.m4
- Upstream version 1.1.3

* Mon Jul 18 2001 Stephane Fillod
- Made initial "working" SPEC file



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/hamlib/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Mar 2005 17:04:48 -0000	1.1
+++ .cvsignore	16 Mar 2005 17:05:32 -0000	1.2
@@ -0,0 +1 @@
+hamlib-1.2.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/hamlib/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Mar 2005 17:04:48 -0000	1.1
+++ sources	16 Mar 2005 17:05:32 -0000	1.2
@@ -0,0 +1 @@
+f049d6d126d5391adde5cc7838483564  hamlib-1.2.3.tar.gz




More information about the scm-commits mailing list