From 4984e59635ed76196dc5f9a18ae8118be4853758 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 23 May 2015 00:17:48 +0200 Subject: 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 --- ax25-tools.spec.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'ax25-tools.spec.in') 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,-) -- cgit v1.2.3