Package qbittorrent: Specfile

Name: qbittorrent
Version: 1.0.0
Release: alt1.rc11.M40.1

Summary: qBittorrent is a bittorrent client written in C++ / Qt4 using the good libtorrent library.
Summary(ru_RU.UTF-8): qBittorrent - bittorrent клиент написаный на C++ / Qt4, использующий библиотеку libtorrent.
License: GPL
Group: Networking/File transfer
Url: http://qbittorrent.org

Packager: Alexey Morsov <swi@altlinux.ru>
Source: %name-%version.tar

# Automatically added by buildreq on Fri Dec 22 2006
BuildRequires: boost-datetime-devel boost-filesystem-devel boost-thread-devel gcc-c++ libcurl-devel libqt4-devel >= 4.3 libXext-devel boost-serialization-devel boost-program-options-devel
BuildRequires: libtorrent-devel >= 0.13-alt1.svn.r1876 boost-regex-devel
BuildRequires: zziplib-devel libImageMagick-devel

Requires: libtorrent >= 0.13-alt1.svn.r1876

%description
qBittorrent is a bittorrent client written in C++ / Qt4 using the good 
libtorrent library (By Arvid Nordberg). qBittorrent is free / open-source 
software released under the GNU GPL license. qBittorrent aims to be a good 
alternative to all other bittorrent clients. The Author is Christophe Dumez,
French Student in computer science (IT).

%description -l ru_RU.UTF8
qBittorrent - клиент bittorrent написаный на C++ / Qt4, использующий библиотеку
libtorrent (Arvid Nordberg). qBittorrent свободное ПО с открытм исходным
кодом, распространяющийся под лицензией GNU GPL. qBittorrent стремиться быть
хорошей альтернативой всем другим bittorrent клиентам.
Автор Christophe Dumez, французский студент в области IT.
   
%prep
%setup -q

%build
#export QC_WITH_LIBCOMMONCPP2_LIB=%{_libdir}/
#export QC_WITH_LIBTORRENT_INC=%{_includedir}/
#export QC_WITH_LIBZZIP_INC=%{_includedir}/
#export QC_WITH_LIBMAGICK_INC=%{_includedir}/
#export QC_WITH_LIBMAGICK_LIB=%{_libdir}/
#export QC_WITH_LIBZZIP_LIB=%{_libdir}/
%_configure_script --prefix=%buildroot%_usr --qtdir=%_qt4dir
%make_build

%install
%make_install DESTDIR=%buildroot install
%find_lang %name

%files -f %name.lang
%doc AUTHORS COPYING INSTALL NEWS README TODO Changelog
%_bindir/*
%_datadir/applications/*
%_man1dir/*
%_datadir/icons/hicolor/*/*/*


%changelog
* Thu Aug 21 2008 Igor Vlasenko <viy@altlinux.ru> 1.0.0-alt1.rc11.M40.1
- M40 backport

* Wed Jan 02 2008 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc11
- Bypass exit confirmation on system shutdown
- Download from urls are now able to follow redirections
- Fixed torrent creation from a directory
- Fixed save path when seeding automatically after torrent creation

* Mon Dec 10 2007 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc10
- Filtered files don't appear on hard disk anymore
- Real torrent share ratio is now displayed in transfer list

* Sat Nov 24 2007 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc9
- fix crash on add partial torrent

* Sat Nov 17 2007 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc8
- 1.0.0rc8

* Sat Nov 03 2007 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc7
- Filtered files are not allocated on the hard-drive anymore
- Torrent content is now displayed as a tree

* Thu Oct 25 2007 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc6
- Bittorrent FAST extension support
- Allow to use  a proxy for trackers / web seeds / peers / DHT connections
- Allow to set upload/download limit per torrent (right click)
- Search engine is now using one thread per website for faster results
- Improved a lot the torrent creation module
- Improved unicode support

* Sat Oct 13 2007 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc5
- version 1.0.0.rc5

* Sat Oct 06 2007 Alexey Morsov <swi@altlinux.ru> 1.0.0-alt1.rc3
- Added UPnP / NAT-PMP port forwarding support
- Added encryption support (compatible with Azureus)
- Added RSS support
- Brand new search engine plugins system
- Supports SOCKS5 proxies as well as HTTP ones
- ..and many more anchanced and some bug fixes

* Wed Aug 15 2007 Alexey Morsov <swi@altlinux.ru> 0.9.3-alt2
- rebuild with libtorrent-0.12-alt1

* Tue May 08 2007 Alexey Morsov <swi@altlinux.ru> 0.9.3-alt1
- new version

* Mon Apr 16 2007 Alexey Morsov <swi@altlinux.ru> 0.9.2-alt1
- new version (bug fixing)

* Tue Apr 10 2007 Alexey Morsov <swi@altlinux.ru> 0.9.1-alt1
- New version (lot of new features such as Peer Exchange (PeX) support,
  autocompletion, new system tray popups, better internationalization,
  a lot of code rewriting (optimized and cleaned). 
- based on latest libtorrent library by Arvid Norberg (v0.12) 
- spec cleanup

* Fri Dec 22 2006 Alexey Morsov <swi@altlinux.ru> 0.8.0-alt1
- Initial build for sisyphus