]> git.pld-linux.org Git - packages/awznode.git/blob - awznode.spec
- massive attack: source-md5
[packages/awznode.git] / awznode.spec
1 #
2 # Conditional build:
3 # _with_non_hams - allow to connect non hams stations
4 #
5 Summary:        Easy configurable node/gateway (AX25)
6 Summary(pl):    Prosto konfigurowalny przeka¼nik/brama (AX25)
7 Name:           awznode
8 Version:        v0.4pre2
9 Release:        3%{?_with_non_hams:nonhams}
10 License:        GPL
11 Group:          Applications/Communications
12 Source0:        ftp://ftp.icm.edu.pl/vol/rzm0/ham/unix/Linux/packet/awznode/%{name}-v0.4-pre2.tar.gz
13 # Source0-md5:  02f26da4c4db0260c297e1cac6c9d1f5
14 Patch0:         %{name}-configure.patch
15 %{?_with_non_hams:Patch1:awznode-non_hams.patch}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 BuildRequires:  zlib-devel
18 BuildRequires:  libax25-devel
19 Requires:       zlib >= 1.1.3
20 Requires:       libax25 >= 0.0.9
21 Requires:       ax25-tools >= 0.0.8
22
23 %description
24 Easy node/gateway software for AX25 procotole. It's usable tool if you
25 want create gateway packetradio <> Internet (both sides).
26
27 %description -l pl
28 Prosty przeka¼nik/brama dla protoko³u AX25. Przydatne narzêdzie przy
29 budowaniu bramek packetradio <> Internet.
30
31 %prep
32 %setup -q -n awznode-v0.4-pre2
33 %patch0 -p0
34 %{?_with_non_hams:%patch1 -p1}
35
36 %build
37 %configure2_13
38 %{__make} CC="%{__cc} %{rpmcflags} -Wall"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT/var/ax25/{node,flex} \
43         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_libdir}/ax25/node/help} \
44         $RPM_BUILD_ROOT%{_mandir}/man{1,5,8} \
45         $RPM_BUILD_ROOT%{_sysconfdir}/ax25
46
47 install etc/loggedin   $RPM_BUILD_ROOT/var/ax25/node
48 install etc/lastlog    $RPM_BUILD_ROOT/var/ax25/node
49 install etc/gateways   $RPM_BUILD_ROOT/var/ax25/flex
50
51 install node $RPM_BUILD_ROOT%{_sbindir}
52 install nodeusers $RPM_BUILD_ROOT%{_sbindir}
53 install flexd $RPM_BUILD_ROOT%{_sbindir}
54
55 install etc/help/*.hlp $RPM_BUILD_ROOT%{_libdir}/ax25/node/help
56
57 install etc/node.conf.ex $RPM_BUILD_ROOT%{_sysconfdir}/ax25
58 install etc/node.perms.ex $RPM_BUILD_ROOT%{_sysconfdir}/ax25
59 install etc/node.info.ex $RPM_BUILD_ROOT%{_sysconfdir}/ax25
60 install etc/node.motd.ex $RPM_BUILD_ROOT%{_sysconfdir}/ax25
61 install etc/node.users.ex $RPM_BUILD_ROOT%{_sysconfdir}/ax25
62 install etc/node.routes.ex $RPM_BUILD_ROOT%{_sysconfdir}/ax25
63 install etc/flexd.conf.ex $RPM_BUILD_ROOT%{_sysconfdir}/ax25
64
65 install man/nodeusers.1  $RPM_BUILD_ROOT%{_mandir}/man1
66 install man/node.conf.5  $RPM_BUILD_ROOT%{_mandir}/man5
67 install man/node.perms.5 $RPM_BUILD_ROOT%{_mandir}/man5
68 install man/node.8       $RPM_BUILD_ROOT%{_mandir}/man8
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc CHANGES README
76 %attr(755,root,root) %{_sbindir}/nodeusers
77 %attr(755,root,root) %{_sbindir}/flexd
78 %attr(4775,root,root) %{_sbindir}/node
79 %attr(600,root,root) %{_sysconfdir}/ax25/*
80 %{_mandir}/man?/*
81 /var/ax25/*
This page took 0.06778 seconds and 3 git commands to generate.