]> git.pld-linux.org Git - SPECS.git/blob - gnuradio-baz.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gnuradio-baz.spec
1 %define snap    20120412
2 %define rel     5
3 Summary:        GNU Radio additional functionality
4 Name:           gnuradio-baz
5 Version:        0.1
6 Release:        0.%{snap}.%{rel}
7 License:        GPL v3
8 Group:          Applications/Engineering
9 URL:            http://wiki.spench.net/wiki/Gr-baz
10 # http://svn.spench.net/main/gr-baz/
11 Source0:        gr-baz-%{snap}.tar.bz2
12 # Source0-md5:  3ae988c24c0c18967721177eef77ab40
13 Patch0:         %{name}-link.patch
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  cppunit-devel
17 BuildRequires:  gnuradio-devel
18 BuildRequires:  libtool
19 BuildRequires:  python-devel
20 Requires:       gnuradio
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 gr-baz is a GNU Radio project that adds new functionality (blocks, GRC
25 definitions, apps, etc).
26
27 %prep
28 %setup -q -n gr-baz
29 %patch0 -p1
30
31 %build
32 sh ./bootstrap
33
34 %configure
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         pythondir=%{py_sitedir} \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %post   -p /sbin/ldconfig
48 %postun -p /sbin/ldconfig
49
50 %files
51 %defattr(644,root,root,755)
52 %{_datadir}/gnuradio/grc/blocks/*.xml
53 %dir %{py_sitedir}/baz/
54 %{py_sitedir}/baz/*.py*
55 %attr(755,root,root) %{py_sitedir}/baz/_baz_swig.so
56 %attr(755,root,root) %{_libdir}/libgnuradio-baz.so.*.*
57 %attr(755,root,root) %ghost %{_libdir}/libgnuradio-baz.so.0
This page took 0.811695 seconds and 3 git commands to generate.