1 %global debug_package %{nil}
5 Release: 0.2.git@SHORTCOMMIT@%{?dist}
6 Summary: RISC-V front end server library
9 URL: https://github.com/riscv/riscv-fesvr
10 Source0: https://github.com/riscv/%{name}/archive/@COMMIT@/%{name}-@SHORTCOMMIT@.tar.gz
12 BuildRequires: glibc-devel
14 # Workaround some problem with RPM dependency generator.
15 Provides: libfesvr.so()(64bit)
19 This is the RISC-V front end server library.
23 %setup -q -n %{name}-@COMMIT@
29 ../configure --prefix=%{_prefix} --libdir=%{_libdir}
36 make install DESTDIR=$RPM_BUILD_ROOT
39 # Package ignores libdir, so fix that.
40 mv $RPM_BUILD_ROOT%{_prefix}/lib $RPM_BUILD_ROOT%{_libdir}
44 %doc README.md COPYING LICENSE
47 %{_bindir}/fesvr-rs232
48 %{_bindir}/fesvr-zedboard
50 %{_libdir}/libfesvr.so
51 %{_libdir}/pkgconfig/riscv-fesvr.pc