Name: flush Version: 0.9.9 Release: 1%{?dist} Summary: GTK-based BitTorrent client License: GPLv2 Group: Applications/Internet URL: http://flush.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}-bundle.tar.bz2 Source1: %{name}.desktop Patch0: %{name}-sed.patch Patch1: %{name}-libnotify.patch BuildRequires: bison-devel BuildRequires: flex BuildRequires: glibmm24-devel >= 2.16 BuildRequires: hicolor-icon-theme BuildRequires: expat-devel BuildRequires: libconfig-devel BuildRequires: rb_libtorrent-devel BuildRequires: libglademm24-devel BuildRequires: libnotify-devel BuildRequires: desktop-file-utils BuildRequires: libtorrent Requires: hicolor-icon-theme %description Flush - A GTK-based BitTorrent client. Features: * Controlling running instance by command line interface. * Running many instances with different configs from the same user. * Automatic copying finished downloads to specified directory. * Setting custom download path for each file of the torrent. * Ability to choose torrent file's character set encoding. * Automatic torrents loading from specified directory. * Automatic pausing and removing old torrents. * Temporary pausing and resuming torrents. * Overall and current session statistics. * Creating your own torrent files. * IP filter. %prep %setup -q %patch0 -p1 %if 0%{?fedora} == 15 %patch1 -p1 %endif %build export LDFLAGS="$LDFLAGS -lboost_system-mt -lcrypto" %configure \ --with-boost-libdir=%{_libdir} \ --disable-bundle-package make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache install -dD -m 755 %{buildroot}%{_datadir}/pixmaps install -m644 %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/flush.png \ %{buildroot}%{_datadir}/pixmaps %find_lang %{name} %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING %{_bindir}/* %{_datadir}/icons/*/*/apps/* %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ %{_mandir}/man?/* %{_mandir}/ru/man?/* %changelog * Mon Feb 7 2011 Oksana Kurysheva - 0.9.9-1 - initial build for Fedora