Projects
home:wkazubski:hamradio
hamlib
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
hamlib.spec
Added
@@ -0,0 +1,153 @@ +# +# spec file for package hamlib +# Please submit bug reports / bug fixes to http://bugs.opensuse.org +# +# norootforbuild + +Name: hamlib +URL: http://hamlib.sourceforge.net +License: LGPL +Group: Productivity/Hamradio/TRX-Control +Autoreqprov: on +Version: 1.2.15.3 +Release: 1 +Summary: Run-time library to control radio transcievers and receivers +Source: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +BuildRequires: python gcc gcc-c++ glibc-devel binutils libtool findutils-locate textutils make patch fileutils libxml2-devel libusb-devel pkg-config + + +%description + Most recent amateur radio transceivers allow external control of their + functions through a computer interface. Unfortunately, control commands are + not always consistent across a manufacturer's product line and each + manufacturer's product line differs greatly from its competitors. + . + This library addresses that issue by providing a standardised programming + interface that applications can talk to and translating that into the + appropriate commands required by the radio in use. + . + This package provides the run-time form of the library. If you wish to + develop software using this library you need the 'hamlib-devel' package. + . + Also included in the package is a simple radio control program 'rigctl', + which let 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 + +%description devel + Most recent amateur radio transceivers allow external control of their + functions through a computer interface. Unfortunately, control commands are + not always consistent across a manufacturer's product line and each + manufacturer's product line differs greatly from its competitors. + . + This library addresses that issue by providing a standardised programming + interface that applications can talk to and translating that into the + appropriate commands required by the radio in use. + . + This package provides the development library. If you wish to run applications + developed using this library you'll need the 'hamlib' package. + +#%package c++ +#Summary: Hamlib radio control library C++ binding +#Group: Development/Libraries +#Requires: hamlib + +#%description c++ +#C++ Binding. + +#%package c++-devel +#Summary: Hamlib radio control library C++ binding headers and static libs +#Group: Development/Libraries +#Requires: hamlib, hamlib-devel + +#%description c++-devel +#This package contains all of the headers and the static libraries +#for C++ binding of Hamlib. + +#You'll only need this package if you are doing development. + +#%package perl +#Summary: Hamlib radio control library Perl binding +#Group: Development/Libraries +#Requires: hamlib +# +#%description perl +#Perl Binding. + +%prep +%setup + +%build + +LIBS="-lpthread" CFLAGS="-pthread" %configure --without-cxx-binding \ + --without-perl-binding \ + --without-kylix-binding \ + --without-tcl-binding \ + --without-python-binding +make +#CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" all + +%install +make DESTDIR=$RPM_BUILD_ROOT install-strip + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(644, root, root, 755) +%doc AUTHORS LICENSE NEWS + +%{_mandir}/man1/* +%{_mandir}/man8/* + +%defattr(755, root, root, 755) +%{_libdir}/libhamlib.so.* +%dir %{_libdir}/hamlib +%{_libdir}/hamlib/hamlib-*.so + +%{_bindir}/* +%{_sbindir}/* + +%files devel +%defattr(644, root, root, 755) +%dir %{_includedir}/hamlib +%{_includedir}/hamlib/*.h +%{_datadir}/aclocal/hamlib.m4 +%{_libdir}/pkgconfig/hamlib.pc +%{_libdir}/libhamlib.so +%{_libdir}/libhamlib.a +%{_libdir}/libhamlib.la +%{_libdir}/hamlib/*.la +%{_libdir}/hamlib/*.a + +#%files c++ +#%defattr(755, root, root, 755) +#%{_libdir}/libhamlib++-%{version}.so + + +#%files c++-devel +#%defattr(644, root, root, 755) + +#%{_includedir}/hamlib/rigclass.h +#%{_includedir}/hamlib/rotclass.h + +#%{_datadir}/aclocal/hamlib++.m4 +#%{_libdir}/libhamlib++.a +#%{_libdir}/libhamlib++.la + +#%files perl +#%defattr(755, root, root, 755) +#/usr/local/lib/perl/5.6.1/Hamlib.pm +#%dir /usr/local/lib/perl/5.6.1/auto/Hamlib +#%doc /usr/local/man/man3/Hamlib.3pm +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.