From cf69edc8a528b754a3431332d65418802af99aa3 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 29 Oct 2001 09:58:25 +0000 Subject: [PATCH] - adapterized, cosmetics Changed files: ax25-tools.spec -> 1.3 --- ax25-tools.spec | 71 ++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 36 deletions(-) diff --git a/ax25-tools.spec b/ax25-tools.spec index a62af62..7c11060 100644 --- a/ax25-tools.spec +++ b/ax25-tools.spec @@ -1,57 +1,56 @@ -Summary: ax25 toolls for hamradio. -Name: ax25-tools -Version: 0.0.8 -Release: 2 -License: LGPL -Group: Applications/Communications -Group(pl): Aplikacje/Komunikacja -Source0: http://prdownloads.sourceforge.net/ax25/ax25-tools-%{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 - -BuildRequires: libax25-devel -BuildRequires: zlib-devel +Summary: ax25 tools for hamradio +Summary(pl): Narzêdzia ax25 dla hamradio +Name: ax25-tools +Version: 0.0.8 +Release: 2 +License: LGPL +Group: Applications/Communications +Group(de): Applikationen/Kommunikation +Group(pl): Aplikacje/Komunikacja +Source0: http://prdownloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz +BuildRequires: libax25-devel +BuildRequires: zlib-devel +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 %description - -Tools for start up ax25 protocole. +Tools for start up ax25 protocol. %description -l pl - Narzêdzia inicjalizuj±ce protokó³ ax25. %prep %setup -q %build - %configure2_13 -make +%{__make} %install rm -rf $RPM_BUILD_ROOT -mkdir -p ${RPM_BUILD_ROOT}/var/ax25 +install -d $RPM_BUILD_ROOT/var/ax25 -make DESTDIR=${RPM_BUILD_ROOT} install installconf -gzip -9nf ${RPM_BUILD_ROOT}/usr/share/doc/ax25-tools/* - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%{__make} DESTDIR=$RPM_BUILD_ROOT install installconf +gzip -9nf $RPM_BUILD_ROOT%{_datadir}/doc/ax25-tools/* %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files -%defattr(-,root,root) -/%{_sysconfdir}/ax25/* -/%{_bindir}/* -/%{_sbindir}/* -/%{_docdir}/ax25-tools/*.gz -/%{_mandir}/man[14589]/*.gz +%defattr(644,root,root,755) +%{_sysconfdir}/ax25/* +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_sbindir}/* +%docdir %{_docdir}/ax25-tools +%dir %{_docdir}/ax25-tools +%{_docdir}/ax25-tools/*.gz +%{_mandir}/man[14589]/* /var/ax25/* -- 2.43.0