]> git.pld-linux.org Git - packages/awznode.git/blobdiff - awznode.spec
- Release 3,
[packages/awznode.git] / awznode.spec
index 26912220f8b4582bd4078945e9138f30ee3fcf6b..c3bb3fbbf9dcac398c107e3991964cdc2fc225b6 100644 (file)
@@ -1,12 +1,17 @@
+#
+# Conditional build:
+# _with_non_hams - allow to connect non hams stations
+#
 Summary:       Easy configurable node/gateway (AX25)
 Summary(pl):   Prosto konfigurowalny przeka¼nik/brama (AX25)
 Name:          awznode
 Version:       v0.4pre2
-Release:       1
+Release:       3%{?_with_non_hams:nonhams}
 License:       GPL
 Group:         Applications/Communications
 Source0:       ftp://ftp.icm.edu.pl/vol/rzm0/ham/unix/Linux/packet/awznode/%{name}-v0.4-pre2.tar.gz
-Patch0:                http://zolw.eu.org/~djrzulf/PLD/patch/%{name}-configure.patch
+Patch0:                %{name}-configure.patch
+%{?_with_non_hams:Patch1:awznode-non_hams.patch}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildRequires: zlib-devel
 BuildRequires: libax25-devel
@@ -25,6 +30,7 @@ budowaniu bramek packetradio <> Internet.
 %prep
 %setup -q -n awznode-v0.4-pre2
 %patch0 -p0
+%{?_with_non_hams:%patch1 -p1}
 
 %build
 %configure2_13
@@ -60,14 +66,12 @@ install man/node.conf.5  $RPM_BUILD_ROOT%{_mandir}/man5
 install man/node.perms.5 $RPM_BUILD_ROOT%{_mandir}/man5
 install man/node.8       $RPM_BUILD_ROOT%{_mandir}/man8
 
-gzip -9nf CHANGES README
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES.gz README.gz
+%doc CHANGES README
 %attr(755,root,root) %{_sbindir}/nodeusers
 %attr(755,root,root) %{_sbindir}/flexd
 %attr(4775,root,root) %{_sbindir}/node
This page took 0.051239 seconds and 4 git commands to generate.