diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-06-27 23:48:17 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-27 23:48:17 +0000 |
commit | f49602e6c64ec74c4a4d23b5babd1cdb8d7d829b (patch) | |
tree | 8bc77b2f108dd958eba8929a3d1b17768099c3d4 /ax25-apps.spec.in | |
parent | 1581215daec7d0501679b882bb8c2f81858d33d8 (diff) |
Add support for building rpm packages.
Now just a rpmbuild -ta <foo.tar.gz> will do.
Diffstat (limited to 'ax25-apps.spec.in')
-rw-r--r-- | ax25-apps.spec.in | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ax25-apps.spec.in b/ax25-apps.spec.in new file mode 100644 index 0000000..c91ccc9 --- /dev/null +++ b/ax25-apps.spec.in @@ -0,0 +1,52 @@ +Name: ax25-apps +Version: @BASEVERSION@@EXTRAVERSION@ +Release: 1 +Summary: AX.25 ham radio applications + +Group: Applications/Communications +#ax25ipd is BSD licensed, rest is GPLv2+ +License: GPLv2+ and BSD +URL: http://www.linux-ax25.org/ +Source0: http://www.linux-ax25.org/pub/%{name}/%{name}-@VERSION@.tar.gz +BuildRoot: %{_tmppath}/%{name}-@VERSION@-%{release}-root-%(%{__id_u} -n) + +%description +This package provides specific user applications for hamradio that use AX.25 +Net/ROM or ROSE network protocols: + + * axcall: a general purpose AX.25, NET/ROM and ROSE connection program. + * axlisten: a network monitor of all AX.25 traffic heard by the system. + * ax25ipd: an RFC1226 compliant daemon which provides encapsulation of + AX.25 traffic over IP. + * ax25mond: retransmits data received from sockets into an AX.25 monitor + socket. + +%prep +%setup -q -n %{name}-@VERSION@ + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +#don't include these twice +rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%doc ax25ipd/COPYING.ax25ipd ax25ipd/HISTORY.ax25ipd ax25ipd/README.ax25ipd +%doc ax25rtd/TODO.ax25rtd ax25rtd/README.ax25rtd +%{_bindir}/* +%{_sbindir}/* +%{_mandir}/man?/* + +%changelog +* Sat Jun 27 2009 Ralf Baechle <ralf@linux-mips.org> +- Initial version |