]> git.pld-linux.org Git - packages/transmission.git/blame - transmission.spec
- gui-qt subpackage (there is a Qt-based client)
[packages/transmission.git] / transmission.spec
CommitLineData
7ad95f16 1# TODO: use system libevent
0f16bf9a 2Summary: A versatile and multi-platform BitTorrent client
f2dfe381 3Summary(hu.UTF-8): Egy sokoldalú és multiplatformos BitTorrent kliens
bb59eb4f 4Summary(pl.UTF-8): Wszechstronny i wieloplatformowy klient BitTorrenta
905dacdd 5Name: transmission
2e12f7e7 6Version: 1.60
820ff2df 7Release: 2
0f16bf9a
PZ
8License: MIT
9Group: Applications/Communications
f2dfe381 10Source0: http://download.m0k.org/transmission/files/%{name}-%{version}.tar.bz2
2e12f7e7 11# Source0-md5: 8b30cf189240f0c50ccd11c618a6906a
147f3fba 12Patch0: %{name}-ckb_po.patch
ec12ede2 13URL: http://transmissionbt.com/
7ad95f16
JB
14BuildRequires: curl-devel >= 7.15.0
15BuildRequires: dbus-glib-devel >= 0.70
f237c99d 16BuildRequires: gettext-devel
7ad95f16 17BuildRequires: glib2-devel >= 1:2.16.0
0f16bf9a
PZ
18BuildRequires: gtk+2-devel >= 2:2.6.0
19BuildRequires: intltool >= 0.35.5
7ad95f16
JB
20#BuildRequires: libevent-devel
21BuildRequires: libnotify-devel >= 0.4.4
f237c99d 22BuildRequires: libstdc++-devel
7ad95f16 23BuildRequires: openssl-devel >= 0.9.4
0f16bf9a
PZ
24BuildRequires: pkgconfig
25BuildRequires: rpmbuild(macros) >= 1.357
820ff2df 26BuildRequires: qt4-qmake
f237c99d 27Obsoletes: Transmission <= 1.05
b4dc7e64 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0f16bf9a 29
c6dfa0bb 30%define _appdir %{_datadir}/%{name}/web
31
0f16bf9a
PZ
32%description
33Transmission has been built from the ground up to be a lightweight,
34yet powerful BitTorrent client. Its simple, intuitive interface is
35designed to integrate tightly with whatever computing environment you
36choose to use. Transmission strikes a balance between providing useful
37functionality without feature bloat.
38
f2dfe381
ZU
39%description -l hu.UTF-8
40Transmission egy könnyűsúlyú de mégis egy erőteljes BitTorrent kliens.
41Egyszerű, intuitív felülete szorosan illeszkedik bármilyen
42számítógépes környezetbe, amit csak választasz. A Transmission célja
43megtalálni a használható funkcionalitást lehetőségek áradata nélkül.
44
bb59eb4f
JB
45%description -l pl.UTF-8
46Transmission został stworzony od podstaw, aby być lekkim lecz mającym
47duże możliwości klientem BitTorrenta. Jego prosty, intuicyjny
48interfejs jest zaprojektowany spójnie z dowolnym środowiskiem wybranym
49przez użytkownika. Transmission stawia na równowagę zapewnienia
50przydatnej funkcjonalności bez nadmiaru opcji.
51
f237c99d
KK
52%package gui
53Summary: A versatile and multi-platform BitTorrent client
54Summary(pl.UTF-8): Wszechstronny i wieloplatformowy klient BitTorrenta
55Group: X11/Applications/Communications
56Requires(post,postun): hicolor-icon-theme
57Requires(post,postun): gtk+2
30875bc9 58Requires: %{name} = %{version}-%{release}
f237c99d 59Requires: gtk+2 >= 2:2.6.0
f237c99d
KK
60
61%description gui
62Transmission has been built from the ground up to be a lightweight,
63yet powerful BitTorrent client. Its simple, intuitive interface is
64designed to integrate tightly with whatever computing environment you
65choose to use. Transmission strikes a balance between providing useful
66functionality without feature bloat.
67
68%description gui -l hu.UTF-8
69Transmission egy könnyűsúlyú de mégis egy erőteljes BitTorrent kliens.
70Egyszerű, intuitív felülete szorosan illeszkedik bármilyen
71számítógépes környezetbe, amit csak választasz. A Transmission célja
72megtalálni a használható funkcionalitást lehetőségek áradata nélkül.
73
74%description gui -l pl.UTF-8
75Transmission został stworzony od podstaw, aby być lekkim lecz mającym
76duże możliwości klientem BitTorrenta. Jego prosty, intuicyjny
77interfejs jest zaprojektowany spójnie z dowolnym środowiskiem wybranym
78przez użytkownika. Transmission stawia na równowagę zapewnienia
79przydatnej funkcjonalności bez nadmiaru opcji.
80
820ff2df
ZU
81%package gui-qt
82Summary: A GUI to Transmission based on Qt4
83Group: X11/Applications/Communications
84Requires: %{name} = %{version}-%{release}
85
86%description gui-qt
87A GUI to Transmission based on Qt4.
88
0f16bf9a 89%prep
0fc49842 90%setup -q -c -n transmission-%{version}
bac64279 91mv transmission-%{version}/* .
147f3fba 92%patch0 -p1
ec12ede2 93%{__rm} po/ckb.po
0f16bf9a
PZ
94
95%build
96%configure
97%{__make}
98
820ff2df
ZU
99cd qt
100qmake-qt4
101%{__sed} -i "s@^CFLAGS.*=.*@CFLAGS = %{rpmcflags} -I/usr/include/openssl $(DEFINES)@" Makefile
102%{__sed} -i "s@^CXXFLAGS.*=.*@CXXFLAGS = %{rpmcxxflags} -I/usr/include/openssl $(DEFINES)@" Makefile
103%{__make}
104
0f16bf9a
PZ
105%install
106rm -rf $RPM_BUILD_ROOT
107
108%{__make} install \
109 DESTDIR=$RPM_BUILD_ROOT
110
ec12ede2 111# unsupported
65730317
ZU
112%{__rm} -rf $RPM_BUILD_ROOT%{_localedir}/eu
113
114%find_lang %{name} --all-name --with-gnome
ec12ede2 115
820ff2df
ZU
116install qt/qtr $RPM_BUILD_ROOT%{_bindir}
117
ec12ede2 118# copy of GPLv2 not needed
119%{__rm} $RPM_BUILD_ROOT%{_datadir}/transmission/web/LICENSE
120
0f16bf9a
PZ
121%clean
122rm -rf $RPM_BUILD_ROOT
123
f237c99d 124%post gui
0f16bf9a 125%update_desktop_database_post
e65cafbb 126%update_icon_cache hicolor
0f16bf9a 127
f237c99d 128%postun gui
0f16bf9a 129%update_desktop_database_postun
e65cafbb 130%update_icon_cache hicolor
0f16bf9a
PZ
131
132%files -f %{name}.lang
133%defattr(644,root,root,755)
134%doc AUTHORS NEWS README
95c51d91 135%attr(755,root,root) %{_bindir}/transmissioncli
09c73228 136%attr(755,root,root) %{_bindir}/transmission-daemon
09c73228 137%attr(755,root,root) %{_bindir}/transmission-remote
5de6d863
ZU
138%{_mandir}/man1/transmissioncli.1*
139%{_mandir}/man1/transmission-daemon.1*
140%{_mandir}/man1/transmission-remote.1*
147f3fba 141%dir %{_datadir}/%{name}
c4a49d1e 142%dir %{_appdir}
c6dfa0bb 143%{_appdir}/images
144%{_appdir}/javascript
145%{_appdir}/stylesheets
146%{_appdir}/index.html
f237c99d
KK
147
148%files gui
c1ca1d17 149%defattr(644,root,root,755)
f237c99d 150%attr(755,root,root) %{_bindir}/transmission
5de6d863 151%{_mandir}/man1/transmission.1*
f237c99d
KK
152%{_desktopdir}/transmission.desktop
153%{_pixmapsdir}/transmission.png
154%{_iconsdir}/hicolor/*/apps/transmission.png
155%{_iconsdir}/hicolor/*/apps/transmission.svg
820ff2df
ZU
156
157%files gui-qt
158%defattr(644,root,root,755)
159%attr(755,root,root) %{_bindir}/qtr
This page took 0.059885 seconds and 4 git commands to generate.