]> git.pld-linux.org Git - packages/ax25-apps.git/blobdiff - ax25-apps.spec
- many small fixes, inspired by kloczek
[packages/ax25-apps.git] / ax25-apps.spec
index e439ea4951014ef713a1b95e71fc36709f3a8386..13ea4606b77ff41da4348f6f1f4407f92a556b6b 100644 (file)
@@ -1,60 +1,57 @@
-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
-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.6
+Release:       1
+License:       GPL
+Group:         Applications/Communications
+Source0:       http://dl.sourceforge.net/ax25/%{name}-%{version}.tar.gz
+# Source0-md5: 47d9a775890f3694cf47659423a69ae5
+URL:           http://ax25.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libax25-devel
+BuildRequires: libtool
+BuildRequires: ncurses-devel
+BuildRequires: zlib-devel
+Requires:      ax25-tools >= 0.0.8
+Requires:      libax25 >= 0.0.9
+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
 
 %build
-
-CPPFLAGS="-I/usr/include/ncurses"; export CPPFLAGS
-%configure2_13
-make
+rm -f missing
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+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
-
-%postun -p /sbin/ldconfig
+%{__make} install installconf \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%clean                                                                          
+%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)
+# note: ax25ipd/COPYING.ax25ipd contains notes other than GPL
+%doc AUTHORS ChangeLog NEWS README ax25*/{HISTORY,README}.ax25*
+%{_sysconfdir}/ax25/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man[158]/*
This page took 0.504783 seconds and 4 git commands to generate.