[aprsdigi] Created dummy aprsdigi.conf file which points to documentation.

Richard Shaw hobbes1069 at fedoraproject.org
Mon Feb 3 16:34:52 UTC 2014


commit ac9e034e3cb0f4c7a55267c741f654fc7a3ced37
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Mon Feb 3 10:35:22 2014 -0600

    Created dummy aprsdigi.conf file which points to documentation.
    
    - Added ax25-tools as a requirement.
    - Mark config files appropriately so they don't get overwritten on update.

 .gitignore    |    1 +
 aprsdigi.spec |   85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3663f09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aprsdigi-3.5.1.tar.gz
diff --git a/aprsdigi.spec b/aprsdigi.spec
new file mode 100644
index 0000000..7f1ce28
--- /dev/null
+++ b/aprsdigi.spec
@@ -0,0 +1,85 @@
+Name:           aprsdigi
+Version:        3.5.1
+Release:        2%{?dist}
+Summary:        AX.25 Automatic Position Reporting System
+
+License:        GPLv2
+URL:            http://aprsdigi.sourceforge.net/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+
+BuildRequires:  libax25-devel
+BuildRequires:  systemd
+Requires:       kernel-modules-extra
+Requires:       ax25-tools
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+%description
+Aprsdigi is a specialized Amateur Packet Radio (AX.25) UI-frame digipeater
+for the Automatic Position Reporting System, APRS(tm).  
+
+Aprsmon collects and displays standard AX.25 UI text frames in a format similar
+to that output by a standard TNC in "Monitor ON" mode and is intended
+to be used with programs like javAPRS which wish to see a TNC data
+stream over a TCP connection.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+
+install -D -m 644 aprsdigi.service %{buildroot}%{_unitdir}/aprsdigi.service
+install -D -m 644 aprsbeacon.service %{buildroot}%{_unitdir}/aprsbeacon.service
+install -D -m 644 aprsdigi.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/aprsdigi
+
+# Create empty conf file directing the user where to look
+mkdir -p %{buildroot}%{_sysconfdir}/ax25
+echo > %{buildroot}%{_sysconfdir}/ax25/%{name}.conf << EOL
+# See the following %{name} documentation for settings that belong here:
+# README.examples
+# aprsdigi.conf
+EOL
+
+
+%post
+%systemd_post aprsdigi.service
+%systemd_post aprsbeacon.service
+
+%preun
+%systemd_preun aprsdigi.service
+%systemd_preun aprsbeacon.service
+
+%postun
+%systemd_postun_with_restart aprsdigi.service 
+%systemd_postun_with_restart aprsbeacon.service 
+
+
+%files
+%doc AUTHORS ChangeLog NEWS README TODO *.html examples
+%{_sbindir}/aprsdigi
+%{_sbindir}/aprsmon
+%{_mandir}/man8/*
+%{_unitdir}/aprsbeacon.service
+%{_unitdir}/aprsdigi.service
+%{_sysconfdir}/ax25/
+%config(noreplace) %{_sysconfdir}/ax25/%{name}.conf
+%config(noreplace) %{_sysconfdir}/logrotate.d/aprsdigi
+
+
+%changelog
+* Mon Jan 27 2014 Richard Shaw <hobbes1069 at gmail.com> - 3.5.1-2
+- Created dummy aprsdigi.conf file which points to documentation.
+- Added ax25-tools as a requirement.
+- Mark config files appropriately so they don't get overwritten on update.
+
+* Thu Oct  3 2013 Richard Shaw <hobbes1069 at gmail.com> - 3.5.1-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..d76f95c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6201d52a44ca19fde8fcdfe2eed2ccb0  aprsdigi-3.5.1.tar.gz


More information about the scm-commits mailing list