Dominique Leuenberger 2016-11-24 20:24:37 +00:00 committed by Git OBS Bridge
parent 93ec468aaf
commit e68daabc86
2 changed files with 22 additions and 16 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 20 19:35:33 UTC 2016 - jengelh@inai.de
- Rename soname macro to sover because it did not reflect the
SONAME.
- RPM group reclassification
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 3 19:50:42 UTC 2016 - wk@ire.pw.edu.pl Sat Sep 3 19:50:42 UTC 2016 - wk@ire.pw.edu.pl

View File

@ -19,8 +19,8 @@
Name: gnuradio Name: gnuradio
Version: 3.7.10.1 Version: 3.7.10.1
Release: 0 Release: 0
%define soname 3_7_10-0_0_0 %define sover 3_7_10-0_0_0
%define soname_volk 1_3 %define sover_volk 1_3
Summary: GNU software radio Summary: GNU software radio
License: GPL-3.0+ License: GPL-3.0+
Group: Productivity/Hamradio/Other Group: Productivity/Hamradio/Other
@ -96,12 +96,12 @@ performance wireless devices into software problems.
This package contains the wxgui blocks This package contains the wxgui blocks
%package -n libgnuradio-%{soname} %package -n libgnuradio-%{sover}
Summary: Libraries for GNU Radio Summary: Libraries for GNU Radio
Group: System/Libraries Group: System/Libraries
Obsoletes: libgnuradio0 Obsoletes: libgnuradio0
%description -n libgnuradio-%{soname} %description -n libgnuradio-%{sover}
GNU Radio is a collection of software that when combined with minimal GNU Radio is a collection of software that when combined with minimal
hardware, allows the construction of radios where the actual waveforms hardware, allows the construction of radios where the actual waveforms
transmitted and received are defined by software. What this means is transmitted and received are defined by software. What this means is
@ -110,13 +110,13 @@ performance wireless devices into software problems.
This package contains the libraries for GNU Radio. This package contains the libraries for GNU Radio.
%package -n libvolk%{soname_volk} %package -n libvolk%{sover_volk}
Summary: Libraries for GNU Radio Summary: Libraries for GNU Radio
Group: System/Libraries Group: System/Libraries
Conflicts: libgnuradio0 Conflicts: libgnuradio0
Obsoletes: libvolk0_0_0 Obsoletes: libvolk0_0_0
%description -n libvolk%{soname_volk} %description -n libvolk%{sover_volk}
GNU Radio is a collection of software that when combined with minimal GNU Radio is a collection of software that when combined with minimal
hardware, allows the construction of radios where the actual waveforms hardware, allows the construction of radios where the actual waveforms
transmitted and received are defined by software. What this means is transmitted and received are defined by software. What this means is
@ -127,7 +127,7 @@ This package contains the Vector-Optimized Library of Kernels (VOLK)
%package devel %package devel
Summary: Deveopment files for GNU Radio Summary: Deveopment files for GNU Radio
Group: Development/Libraries/Other Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description devel %description devel
@ -142,7 +142,7 @@ applications that use GNU Radio.
%package doc %package doc
Summary: GNU Radio documentation Summary: GNU Radio documentation
Group: Documentation/Other Group: Documentation/HTML
Requires: %{name} = %{version} Requires: %{name} = %{version}
BuildArch: noarch BuildArch: noarch
@ -230,13 +230,13 @@ rm -rf %{buildroot}%{_prefix}/libexec
%fdupes -s %{buildroot}%{_includedir} %fdupes -s %{buildroot}%{_includedir}
%fdupes -s %{buildroot}%{_libdir} %fdupes -s %{buildroot}%{_libdir}
%post -n libgnuradio-%{soname} -p /sbin/ldconfig %post -n libgnuradio-%{sover} -p /sbin/ldconfig
%post -n libvolk%{soname_volk} -p /sbin/ldconfig %post -n libvolk%{sover_volk} -p /sbin/ldconfig
%postun -n libgnuradio-%{soname} -p /sbin/ldconfig %postun -n libgnuradio-%{sover} -p /sbin/ldconfig
%postun -n libvolk%{soname_volk} -p /sbin/ldconfig %postun -n libvolk%{sover_volk} -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -279,12 +279,11 @@ rm -rf %{buildroot}%{_prefix}/libexec
%{_datadir}/gnuradio/grc/blocks/variable_static_text.xml %{_datadir}/gnuradio/grc/blocks/variable_static_text.xml
%{_datadir}/gnuradio/grc/blocks/variable_text_box.xml %{_datadir}/gnuradio/grc/blocks/variable_text_box.xml
%files -n libgnuradio-%{soname} %files -n libgnuradio-%{sover}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/lib*.so.* %{_libdir}/libgnuradio*.so.*
%exclude %{_libdir}/libvolk*.so.*
%files -n libvolk%{soname_volk} %files -n libvolk%{sover_volk}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/libvolk*.so.* %{_libdir}/libvolk*.so.*