-Summary: Free AudioGalaxy Satellite client.
+Summary: Free AudioGalaxy Satellite client
+Summary(pl.UTF-8): "Wolny" klient AudioGalaxy
Name: fags
Version: 0.2.1
Release: 1
License: GPL
-Group: Applications/Multimedia
-###### Unknown group!
+Group: Applications/Communications
Source0: ftp://ftp.tty0.org/pub/fags/%{name}-%{version}.tar.gz
+# Source0-md5: 5ce2f79e63fa49138cf7374a68f611dd
Patch0: %{name}-config_dir.patch
-URL: http://www.tty0.org/page/fags
+URL: http://www.tty0.org/page/fags/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
FAGS is a Free AudioGalaxy Satellite client for UNIX and Linux. It is
written in C and licensed under the GNU General Public License.
FAGS features up to 20 simultaneous uploads or downloads using
asynchronous socket I/O, resuming of uploads and downloads, sharing of
-multiple directories, reading of MP3 and OGG Vorbis ID3 tags and
+multiple directories, reading of MP3 and Ogg Vorbis ID3 tags and
bandwidth limiting.
+%description -l pl.UTF-8
+FAGS jest "wolnym" klientem AudioGalaxy dla UNIKSA i Linuksa. Został
+napisany w C i wydany na licencji GNU General Public License.
+
+FAGS umożliwia do 20 równoczesnych przekazów lub pobrań używając
+asynchronicznych gniazd WE/WY. Wspiera także wznawianie transmisji,
+dzielenie wielokrotnych katalogów, odczyt tagów ID3 z plików MP3 i Ogg
+Vorbis oraz ograniczanie szerokości pasma.
+
%prep
%setup -q
%patch0 -p1
%build
-aclocal
-automake -a -c
-autoconf
+%{__aclocal}
+%{__automake}
+%{__autoconf}
%configure
-%__make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-rm -rf %{buildroot}
-%__make install DESTDIR=$RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/*
+%doc AUTHORS ChangeLog INSTALL NEWS README TODO doc/*
%attr(755,root,root) %{_bindir}/*
-%{_mandir}/*
+%{_mandir}/man?/*