-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrmio.spec
71 lines (53 loc) · 1.54 KB
/
srmio.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
%global realver 0.1.1git1
Name: srmio
Version: 0.1.1.1
Release: 1%{?dist}
Summary: Schoberer Radmesstechnik (SRM) PowerControl access
License: MIT
URL: http://www.zuto.de/project/srmio/
Source0: https://github.com/rclasen/%{name}/archive/v%{realver}.tar.gz#/%{name}-%{realver}.tar.gz
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%description
App to access the most important functions of a Schoberer
Radmesstechnik (SRM) PowerControl V, VI and 7. You can download the data,
mark it deleted, sync the time and set the recording interval.
%package libs
Summary: Library for %{name}
%description libs
This package contains library for %{name}.
%package devel
Summary: Header files and development documentation for %{name}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
This package contains the header files and development documentation
for %{name}.
%prep
%autosetup -n %{name}-%{realver}
%build
autoreconf -vfi
%configure \
--enable-static=no
%make_build
%install
%make_install
rm %{buildroot}%{_libdir}/lib%{name}.la
%files
%{_bindir}/srmcmd
%{_bindir}/srmdump
%{_bindir}/srmsync
%{_mandir}/man1/srm*.1*
%files libs
%license LICENSE
%doc Changes README
%{_libdir}/lib%{name}.so.1*
%files devel
%{_includedir}/%{name}.h
%{_includedir}/%{name}_config.h
%{_libdir}/lib%{name}.so
%changelog
* Fri Dec 06 2019 Vasiliy Glazov <[email protected]> - 0.1.1.1.1-1
- Initial release