From f49602e6c64ec74c4a4d23b5babd1cdb8d7d829b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 27 Jun 2009 23:48:17 +0000 Subject: Add support for building rpm packages. Now just a rpmbuild -ta will do. --- ax25-apps.spec.in | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 ax25-apps.spec.in (limited to 'ax25-apps.spec.in') 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 +- Initial version -- cgit v1.2.3