kopia lustrzana https://github.com/Hamlib/Hamlib
minor fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@655 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.2
rodzic
29c859b744
commit
42c1100cfd
|
@ -69,22 +69,20 @@ C++ Bindings.
|
||||||
%package c++-devel
|
%package c++-devel
|
||||||
Summary: Hamlib radio control library C++ bindings headers and static libs
|
Summary: Hamlib radio control library C++ bindings headers and static libs
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: hamlib
|
Requires: hamlib, hamlib-devel
|
||||||
|
|
||||||
%description c++-devel
|
%description c++-devel
|
||||||
This package contains all of the headers and the static libraries
|
This package contains all of the headers and the static libraries
|
||||||
for C++ bindings of Hamlib.
|
for C++ bindings of Hamlib.
|
||||||
|
|
||||||
You'll only need this package if you
|
You'll only need this package if you are doing development.
|
||||||
are doing development.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#%setup -q
|
|
||||||
%setup
|
%setup
|
||||||
%build
|
%build
|
||||||
|
|
||||||
CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS ./configure --prefix=%prefix
|
./configure --prefix=%prefix
|
||||||
make
|
make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" all
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -116,6 +114,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%defattr(755, root, root, 755)
|
%defattr(755, root, root, 755)
|
||||||
#%{prefix}/lib/libhamlib-%{version}.so
|
#%{prefix}/lib/libhamlib-%{version}.so
|
||||||
%{prefix}/lib/libhamlib-*.so
|
%{prefix}/lib/libhamlib-*.so
|
||||||
|
%{prefix}/lib/libhamlib-*.la
|
||||||
|
|
||||||
%{prefix}/bin/rigctl
|
%{prefix}/bin/rigctl
|
||||||
%{prefix}/man/man1/rigctl.1
|
%{prefix}/man/man1/rigctl.1
|
||||||
|
@ -131,7 +130,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{prefix}/lib/libhamlib.a
|
%{prefix}/lib/libhamlib.a
|
||||||
%{prefix}/lib/libhamlib.la
|
%{prefix}/lib/libhamlib.la
|
||||||
%{prefix}/lib/libhamlib-*.a
|
%{prefix}/lib/libhamlib-*.a
|
||||||
%{prefix}/lib/libhamlib-*.la
|
|
||||||
|
|
||||||
%files c++
|
%files c++
|
||||||
%defattr(755, root, root, 755)
|
%defattr(755, root, root, 755)
|
||||||
|
|
Ładowanie…
Reference in New Issue