Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
qbittorrent
qbittorrent.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qbittorrent.spec of Package qbittorrent
# # spec file for package qbittorrent # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008-2014 Mariusz Fik <fisiu@opensuse.org>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: qbittorrent %define _name qBittorrent Version: 3.1.10 Release: 0 Summary: A Bittorrent Client built with C++ / Qt4 License: GPL-2.0+ Group: Productivity/Networking/File-Sharing Url: http://qbittorrent.org/ Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.xz BuildRequires: boost-devel >= 1.35 BuildRequires: fdupes BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: pkgconfig(QtCore) >= 4.6 BuildRequires: pkgconfig(QtDBus) >= 4.6 BuildRequires: pkgconfig(QtGui) >= 4.6 BuildRequires: pkgconfig(QtNetwork) >= 4.6 BuildRequires: pkgconfig(QtXml) >= 4.6 BuildRequires: pkgconfig(libtorrent-rasterbar) >= 0.14.4 # For geolocalization. Requires: GeoIP # For search engines. Requires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A Bittorrent client using C++ / libtorrent and a Qt4 Graphical User Interface. It aims to be as fast as possible and to provide multi-OS, unicode support. %package nox Summary: A Bittorrent Client built with C++, console version Group: Productivity/Networking/File-Sharing %description nox A Bittorrent client using C++ / libtorrent, console version. It aims to be as fast as possible and to provide multi-OS, unicode support. %prep %setup -q %build echo -e "\n# openSUSE way optflags\nQMAKE_CFLAGS += %{optflags}\nQMAKE_CXXFLAGS += %{optflags}" >> unixconf.pri # Build noX first. mkdir nox && cd nox ../configure --prefix=%{_prefix} --disable-gui cp conf.pri ../ make %{?_smp_mflags} cd ../ # Build GUI version. mkdir gui && cd gui ../configure --prefix=%{_prefix} cp conf.pri ../ make %{?_smp_mflags} %install # Install noX version cd nox && cp conf.pri ../ && cp conf.log ../ && cp Makefile ../ && sed -i '/STRIP/d' src/Makefile make INSTALL_ROOT=%{buildroot} install cd ../ # Install GUI version. cd gui && cp conf.pri ../ && cp conf.log ../ && cp Makefile ../ && sed -i '/STRIP/d' src/Makefile make INSTALL_ROOT=%{buildroot} install # Update .desktop file. %suse_update_desktop_file -r %{_name} Network P2P # Duplicate files warning resolving. %fdupes -s %{buildroot}%{_datadir} %files %defattr(-,root,root) %doc AUTHORS Changelog COPYING NEWS README.md TODO %doc %{_mandir}/man1/%{name}.1.gz %{_bindir}/%{name} %{_datadir}/applications/%{_name}.desktop %{_datadir}/icons/hicolor/ %{_datadir}/pixmaps/%{name}.png %files nox %defattr(-,root,root) %doc AUTHORS Changelog COPYING NEWS README.md TODO %doc %{_mandir}/man1/%{name}-nox.1.gz %{_bindir}/%{name}-nox %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor