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 19
View file
hamlib.spec
Changed
@@ -2,26 +2,33 @@ # spec file for package hamlib # -%define date 20160115 +%define date 20170530 %define soname 2 Name: hamlib -Version: 3.1_git%{date} +Version: 3.2_git%{date} Release: 0 -License: LGPL-2.1 Summary: Run-time library to control radio transcievers and receivers -Url: http://hamlib.sourceforge.net +License: LGPL-2.1 and GPL-2.0 Group: Productivity/Hamradio/Other +Url: http://hamlib.sourceforge.net Source: %{name}-%{version}.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# correct install dir - from fedora +patch0: hamlib-3.0-perl_install.diff +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gd-devel BuildRequires: libtool BuildRequires: libusb-devel +BuildRequires: lua-devel BuildRequires: makeinfo -BuildRequires: pkg-config +BuildRequires: perl +BuildRequires: pkgconfig +BuildRequires: python-devel BuildRequires: readline-devel +BuildRequires: swig +BuildRequires: tcl-devel Requires(post): info Requires(preun): info @@ -35,6 +42,7 @@ logging programs, digital communications programs, or those wanting to develop the ultimate radio control software to concentrate on the user interface and the basic function of the program rather than radio control. +Some cli utilities to control rigs and rotors are included. %package devel Summary: Hamlib development libraries @@ -43,7 +51,7 @@ %description devel Hamlib provides a consistent interface for programmers wanting to incorporate -radio control in their programsadio control in their programs. +radio control in their programs. %package -n libhamlib++%{soname} Summary: Hamlib C++ libraries @@ -63,22 +71,58 @@ Hamlib provides a consistent interface for programmers wanting to incorporate radio control in their programs. +%package -n lua-%{name} +Summary: Lua bindings for Hamlib +Group: Development/Libraries/Other +Requires: %{name} = %{version} + +%description -n lua-%{name} +Hamlib provides a consistent interface for programmers wanting to incorporate +radio control in their programs. + +%package -n python-%{name} +Summary: Python bindings for Hamlib +Group: Development/Libraries/Other + +%description -n python-%{name} +Hamlib provides a consistent interface for programmers wanting to incorporate +radio control in their programs. + +%package -n tcl-%{name} +Summary: Tcl bindings for Hamlib +Group: Development/Languages/Tcl + +%description -n tcl-%{name} +Hamlib provides a consistent interface for programmers wanting to incorporate +radio control in their programs. + +%package -n perl-%{name} +Summary: Perl bindings for Hamlib +Group: Development/Languages/Perl + +%description -n perl-%{name} +Hamlib provides a consistent interface for programmers wanting to incorporate +radio control in their programs. + %prep %setup +%patch0 -p1 %build autoreconf --force --install -%configure --without-perl-binding \ - --without-tcl-binding \ - --with-xml-support +%configure --disable-static \ + --with-xml-support \ + --with-lua-binding \ + --with-python-binding \ + --with-tcl-binding \ + --with-perl-binding make %{?_smp_mflags} %install %make_install - -rm %{buildroot}%{_libdir}/libhamlib.la -rm %{buildroot}%{_libdir}/libhamlib++.la +rm %{buildroot}%{perl_vendorarch}/auto/Hamlib/.packlist +%fdupes %{buildroot}%{python_sitearch} %post /sbin/ldconfig @@ -98,6 +142,7 @@ %{_libdir}/libhamlib.so.* %{_infodir}/hamlib.info.gz %{_datadir}/doc/hamlib +%exclude %{_libdir}/libhamlib.la %files devel %defattr(-,root,root) @@ -106,15 +151,31 @@ %{_datadir}/aclocal/hamlib.m4 %{_libdir}/pkgconfig/hamlib.pc %{_libdir}/libhamlib.so -%{_libdir}/libhamlib.a %files -n libhamlib++%{soname} %defattr(-,root,root) %{_libdir}/libhamlib++.so.* +%exclude %{_libdir}/libhamlib++.la %files -n libhamlib++%{soname}-devel %defattr(-,root,root) %{_libdir}/libhamlib++.so -%{_libdir}/libhamlib++.a + +%files -n lua-%{name} +%defattr(-,root,root) +%{_libdir}/lua + +%files -n python-%{name} +%defattr(-,root,root) +%{python_sitearch}/Hamlib.* +%{python_sitearch}/_Hamlib.* + +%files -n tcl-%{name} +%defattr(-,root,root) +%{_libdir}/tcl/Hamlib + +%files -n perl-%{name} +%defattr(-,root,root) +%{perl_vendorarch}/* %changelog
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
.