]> 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 3f0c94d51a12d179180f619162960b50701900d1..ef7867d199413516f43af4f63ef2050b943c830e 100644 (file)
@@ -3,22 +3,16 @@ Summary(pl):  Narz
 Name:          ax25-apps
 Version:       0.0.5
 Release:       1
-License:       LGPL
+License:       GPL
 Group:         Applications/Communications
-Group(de):     Applikationen/Kommunikation
-Group(pl):     Aplikacje/Komunikacja
 Source0:       http://prdownloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-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: 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.
@@ -30,31 +24,31 @@ Aplikacje testuj
 %setup -q
 
 %build
-CPPFLAGS="-I%{_includedir}/ncurses"; export CPPFLAGS
-%configure2_13
+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%{_datadir}/doc/ax25-apps/*
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man5/*
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
+%{__make} install installconf \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%clean                                                                          
-rm -rf $RPM_BUILD_ROOT
+gzip -9nf AUTHORS ChangeLog NEWS README \
+       */{COPYING,HISTORY,README}*
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc *.gz */*.gz
 %{_sysconfdir}/ax25/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
-%docdir %{_docdir}/ax25-apps
-%dir %{_docdir}/ax25-apps
-%{_docdir}/ax25-apps/*.gz
-%{_mandir}/man[158]/*.gz
+%{_mandir}/man[158]/*
This page took 0.129101 seconds and 4 git commands to generate.