Summary: Configure and monitor Wireless Access Points
Summary(pl): Konfiguracja i monitoring punktów dostêpu bezprzewodowego (Access Points)
Name: ap-utils
-Version: 1.3.1
-Release: 1
+Version: 1.5
+#%define bver pre2b
+#Release: 0.%{bver}.1
+RElease: 1
License: GPL
Group: Networking/Utilities
-Source0: http://dl.sourceforge.net/ap-utils/%{name}-%{version}.tar.bz2
+Source0: ftp://linux.zhitomir.net/ap-utils/%{name}-%{version}.tar.bz2
+# Source0-md5: ebdb2a03302648c939ac965617de2889
URL: http://ap-utils.polesye.net/
-BuildRequires: ncurses-devel
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: ncurses-ext-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
-
%build
-%configure
-%{__make}
+cp -f /usr/share/automake/config.sub .
+%{__libtoolize}
+%configure2_13
+%{__make} \
+ CC="%{__cc} -I/usr/include/ncurses"
%install
rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%doc Documentation/FAQ Documentation/*.html
%lang(uk) %doc Documentation/Ukrainian/*
-%{_bindir}/*
-%{_sbindir}/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
%{_mandir}/man8/*