Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
transmission
transmission.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transmission.spec of Package transmission
# # spec file for package transmission (Version 1.74) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # # norootforbuild Name: transmission BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gtk2-devel >= 2.6.0 BuildRequires: intltool BuildRequires: libcurl-devel BuildRequires: libevent-devel BuildRequires: libnotify-devel BuildRequires: libqt4-devel BuildRequires: openssl-devel BuildRequires: update-desktop-files Version: 1.74 Release: 4.<RELEASE8> Summary: Lightweight, yet powerful BitTorrent client Source: http://download.m0k.org/transmission/files/%{name}-%{version}.tar.bz2 Source1: transmission-qt.desktop # PATCH-FIX-UPSTREAM transmission-no-dht.patch dimstar@opensuse.org -- fix build with --disable-dht Patch0: transmission-no-dht.patch # PATCH-FIX-UPSTREAM transmission-CVE-2010-0012.patch vuntz@opensuse.org -- Taken from upstream Patch1: transmission-CVE-2010-0012.patch # PATCH-FIX-UPSTREAM transmission-data-corruption-ticket1242.patch vuntz@opensuse.org -- Taken from upstream Patch2: transmission-data-corruption-ticket1242.patch Url: http://www.transmissionbt.com/ Group: Productivity/Networking/Other License: GPLv2 ; MIT License (or similar) BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-common = %{version} Provides: %{name}-ui = %{version} %description Transmission is a fast, easy, and free multi-platform BitTorrent client with a focus on being lightweight yet feature-filled. Its simple, intuitive interface is designed to integrate tightly with whatever computing environment you choose to use. Transmission strikes a balance between providing useful functionality without feature bloat. Furthermore, it is free for anyone to use or modify. %package gtk License: GPLv2 ; MIT License (or similar) Summary: Lightweight, yet powerful BitTorrent client Group: Productivity/Networking/Other Requires: %{name}-common = %{version} Provides: %{name}-ui = %{version} %description gtk Transmission is a fast, easy, and free multi-platform BitTorrent client with a focus on being lightweight yet feature-filled. Its simple, intuitive interface is designed to integrate tightly with whatever computing environment you choose to use. Transmission strikes a balance between providing useful functionality without feature bloat. Furthermore, it is free for anyone to use or modify. This package contains a graphical user interface to transmission. %package qt License: GPLv2 ; MIT License (or similar) Summary: Lightweight, yet powerful BitTorrent client Group: Productivity/Networking/Other Requires: %{name}-common = %{version} Provides: %{name}-ui = %{version} %description qt Transmission is a fast, easy, and free multi-platform BitTorrent client with a focus on being lightweight yet feature-filled. Its simple, intuitive interface is designed to integrate tightly with whatever computing environment you choose to use. Transmission strikes a balance between providing useful functionality without feature bloat. Furthermore, it is free for anyone to use or modify. This package contains a graphical user interface to transmission. %package common License: GPLv2 ; MIT License (or similar) Summary: Lightweight, yet powerful BitTorrent client - Common Data Group: Productivity/Networking/Other Requires: %{name}-common-lang = %{version} Requires: %{name}-ui = %{version} Obsoletes: %{name}-lang <= %{version} %if 0%{suse_version} > 1110 BuildArch: noarch %endif %description common Transmission is a fast, easy, and free multi-platform BitTorrent client with a focus on being lightweight yet feature-filled. Its simple, intuitive interface is designed to integrate tightly with whatever computing environment you choose to use. Transmission strikes a balance between providing useful functionality without feature bloat. Furthermore, it is free for anyone to use or modify. %lang_package -n %{name}-common %prep %setup -q %patch0 -p1 %patch1 -p3 %patch2 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -fPIC" export CXXFLAGS="$RPM_OPT_FLAGS -fPIC" %configure \ --disable-dht \ --disable-static \ --with-gtk %__make %{?jobs:-j%{jobs}} # the qt ui requires an extrawurst for now cd qt qmake qtr.pro %__make %{?jobs:-j%{jobs}} %install %makeinstall # install qt ui cd qt %__make install INSTALL_ROOT=%{buildroot}%{_prefix} cd .. %find_lang %{name} %suse_update_desktop_file -r -N "Transmission" transmission Network P2P %suse_update_desktop_file -i transmission-qt %fdupes $RPM_BUILD_ROOT %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS NEWS README COPYING %{_bindir}/transmission-daemon %{_bindir}/transmission-remote %{_bindir}/transmissioncli %doc %{_mandir}/man1/transmission-daemon.1* %doc %{_mandir}/man1/transmission-remote.1* %doc %{_mandir}/man1/transmissioncli.1* %files -n %{name}-common-lang -f %{name}.lang %defattr(-,root,root) # Not in filesystem, bnc#513962 ##%if %suse_version <= 1110 # exclude locales which don't exist on old versions of openSUSE %exclude %{_datadir}/locale/fil/LC_MESSAGES/* ##%endif %files gtk %defattr(-,root,root) %doc AUTHORS NEWS README COPYING %{_bindir}/transmission %{_datadir}/applications/transmission.desktop %doc %{_mandir}/man1/transmission.1* %files qt %defattr(-,root,root) %doc AUTHORS NEWS README COPYING %{_bindir}/qtr %{_datadir}/applications/transmission-qt.desktop %files common %defattr(-,root,root) %{_datadir}/transmission %{_datadir}/icons/*/*/apps/transmission.* %{_datadir}/pixmaps/transmission.png %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