]> git.pld-linux.org Git - packages/ax25-tools.git/blobdiff - ax25-tools.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/ax25-tools.git] / ax25-tools.spec
index a62af62b7b58b864b956e179c96e907f2d58ee6b..cccd088695f84a7a3f5738a3037fbeedb6e4fe47 100644 (file)
@@ -1,57 +1,54 @@
-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
+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/*
This page took 0.072938 seconds and 4 git commands to generate.