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