]> git.pld-linux.org Git - packages/qbittorrent.git/blob - qbittorrent.spec
- TODO
[packages/qbittorrent.git] / qbittorrent.spec
1 # TODO: qbittorrent can't run, with the following message:
2 # terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
3 #  what():  eventfd_select_interrupter: Function not implemented
4 Summary:        qbittorrent - Qt4-based torrent client
5 Summary(hu.UTF-8):      qbittorrent - Qt4-alapĂș torrent kliens
6 Summary(pl.UTF-8):      qbittorrent - graficzny klient torrenta oparty na Qt4
7 Name:           qbittorrent
8 Version:        1.3.0
9 Release:        1.1
10 License:        GPL v2+
11 Group:          X11/Applications
12 Source0:        http://dl.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
13 # Source0-md5:  407a1735c45eca0f9cc5688594484108
14 # Patch0:               %{name}-libtorrent14.patch
15 URL:            http://qbittorrent.sourceforge.net/
16 BuildRequires:  QtCore-devel
17 BuildRequires:  QtDBus-devel
18 BuildRequires:  QtGui-devel
19 BuildRequires:  QtNetwork-devel
20 BuildRequires:  QtXml-devel
21 BuildRequires:  boost-devel >= 1.36.0
22 BuildRequires:  curl-devel
23 BuildRequires:  libtorrent-rasterbar-devel = 0.14.1
24 BuildRequires:  pkgconfig
25 BuildRequires:  qt4-build
26 BuildRequires:  qt4-qmake
27 BuildRequires:  rpmbuild(macros) >= 1.129
28 BuildRequires:  which
29 Requires:       python >= 1:2.3
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 qTorrent - Qt4-based torrent client.
34
35 %description -l hu.UTF-8
36 qBittorrent - Qt4-alapĂș torrent kliens
37
38 %description -l pl.UTF-8
39 qTorrent - graficzny klient torrenta oparty na Qt4.
40
41 %prep
42 %setup -q
43 # %patch0 -p0
44
45 %build
46 ./configure \
47         --prefix=%{_prefix}
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir}}
54 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{128x128/apps,16x16/apps,192x192/apps,22x22/apps,24x24/apps,32x32/apps,36x36/apps,48x48/apps,64x64/apps,72x72/apps,96x96/apps}
55
56 install src/qbittorrent                 $RPM_BUILD_ROOT%{_bindir}
57 install doc/*                           $RPM_BUILD_ROOT%{_mandir}/man1
58 install src/Icons/qBittorrent.desktop   $RPM_BUILD_ROOT%{_desktopdir}
59 install src/menuicons/16x16/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps
60 install src/menuicons/22x22/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/22x22/apps
61 install src/menuicons/24x24/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/apps
62 install src/menuicons/32x32/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps
63 install src/menuicons/36x36/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/36x36/apps
64 install src/menuicons/48x48/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps
65 install src/menuicons/64x64/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps
66 install src/menuicons/72x72/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/72x72/apps
67 install src/menuicons/96x96/apps/*      $RPM_BUILD_ROOT%{_iconsdir}/hicolor/96x96/apps
68 install src/menuicons/128x128/apps/*    $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps
69 install src/menuicons/192x192/apps/*    $RPM_BUILD_ROOT%{_iconsdir}/hicolor/192x192/apps
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS Changelog README
77 %attr(755,root,root) %{_bindir}/%{name}
78 %{_mandir}/man1/*
79 %{_iconsdir}/hicolor/*/apps/*
80 %{_desktopdir}/qBittorrent.desktop
This page took 0.597449 seconds and 4 git commands to generate.