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