Accepting request 493552 from home:mnhauke:sdr-devel

- Use package-meta for tar_scm service and add git-core
  to BuildRequires

OBS-URL: https://build.opensuse.org/request/show/493552
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libmirisdr?expand=0&rev=4
This commit is contained in:
Martin Pluskal 2017-05-08 18:30:04 +00:00 committed by Git OBS Bridge
parent 7db31435a8
commit 9a1d95fc1f
4 changed files with 12 additions and 4 deletions

View File

@ -2,6 +2,7 @@
<service mode="disabled" name="tar_scm">
<param name="url">https://git.osmocom.org/libmirisdr</param>
<param name="scm">git</param>
<param name="package-meta">yes</param>
<param name="changesgenerate">enable</param>
<param name="filename">libmirisdr</param>
<param name="versionformat">0.0.0+git.%cd</param>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a9f7e88167c54371ed793f233462a18e7ddf8da025d35afc6309faffc625237
size 40244
oid sha256:df1493474123b68dff198f886c9f0d576557f5438201b99a4477471935719d3d
size 122404

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 8 17:57:39 UTC 2017 - mardnh@gmx.de
- Use package-meta for tar_scm service and add git-core
to BuildRequires
-------------------------------------------------------------------
Sun Apr 23 15:51:17 UTC 2017 - mardnh@gmx.de

View File

@ -29,6 +29,7 @@ Url: http://cgit.osmocom.org/libmirisdr/
Source: %{name}-%{version}.tar.xz
Patch0: libmirisdr-cmake-libsuffix.diff
BuildRequires: cmake
BuildRequires: git-core
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(udev)
@ -88,13 +89,14 @@ install -D -p -m 0644 mirisdr.rules %{buildroot}%{_udevrulesdir}/10-mirisdr.rule
%files -n %{libname}
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_libdir}/libmirisdr.so.*
%{_libdir}/libmirisdr.so.%{sover}*
%{_udevrulesdir}/10-mirisdr.rules
%files devel
%defattr(-,root,root)
%{_libdir}/libmirisdr.so
%{_includedir}/*.h
%{_includedir}/mirisdr.h
%{_includedir}/mirisdr_export.h
%{_libdir}/pkgconfig/libmirisdr.pc
%changelog