aboutsummaryrefslogtreecommitdiff
path: root/atinout.spec
blob: 87f881e766f219204f053dd0bf6f8e8e952fa067 (plain)
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
Name:           atinout
Version:        0.9.1
Release:        1%{?dist}
Summary:        AT commands as input are sent to modem and responses given as output
Group:          Applications/Communications
License:        GPLv3+
URL:            http://atinout.sourceforge.net/
Source0:        http://sourceforge.net/projects/%{name}/files/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%global _hardened_build 1

%description
This program will read a file (or stdin) containing a list of AT
commands. Each command will be send to the modem, and all the response
for the command will be output to file (or stdout).

Example, to hang up any ongoing call:

$ echo ATH | atinout - /dev/ttyACM0 -
ATH
OK
$

%prep
%setup -q

%build

make all %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/atinout
%doc %{_mandir}/man1/atinout.1.gz
%doc README atinout.1.html gplv3.txt logo/atinout.svg


%changelog
* Sun Sep  8 2013 Håkon Løvdal <hlovdal@users.sourceforge.net> - 0.9.1-1
- Add RPM spec file, "rpmbuild -ta atinout-0.9.1.tar.gz" will work.
- Fix Makefile so that it works without problems when compiling source
  from tar file (git source was always ok).
- Fixed test checking wrong file when testing if opnening it was ok.

* Wed Apr 24 2013 Håkon Løvdal <hlovdal@users.sourceforge.net> - 0.9-1
- Initial release.