Name: microdc2 Version: 0.15.6 Release: 6%{?dist} Summary: Command-Line Direct Connect File Sharing Client Source: http://corsair626.no-ip.org/microdc/microdc2-%{version}.tar.gz Source1: microdc2.desktop Source2: microdc2.png Patch0: microdc2-ru.patch Patch1: microdc2-slave-mode.patch Patch2: microdc2-0.15.6-libxml2-configure.patch URL: http://corsair626.no-ip.org/microdc/ Group: Applications/Internet License: GPL BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: ncurses ncurses-devel readline readline-devel make gcc glibc-devel BuildRequires: autoconf automake libtool desktop-file-utils libxml2-devel Packager: Andrew Zabolotny http://cs.ozerki.net/zap/pub/microdc2/ %description microdc is a command-line based Direct Connect client that uses the GNU Readline library for user interaction. It was developed from ground up and does not depend on any other program. Despite the command-line user interface, microdc was designed to be user friendly and simple to use. Features of microdc include: - Nearly full support of the original Direct Connect protocol. - GNU Readline support. - Sensible tab-completion of commands, user names, local files, remote files, speed names, and connection names. - One process per connection for optimal transfer rates. - Small memory footprint. %prep %setup -q %patch0 -p0 -b .ru %patch1 -p0 -b .slave-mode %patch2 -p1 %build CFLAGS="-g" CXXFLAGS="-g" LDFLAGS="-g" \ %configure \ --enable-nls \ --enable-largefile %__make %{?jobs:-j%{jobs}} %install %makeinstall %__install -d "%{buildroot}%{_mandir}/pl/man1" %__mv "%{buildroot}%{_mandir}/man1/microdc.pl.1" "%{buildroot}%{_mandir}/pl/man1/microdc.1" %__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" %__install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_datadir}/pixmaps/%{name}.png" %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %doc doc/INTERNALS doc/TODO %{_bindir}/microdc2 %{_bindir}/tthsum %{_datadir}/locale/*/LC_MESSAGES/* %doc %{_mandir}/man1/microdc.1* %doc %{_mandir}/*/man1/microdc.1* %{_datadir}/applications/microdc2.desktop %{_datadir}/pixmaps/microdc2.png %changelog * Sat Apr 1 2007 Andrew Zabolotny 0.15.6.4 - Added microdc2-slave-mode.patch which implements a "slave mode" (two microdc2's using same file database, set filelist_refresh_interval to 0 to enable slave mode) plus a serious bugfix that causes client processes to leak and hog CPU time. * Sat Mar 22 2007 Andrew Zabolotny 0.15.6.2 - Added the russian translation patch * Sat Mar 11 2007 Andrew Zabolotny 0.15.6 - Switched to Vladimir Chugunov's microdc2 branch due to the old branch being not maintained anymore - Modified the spec file for Fedora Core * Fri Oct 27 2006 Pascal Bleser 0.12.0-1 - spec file rewrite - new upstream version * Tue Oct 18 2005 Pascal Bleser 0.11.0-1 - fixed update-desktop-files BuildRequires - restyled command macros - added debuginfo support - new upstream version * Sat Sep 3 2005 Pascal Bleser 0.9.0-1 - version 0.9.0 * Sat Aug 13 2005 Pascal Bleser 0.8.0-1 - added menu desktop entry - version 0.8.0 * Sat Jul 2 2005 Pascal Bleser 0.7.0-1 - version 0.7.0 * Mon May 16 2005 Pascal Bleser 0.5.0-1 - new package # Local Variables: # mode: rpm-spec # tab-width: 3 # End: