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