]> git.pld-linux.org Git - packages/ax25-apps.git/blobdiff - ax25-apps.spec
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"
[packages/ax25-apps.git] / ax25-apps.spec
index 6a76363ca9a3b49f9d8e39d4a2282ef6914ede31..ef7867d199413516f43af4f63ef2050b943c830e 100644 (file)
@@ -1,70 +1,54 @@
-Summary: ax25 toolls for hamradio.
-Name: ax25-apps
-Version: 0.0.5
-Release: 1
-License: LGPL
-Group: Applications/Communications
-Group(pl): Aplikacje/Komunikacja
-Source0: http://prdownloads.sourceforge.net/ax25/ax25-apps-%{version}.tar.gz
-Patch0: http://zolw.eu.org/~djrzulf/PLD/patch/%{name}-call.patch
-Patch1: http://zolw.eu.org/~djrzulf/PLD/patch/%{name}-menu.patch
-Patch2: http://zolw.eu.org/~djrzulf/PLD/patch/%{name}-listen.patch
-Patch3: http://zolw.eu.org/~djrzulf/PLD/patch/%{name}-utils.patch
-BuildRoot: /tmp/%{name}-%{version}-root
-ExclusiveArch: %{ix86}
-Requires: glibc >= 2.2
-Requires: kernel >= 2.2.0
-Requires: libtool >= 1.4.2
-Requires: libax25 >= 0.0.9
-Requires: zlib >= 1.1.3
-Requires: ax25-tools >= 0.0.8
-
-BuildRequires: libax25-devel
-BuildRequires: zlib-devel
+Summary:       ax25 tools for hamradio
+Summary(pl):   Narzêdzia ax25 dla hamradio
+Name:          ax25-apps
+Version:       0.0.5
+Release:       1
+License:       GPL
+Group:         Applications/Communications
+Source0:       http://prdownloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz
+BuildRequires: libax25-devel
+BuildRequires: ncurses-devel
+BuildRequires: zlib-devel
+Requires:      libax25 >= 0.0.9
+Requires:      ax25-tools >= 0.0.8
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Conflicts:     kernel <= 2.2.0
 
 %description
-
 Applications to test our AX25 connects.
 
 %description -l pl
-
 Aplikacje testuj±ce sprawno¶æ po³±czeñ protoko³u AX25.
 
 %prep
 %setup -q
 
-cd call
-%patch0 -p0
-%patch1 -p0
-cd ../listen
-%patch2 -p0
-%patch3 -p0
-
 %build
-
-%configure2_13
-make
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c -f
+AM_CFLAGS="-I%{_includedir}/ncurses"; export AM_CFLAGS
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make DESTDIR=${RPM_BUILD_ROOT} install installconf
-gzip -9nf ${RPM_BUILD_ROOT}/usr/share/doc/ax25-apps/*
-gzip -9nf ${RPM_BUILD_ROOT}/usr/share/man/man1/*
-gzip -9nf ${RPM_BUILD_ROOT}/usr/share/man/man5/*
-gzip -9nf ${RPM_BUILD_ROOT}/usr/share/man/man8/*
-
-%post -p /sbin/ldconfig
+%{__make} install installconf \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%postun -p /sbin/ldconfig
+gzip -9nf AUTHORS ChangeLog NEWS README \
+       */{COPYING,HISTORY,README}*
 
-#%clean                                                                          
-#rm -rf $RPM_BUILD_ROOT
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-/%{_sysconfdir}/ax25/*
-/%{_bindir}/*
-/%{_sbindir}/*
-/%{_docdir}/ax25-apps/*.gz
-/%{_mandir}/man[158]/*.gz
+%defattr(644,root,root,755)
+%doc *.gz */*.gz
+%{_sysconfdir}/ax25/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man[158]/*
This page took 0.049669 seconds and 4 git commands to generate.