summaryrefslogtreecommitdiffstats
path: root/ax25-tools.spec.in
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-05-23 00:17:48 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-23 00:17:48 +0200
commit4984e59635ed76196dc5f9a18ae8118be4853758 (patch)
treeb0e7d67c11087171fde505ba3742549c97a594d4 /ax25-tools.spec.in
parent2c3f72d038fa932b7a48454a0e1fc9af85540a76 (diff)
Add config files to rpm spec file.
Even though these files are just templates to get started with they make it much easier to the user trying to get started. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25-tools.spec.in')
-rw-r--r--ax25-tools.spec.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/ax25-tools.spec.in b/ax25-tools.spec.in
index 4eb11d4..f49fe28 100644
--- a/ax25-tools.spec.in
+++ b/ax25-tools.spec.in
@@ -88,7 +88,8 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT installconf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -137,6 +138,16 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/tcp_call
%{_sbindir}/ttylinkd
%{_sbindir}/yamcfg
+%attr(0755,root,root) %{_sysconfdir}/ax25
+%config(noreplace) %{_sysconfdir}/ax25/ax25d.conf
+%config(noreplace) %{_sysconfdir}/ax25/axspawn.conf
+%config(noreplace) %{_sysconfdir}/ax25/nrbroadcast
+%config(noreplace) %{_sysconfdir}/ax25/rip98d.conf
+%config(noreplace) %{_sysconfdir}/ax25/rxecho.conf
+%config(noreplace) %{_sysconfdir}/ax25/ttylinkd.conf
+%attr(0755,root,root) %{_localstatedir}/ax25
+%attr(0755,root,root) %{_localstatedir}/ax25/mheard
+%config(noreplace) %{_localstatedir}/ax25/mheard/mheard.dat
%files docs
%defattr(-,root,root,-)