]> git.pld-linux.org Git - packages/qbittorrent.git/blame - qbittorrent.spec
- initial - fixes the build of qbittorrent 1.1.3 with boost > 1.35
[packages/qbittorrent.git] / qbittorrent.spec
CommitLineData
1e6f0590 1Summary: qbittorrent - Qt4-based torrent client
2Summary(pl.UTF-8): qbittorrent - graficzny klient torrenta oparty na Qt4
3Name: qbittorrent
9dc2c907 4Version: 1.0.0
1e6f0590 5Release: 0.1
11f119c8 6License: GPL v2+
1e6f0590 7Group: X11/Applications
a0832e35 8Source0: http://dl.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
9dc2c907 9# Source0-md5: e31fe47590dfa48c52d0e35d4627d630
1e6f0590 10Patch0: %{name}-desktop.patch
11URL: http://qbittorrent.sourceforge.net/
12BuildRequires: QtCore-devel
13BuildRequires: QtGui-devel
11f119c8 14BuildRequires: QtNetwork-devel
9dc2c907 15BuildRequires: QtXml-devel
e9ef41a5 16BuildRequires: boost-devel >= 1.35.0
a0832e35 17BuildRequires: curl-devel
60660486 18BuildRequires: pkgconfig
1e6f0590 19BuildRequires: qt4-build
20BuildRequires: qt4-qmake
a0832e35 21BuildRequires: rb_libtorrent-devel >= 0.12
1e6f0590 22BuildRequires: rpmbuild(macros) >= 1.129
60660486 23BuildRequires: which
a0832e35 24Requires: python >= 1:2.3
1e6f0590 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28qTorrent - Qt4-based torrent client.
29
30%description -l pl.UTF-8
31qTorrent - graficzny klient torrenta oparty na Qt4.
32
33%prep
34%setup -q
11f119c8 35%patch0 -p1
1e6f0590 36
37%build
a0832e35 38./configure \
60660486 39 --prefix=%{_prefix}
1e6f0590 40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir}}
a0832e35 46install -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}
1e6f0590 47
48install src/qbittorrent $RPM_BUILD_ROOT%{_bindir}
49install doc/* $RPM_BUILD_ROOT%{_mandir}/man1
50install src/Icons/qBittorrent.desktop $RPM_BUILD_ROOT%{_desktopdir}
a0832e35
JB
51install src/menuicons/16x16/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps
52install src/menuicons/22x22/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/22x22/apps
53install src/menuicons/24x24/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/apps
54install src/menuicons/32x32/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps
55install src/menuicons/36x36/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/36x36/apps
56install src/menuicons/48x48/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps
57install src/menuicons/64x64/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps
58install src/menuicons/72x72/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/72x72/apps
59install src/menuicons/96x96/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/96x96/apps
60install src/menuicons/128x128/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps
61install src/menuicons/192x192/apps/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor/192x192/apps
1e6f0590 62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc AUTHORS Changelog README
69%attr(755,root,root) %{_bindir}/%{name}
70%{_mandir}/man1/*
a0832e35 71%{_iconsdir}/hicolor/*/apps/*
1e6f0590 72%{_desktopdir}/qBittorrent.desktop
This page took 0.064515 seconds and 4 git commands to generate.