Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 7b7f90e1b47141db8774cdd4cc0f78f8 > files > 3

transmission-2.22-1.1.mga1.src.rpm

%define		subrel 1

Summary:	Simple Bittorrent client
Name:		transmission
Version:	2.22
Release:	%mkrel 1
Source0:	http://download.transmissionbt.com/files/%{name}-%{version}.tar.xz
Patch0:		transmission-2.21-fix-optflags.patch
License:	MIT and GPLv2
Group:		Networking/File transfer
URL:		http://www.transmissionbt.com/
BuildRequires:	gtk+2-devel
BuildRequires:	qt4-devel >= 4:4.6.0
BuildRequires:	bzip2
BuildRequires:	openssl-devel
BuildRequires:	desktop-file-utils
BuildRequires:	imagemagick
BuildRequires:	libcurl-devel
BuildRequires:	libnotify-devel
BuildRequires:	libevent-devel
BuildRequires:	intltool

%description
Transmission is a free, lightweight BitTorrent client. It features a 
simple, intuitive interface on top of an efficient back-end.

%package common
Summary:	Common files for Transmission Bittorrent client
Group:		Networking/File transfer
Conflicts:	transmission < 1.74

%description common
Transmission is a free, lightweight BitTorrent client. This package
contains the common files used by the different front-ends.


%package cli
Summary:	Command line interface for Transmission BitTorrent client
Group:		Networking/File transfer
Requires:	%{name}-common = %{version}
Conflicts:	transmission < 1.74

%description cli
Transmission is a free, lightweight BitTorrent client. This package
contains the command line interface front-end.


%package gtk
Summary:	GTK Interface for Transmission BitTorrent client
Group:		Networking/File transfer
Requires:	%{name}-common = %{version}
Provides:	%{name} = %{version}-%{release}
Provides:	%{name}-gui = %{version}-%{release}
Obsoletes:	transmission < 1.74-1
# Old, unmaintained clients that used old wx: transmission is as good
# an upgrade path as any - AdamW 2008/12
Obsoletes:	BitTornado <= 0:0.3.18-4
Obsoletes:	bittorrent-gui <= 5.2.2-3

%description gtk
Transmission is a free, lightweight BitTorrent client. It features a
simple, intuitive interface on top of an efficient back-end.

This package provides the GTK Interface.


%package qt4
Summary:	Qt4 Interface for Transmission BitTorrent client
Group:		Networking/File transfer
Provides:	%{name}-gui = %{version}-%{release}
Requires:	%{name}-common = %{version}

%description qt4
Transmission is a simple BitTorrent client. It features a very simple,
intuitive interface (gui and command-line) on top on an efficient,
cross-platform back-end.

This package contains QTransmission, a QT4 based GUI for Transmission
loosely based on the GTK+ client.


%package daemon
Summary:	Qt4 Interface for Transmission BitTorrent client
Group:		Networking/File transfer
Requires:	%{name}-common = %{version}

%description daemon
Transmission is a simple BitTorrent client. It features a very simple,
intuitive interface (gui and command-line) on top on an efficient,
cross-platform back-end.

This package contains the transmission-daemon.


%prep
%setup -q 
%patch0 -p1

%build
%configure2_5x
%make

#Qt GUI
pushd qt
%qmake_qt4 qtr.pro
%make
pushd translations
for i in `ls *.ts`; do lrelease $i ; done
popd
popd

%install
%makeinstall_std
%find_lang %{name}-gtk

mkdir -p %{buildroot}%{_iconsdir}/hicolor/{48x48,32x32,16x16}/apps
convert -scale 48 %{buildroot}/usr/share/pixmaps/transmission.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png 
convert -scale 32 %{buildroot}/usr/share/pixmaps/transmission.png %{buildroot}%{_iconsdir}/hicolor/32x32/apps/%{name}.png
convert -scale 16 %{buildroot}/usr/share/pixmaps/transmission.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{name}.png

#Qt GUI Installation
pushd qt
INSTALL_ROOT=%{buildroot}%{_prefix} make install
pushd translations
mkdir -p %{buildroot}%_prefix/lib/qt4/translations
cp *.qm %{buildroot}%_prefix/lib/qt4/translations
popd
popd

# Install transmission-qt.desktop manually as make install doesn't install it:
cp -a qt/transmission-qt.desktop %{buildroot}/%{_datadir}/applications/

%files common
%doc README NEWS AUTHORS
%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_iconsdir}/hicolor/*/apps/*

%files cli
%{_bindir}/%{name}-cli
%{_bindir}/%{name}-create
%{_bindir}/%{name}-edit
%{_bindir}/%{name}-remote
%{_bindir}/%{name}-show
%{_mandir}/man1/%{name}-cli.1*
%{_mandir}/man1/%{name}-create.1*
%{_mandir}/man1/%{name}-edit.1*
%{_mandir}/man1/%{name}-remote.1*
%{_mandir}/man1/%{name}-show.1*

%files daemon
%{_bindir}/%{name}-daemon
%{_mandir}/man1/%{name}-daemon.1*

%files gtk -f %{name}-gtk.lang
%{_bindir}/%{name}-gtk
%{_datadir}/applications/%{name}-gtk.desktop
%{_mandir}/man1/%{name}-gtk.1*

%files qt4
%{_bindir}/%{name}-qt
%{_datadir}/applications/%{name}-qt.desktop
%{_mandir}/man1/%{name}-qt.1*
%_prefix/lib/qt4/translations/*.qm


%changelog

* Tue Jul 17 2012 dams <dams> 2.22-1.1.mga1
+ Revision: 271784
- fix missing Qt translations (mga#6788) thanks to neoclust

* Fri Apr 01 2011 dams <dams> 2.22-1.mga1
+ Revision: 79505
- Update to 2.22

* Sun Feb 27 2011 ahmad <ahmad> 2.21-1.mga1
+ Revision: 61217
- update to 2.21
- imported package transmission


* Wed Dec 01 2010 Sandro Cazzaniga <kharec@mandriva.org> 2.12-1mdv2011.0
+ Revision: 604508
- Update to 2.12

* Fri Oct 22 2010 Ahmad Samir <ahmadsamir@mandriva.org> 2.11-1mdv2011.0
+ Revision: 587231
- update to 2.11
- rediff (and rename) patch0
- stricter requires for qt4-devel
- install transmission-qt.desktop from the tarball manually (make install doesn't
  install it)
- update file list
   ?\226?\128?\162 install new cli tools
   ?\226?\128?\162 gtk binary is now transmission-gtk
   ?\226?\128?\162 qt4 binary is now transmission-qt

* Sat Aug 21 2010 Thomas Backlund <tmb@mandriva.org> 2.04-1mdv2011.0
+ Revision: 571730
- update to 2.04

* Wed Jul 28 2010 Thomas Backlund <tmb@mandriva.org> 2.03-1mdv2011.0
+ Revision: 562781
- update to 2.03

* Fri Apr 16 2010 Frederik Himpe <fhimpe@mandriva.org> 1.92-1mdv2010.1
+ Revision: 535559
- Update to new version 1.92 (fixes CVE-2010-0748, CVE-2010-0749)

* Tue Apr 06 2010 Funda Wang <fwang@mandriva.org> 1.91-5mdv2010.1
+ Revision: 531919
- rebuild for new openssl

* Fri Feb 26 2010 Oden Eriksson <oeriksson@mandriva.com> 1.91-4mdv2010.1
+ Revision: 511646
- rebuilt against openssl-0.9.8m

* Thu Feb 25 2010 Oden Eriksson <oeriksson@mandriva.com> 1.91-3mdv2010.1
+ Revision: 511198
- rebuild
- really link against system libevent (fedora)

* Mon Feb 22 2010 Frederik Himpe <fhimpe@mandriva.org> 1.91-1mdv2010.1
+ Revision: 509634
- update to new version 1.91

* Tue Feb 16 2010 Frederik Himpe <fhimpe@mandriva.org> 1.90-1mdv2010.1
+ Revision: 506880
- update to new version 1.90

* Fri Jan 29 2010 Frederik Himpe <fhimpe@mandriva.org> 1.83-1mdv2010.1
+ Revision: 498285
- update to new version 1.83

* Sat Jan 23 2010 Frederik Himpe <fhimpe@mandriva.org> 1.82-1mdv2010.1
+ Revision: 495313
- update to new version 1.82

* Thu Jan 21 2010 Frederik Himpe <fhimpe@mandriva.org> 1.80-1mdv2010.1
+ Revision: 494626
- update to new version 1.80

* Wed Jan 06 2010 Frederik Himpe <fhimpe@mandriva.org> 1.77-1mdv2010.1
+ Revision: 486804
- update to new version 1.77

* Wed Dec 16 2009 Ahmad Samir <ahmadsamir@mandriva.org> 1.76-2mdv2010.1
+ Revision: 479607
- rebuild for new qt

* Fri Nov 06 2009 Frederik Himpe <fhimpe@mandriva.org> 1.76-1mdv2010.1
+ Revision: 462058
- Update to new version 1.76

* Tue Sep 15 2009 Frederik Himpe <fhimpe@mandriva.org> 1.75-1mdv2010.0
+ Revision: 443184
- Update to new version 1.75

  + John Balcaen <mikala@mandriva.org>
    - Fix .desktop file for Qt4 Gui

* Wed Aug 26 2009 Frederik Himpe <fhimpe@mandriva.org> 1.74-3mdv2010.0
+ Revision: 421527
- Fix provides

* Tue Aug 25 2009 Frederik Himpe <fhimpe@mandriva.org> 1.74-2mdv2010.0
+ Revision: 421290
- Fix rpmlint warnings (mix of tables and spaces, missing colon in provides,
  missing defattr)
- Let gtk and qt4 subpackages provide virtual gui subpackage
- Use tabs in SPEC file

* Tue Aug 25 2009 Frederik Himpe <fhimpe@mandriva.org> 1.74-1mdv2010.0
+ Revision: 421285
- Build QT4 GUI and split package in gtk, cli, qt4, daemon and common
  subpackages (based on work from John Balcaen)
- Remove old pre-2009.0 compatibiliyt %%post and %%postun scripts
- Remove provides for bittorrent-gui and BitTornado: nothing in the
  distro requires them anymore
- Update to new version 1.74

* Sun Jul 19 2009 Frederik Himpe <fhimpe@mandriva.org> 1.73-1mdv2010.0
+ Revision: 397928
- update to new version 1.73

* Wed Jun 17 2009 Frederik Himpe <fhimpe@mandriva.org> 1.72-1mdv2010.0
+ Revision: 386790
- update to new version 1.72

* Mon Jun 08 2009 Frederik Himpe <fhimpe@mandriva.org> 1.71-2mdv2010.0
+ Revision: 384105
- update to new version 1.71

* Fri Jun 05 2009 Frederik Himpe <fhimpe@mandriva.org> 1.70-1mdv2010.0
+ Revision: 383116
- Update to new version 1.70
- Build with system libevent

* Tue May 12 2009 Funda Wang <fwang@mandriva.org> 1.61-1mdv2010.0
+ Revision: 374891
- New version 1.61

* Tue May 05 2009 Frederik Himpe <fhimpe@mandriva.org> 1.60-1mdv2010.0
+ Revision: 372222
- update to new version 1.60

* Fri May 01 2009 Frederik Himpe <fhimpe@mandriva.org> 1.52-1mdv2010.0
+ Revision: 370254
- update to new version 1.52

* Sat Feb 28 2009 Frederik Himpe <fhimpe@mandriva.org> 1.51-1mdv2009.1
+ Revision: 345849
- update to new version 1.51

* Sat Feb 14 2009 Frederik Himpe <fhimpe@mandriva.org> 1.50-1mdv2009.1
+ Revision: 340289
- update to new version 1.50

* Sat Dec 27 2008 Adam Williamson <awilliamson@mandriva.org> 1.42-3mdv2009.1
+ Revision: 319992
- obsolete bittorrent-gui too

* Sat Dec 27 2008 Adam Williamson <awilliamson@mandriva.org> 1.42-2mdv2009.1
+ Revision: 319984
- obsolete BitTornado (I'm cleaning up wxpython2.6 stuff and this is as good an
  upgrade path as any)

* Thu Dec 25 2008 Frederik Himpe <fhimpe@mandriva.org> 1.42-1mdv2009.1
+ Revision: 319021
- update to new version 1.42

  + Oden Eriksson <oeriksson@mandriva.com>
    - lowercase ImageMagick

* Mon Nov 17 2008 Adam Williamson <awilliamson@mandriva.org> 1.40-1mdv2009.1
+ Revision: 304023
- buildrequires intltool, apparently
- drop fix-memleak.patch (merged upstream, and was wrongly done in any case)
- new release 1.40

* Fri Oct 17 2008 Adam Williamson <awilliamson@mandriva.org> 1.34-1mdv2009.1
+ Revision: 294801
- new release 1.34

* Thu Sep 25 2008 Frederik Himpe <fhimpe@mandriva.org> 1.33-2mdv2009.0
+ Revision: 288214
- Add upstream patch fixing huge memory leak, from Debian:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499828

* Fri Aug 22 2008 Frederik Himpe <fhimpe@mandriva.org> 1.33-1mdv2009.0
+ Revision: 275208
- Update to version 1.33, remove patch integrated upstream

* Thu Aug 14 2008 Adam Williamson <awilliamson@mandriva.org> 1.32-2mdv2009.0
+ Revision: 271688
- add open.patch from SVN: fixes a problem with opening torrents from Firefox
- streamline spec svn conditionals

* Wed Aug 13 2008 Adam Williamson <awilliamson@mandriva.org> 1.32-1mdv2009.0
+ Revision: 271546
- new release 1.32

* Thu Aug 07 2008 Funda Wang <fwang@mandriva.org> 1.31-1mdv2009.0
+ Revision: 265679
- New version 1.31
- drop libevent BR, it ships its own libevent

* Sun Jun 15 2008 Funda Wang <fwang@mandriva.org> 1.22-1mdv2009.0
+ Revision: 219299
- New version 1.22

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Sun May 25 2008 Funda Wang <fwang@mandriva.org> 1.21-1mdv2009.0
+ Revision: 211118
- update to new version 1.21

* Sun May 11 2008 Adam Williamson <awilliamson@mandriva.org> 1.20-1mdv2009.0
+ Revision: 205560
- buildrequires libcurl-devel
- new release 1.20

* Mon Apr 14 2008 Adam Williamson <awilliamson@mandriva.org> 1.11-1mdv2009.0
+ Revision: 193040
- new release 1.11

* Thu Feb 28 2008 Adam Williamson <awilliamson@mandriva.org> 1.06-1mdv2008.1
+ Revision: 175965
- new release 1.06

* Sat Feb 09 2008 Funda Wang <fwang@mandriva.org> 1.05-1mdv2008.1
+ Revision: 164575
- New version 1.05

* Sat Feb 02 2008 Funda Wang <fwang@mandriva.org> 1.04-1mdv2008.1
+ Revision: 161322
- New version 1.04

* Wed Jan 30 2008 Funda Wang <fwang@mandriva.org> 1.03-1mdv2008.1
+ Revision: 160266
- New version 1.03

* Tue Jan 15 2008 Adam Williamson <awilliamson@mandriva.org> 1.01-1mdv2008.1
+ Revision: 153443
- new release 1.01

* Fri Jan 11 2008 Adam Williamson <awilliamson@mandriva.org> 1.00-1mdv2008.1
+ Revision: 148799
- new release 1.00
- restore buildroot for backport

* Thu Dec 20 2007 Adam Williamson <awilliamson@mandriva.org> 0.96-1mdv2008.1
+ Revision: 135386
- minor spec clean
- new release 0.96

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Wed Dec 05 2007 Adam Williamson <awilliamson@mandriva.org> 0.95-1mdv2008.1
+ Revision: 115739
- new release 0.95

* Tue Nov 27 2007 Adam Williamson <awilliamson@mandriva.org> 0.94-1mdv2008.1
+ Revision: 113533
- new release 0.94

* Sun Nov 18 2007 Adam Williamson <awilliamson@mandriva.org> 0.93-1mdv2008.1
+ Revision: 109771
- new release 0.93

* Sat Nov 10 2007 Adam Williamson <awilliamson@mandriva.org> 0.92-1mdv2008.1
+ Revision: 107449
- new release 0.92

* Mon Nov 05 2007 Adam Williamson <awilliamson@mandriva.org> 0.91-2mdv2008.1
+ Revision: 106208
- rebuild for lzma permissions issue (#35309)

* Tue Oct 30 2007 Adam Williamson <awilliamson@mandriva.org> 0.91-1mdv2008.1
+ Revision: 103906
- package man pages
- new release 0.91

* Thu Oct 25 2007 Adam Williamson <awilliamson@mandriva.org> 0.90-1mdv2008.1
+ Revision: 102010
- drop man dir fix patch, no longer needed
- drop a couple of workarounds no longer needed due to upstream changes
- adjust file list
- new release 0.90

* Thu Sep 20 2007 Adam Williamson <awilliamson@mandriva.org> 0.82-1mdv2008.0
+ Revision: 91270
- new release 0.82 (important bug fixes)
- spec clean

* Wed Aug 29 2007 Adam Williamson <awilliamson@mandriva.org> 0.81-1mdv2008.0
+ Revision: 73312
- add some new translations to the file list
- use %%setup -c because this version's tarball is broken
- new release 0.81

* Sun Aug 12 2007 Adam Williamson <awilliamson@mandriva.org> 0.80-3mdv2008.0
+ Revision: 62338
- correct icon name in .desktop file

* Sun Aug 12 2007 Adam Williamson <awilliamson@mandriva.org> 0.80-2mdv2008.0
+ Revision: 62303
- update file list
- drop old icons and some unneeded fd.o resolutions
- buildrequires libevent-devel (for daemon)
- update license (some files are now GPL)
- new release 0.80

* Thu Aug 09 2007 Funda Wang <fwang@mandriva.org> 0.72-2mdv2008.0
+ Revision: 60902
- Use applications' own desktop file

* Mon Apr 30 2007 Adam Williamson <awilliamson@mandriva.org> 0.72-1mdv2008.0
+ Revision: 19704
- 0.72, use upstream versioning and archive naming

* Fri Apr 20 2007 Adam Williamson <awilliamson@mandriva.org> 0.7.0-1mdv2008.0
+ Revision: 16357
- 0.7.0 final

* Tue Apr 17 2007 Adam Williamson <awilliamson@mandriva.org> 0.7.0-0.1733.1mdv2008.0
+ Revision: 13861
- new snapshot 1733
- add patch from trac to handle malformed bencoded responses


* Sat Apr 07 2007 Adam Williamson <awilliamson@mandriva.com> 0.7.0-0.1675.1mdv2007.1
+ Revision: 150888
- SVN snapshot
- Drop all patches but manpage location fix (merged)
- Handle l10n files correctly
- generate full icon set
- Import transmission