[521] | 1 | Name: transmission |
---|
[1538] | 2 | Version: 2.04 |
---|
[521] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: A lightweight BitTorrent client |
---|
| 5 | Summary(ja): 軽量な BitTorrent クライアント |
---|
| 6 | |
---|
| 7 | Group: Applications/Internet |
---|
| 8 | License: MIT and GPLv2 |
---|
| 9 | URL: http://www.transmissionbt.com/ |
---|
| 10 | Source0: http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2 |
---|
| 11 | Source1: transmission-daemon-init |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: openssl-devel |
---|
| 16 | BuildRequires: curl-devel >= 7.18.0 |
---|
| 17 | BuildRequires: dbus-glib-devel |
---|
| 18 | BuildRequires: glib2-devel |
---|
| 19 | BuildRequires: libnotify-devel |
---|
| 20 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
| 21 | BuildRequires: desktop-file-utils |
---|
| 22 | BuildRequires: gettext >= 0.14.1 |
---|
| 23 | BuildRequires: intltool >= 0.40 |
---|
| 24 | BuildRequires: libcanberra-devel |
---|
| 25 | BuildRequires: libevent-devel |
---|
| 26 | BuildRequires: GConf2-devel |
---|
| 27 | |
---|
| 28 | Requires: transmission-cli |
---|
| 29 | Requires: transmission-gtk |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | Transmission is a free, lightweight BitTorrent client. It features a |
---|
| 33 | simple, intuitive interface on top on an efficient, cross-platform |
---|
| 34 | back-end. |
---|
| 35 | |
---|
| 36 | %description -l ja |
---|
| 37 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
| 38 | シンプル且つ直感的なインターフェイス、クロスプラットフォームなバックエンドが特色です。 |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %package common |
---|
| 42 | Summary: Common files for Transmission BitTorrent client |
---|
| 43 | Summary(ja): Transmission BitTorrent クライアントの共通ファイル |
---|
| 44 | Group: Applications/Internet |
---|
| 45 | Obsoletes: transmission =< 1.83 |
---|
| 46 | |
---|
| 47 | %description common |
---|
| 48 | Transmission is a free, lightweight BitTorrent client. This package |
---|
| 49 | contains the common files used by the different front-ends. |
---|
| 50 | |
---|
| 51 | %description -l ja common |
---|
| 52 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
| 53 | このパッケージは異なるフロントエンドにより使用される |
---|
| 54 | 共通ファイルを含みます。 |
---|
| 55 | |
---|
| 56 | %package cli |
---|
| 57 | Summary: Transmission command line implementation |
---|
| 58 | Summary(ja): Transmission のコマンドライン実装 |
---|
| 59 | Group: Applications/Internet |
---|
| 60 | Requires: transmission-common |
---|
| 61 | Provides: transmission = %{version}-%{release} |
---|
| 62 | |
---|
| 63 | %description cli |
---|
| 64 | Command line version of Transmission BitTorrent client. |
---|
| 65 | |
---|
| 66 | %description cli -l ja |
---|
| 67 | Transmission BitTorrent クライアントのコマンドライン版です。 |
---|
| 68 | |
---|
| 69 | %package daemon |
---|
| 70 | Summary: Transmission daemon |
---|
| 71 | Summary(ja): Transmission デーモン |
---|
| 72 | Group: Applications/Internet |
---|
| 73 | Requires: transmission-common |
---|
| 74 | Requires(pre): shadow-utils |
---|
| 75 | Requires(post): chkconfig |
---|
| 76 | Requires(preun): chkconfig |
---|
| 77 | Requires(preun): initscripts |
---|
| 78 | Requires(postun): initscripts |
---|
| 79 | Provides: transmission = %{version}-%{release} |
---|
| 80 | |
---|
| 81 | %description daemon |
---|
| 82 | Transmission BitTorrent client daemon. |
---|
| 83 | |
---|
| 84 | %description daemon -l ja |
---|
| 85 | Transmission BitTorrent クライアントのデーモンです。 |
---|
| 86 | |
---|
| 87 | %package gtk |
---|
| 88 | Summary: GTK Interface for Transmission BitTorrent client |
---|
| 89 | Summary(ja): Transmission BitTorrent client の GTK インターフェイス |
---|
| 90 | Group: Applications/Internet |
---|
| 91 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
| 92 | Requires: %{name}-common = %{version} |
---|
| 93 | Provides: %{name} = %{version}-%{release} |
---|
| 94 | Provides: %{name}-gui = %{version}-%{release} |
---|
| 95 | Obsoletes: transmission =< 1.83 |
---|
| 96 | |
---|
| 97 | %description gtk |
---|
| 98 | Transmission is a free, lightweight BitTorrent client. It features a |
---|
| 99 | simple, intuitive interface on top of an efficient back-end. |
---|
| 100 | |
---|
| 101 | This package provides the GTK Interface. |
---|
| 102 | |
---|
| 103 | %description -l ja gtk |
---|
| 104 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
| 105 | シンプル且つ直感的なインターフェイス、クロスプラットフォームなバックエンドが特色です。 |
---|
| 106 | |
---|
| 107 | このパッケージは GTK インターフェイスを提供します。 |
---|
| 108 | |
---|
| 109 | %package qt |
---|
| 110 | Summary: Qt4 Interface for Transmission BitTorrent client |
---|
| 111 | Summary(ja): Transmission BitTorrent client の Qt4 インターフェイス |
---|
| 112 | Group: Applications/Internet |
---|
| 113 | Provides: %{name}-gui = %{version}-%{release} |
---|
| 114 | Requires: %{name}-common = %{version} |
---|
| 115 | BuildRequires: qt4-devel qt4-designer |
---|
| 116 | |
---|
| 117 | %description qt |
---|
| 118 | Transmission is a simple BitTorrent client. It features a very simple, |
---|
| 119 | intuitive interface on top on an efficient, cross-platform back-end. |
---|
| 120 | |
---|
| 121 | This package contains QTransmission, a QT4 based GUI for Transmission |
---|
| 122 | loosely based on the GTK+ client. |
---|
| 123 | |
---|
| 124 | %description -l ja qt |
---|
[1538] | 125 | Transmission はフリーで軽量な BitTorrent クライアントです。 |
---|
[521] | 126 | シンプル且つ直感的なインターフェイス、クロスプラットフォームなバックエンドが特色です。 |
---|
| 127 | |
---|
[1538] | 128 | このパッケージは QTransmission - GTK+ クライアントに概ね基づいた |
---|
[521] | 129 | Transmission の QT4 ベース GUI - を含みます。 |
---|
| 130 | |
---|
| 131 | %pre daemon |
---|
| 132 | getent group transmission >/dev/null || groupadd -r transmission |
---|
| 133 | getent passwd transmission >/dev/null || \ |
---|
| 134 | useradd -r -g transmission -d /var/lib/transmission -s /sbin/nologin \ |
---|
| 135 | -c "transmission daemon account" transmission |
---|
| 136 | exit 0 |
---|
| 137 | |
---|
| 138 | %prep |
---|
| 139 | %setup -q |
---|
| 140 | |
---|
| 141 | %build |
---|
| 142 | %configure --with-gtk --disable-wx --disable-static --enable-libcanberra --enable-daemon |
---|
| 143 | make %{?_smp_mflags} CC=%{__cc} |
---|
| 144 | #make CFLAGS="$RPM_OPT_FLAGS" |
---|
| 145 | |
---|
| 146 | #for QT gui build |
---|
| 147 | pushd qt |
---|
| 148 | %{_libdir}/qt4/bin/qmake qtr.pro |
---|
| 149 | make %{?_smp_mflags} |
---|
| 150 | popd |
---|
| 151 | |
---|
| 152 | %install |
---|
| 153 | rm -rf $RPM_BUILD_ROOT |
---|
| 154 | |
---|
| 155 | mkdir -p %{buildroot}%{_initddir} |
---|
| 156 | install -m755 %{SOURCE1} %{buildroot}%{_initddir}/transmission-daemon |
---|
| 157 | mkdir -p %{buildroot}/var/lib/transmission |
---|
| 158 | |
---|
| 159 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 160 | make install INSTALL_ROOT=%{buildroot}%{_prefix} -C qt |
---|
| 161 | |
---|
| 162 | %find_lang %{name} |
---|
| 163 | |
---|
| 164 | desktop-file-install --vendor vine \ |
---|
| 165 | --delete-original \ |
---|
| 166 | --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ |
---|
| 167 | $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop |
---|
| 168 | |
---|
| 169 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications |
---|
| 170 | cat > $RPM_BUILD_ROOT%{_datadir}/applications/vine-qtr.desktop << EOF |
---|
| 171 | [Desktop Entry] |
---|
| 172 | Encoding=UTF-8 |
---|
| 173 | Name=Qtransmission Bittorrent Client |
---|
| 174 | Name[ja]=Qtransmission Bittorrent クライアント |
---|
| 175 | GenericName=BitTorrent Client |
---|
| 176 | GenericName[ja]=BitTorrent クライアント |
---|
| 177 | Comment=Download and share files over BitTorrent |
---|
| 178 | Comment[ja]=BitTorrentでファイルをダウンロード及び共有します |
---|
| 179 | Exec=qtr %F |
---|
| 180 | Icon=transmission |
---|
| 181 | Terminal=false |
---|
| 182 | Type=Application |
---|
| 183 | MimeType=application/x-bittorrent; |
---|
| 184 | Categories=Network;FileTransfer;P2P;Qt; |
---|
| 185 | NotShowIn=GNOME;XFCE; |
---|
| 186 | EOF |
---|
| 187 | |
---|
| 188 | %clean |
---|
| 189 | rm -rf $RPM_BUILD_ROOT |
---|
| 190 | |
---|
| 191 | %post daemon |
---|
| 192 | /sbin/chkconfig --add transmission-daemon |
---|
| 193 | |
---|
| 194 | |
---|
| 195 | %post gtk |
---|
| 196 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 197 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 198 | update-desktop-database > /dev/null 2>&1 || : |
---|
| 199 | |
---|
| 200 | |
---|
| 201 | %postun gtk |
---|
| 202 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 203 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 204 | update-desktop-database > /dev/null 2>&1 || : |
---|
| 205 | |
---|
| 206 | %preun daemon |
---|
| 207 | if [ $1 = 0 ] ; then |
---|
| 208 | /sbin/service transmission-daemon stop >/dev/null 2>&1 |
---|
| 209 | /sbin/chkconfig --del transmission-daemon |
---|
| 210 | fi |
---|
| 211 | |
---|
| 212 | %postun daemon |
---|
| 213 | if [ "$1" -ge "1" ] ; then |
---|
| 214 | /sbin/service transmission-daemon condrestart >/dev/null 2>&1 || : |
---|
| 215 | fi |
---|
| 216 | |
---|
| 217 | %files |
---|
| 218 | |
---|
| 219 | %files common |
---|
| 220 | %defattr(-, root, root, -) |
---|
| 221 | %doc AUTHORS COPYING NEWS README |
---|
| 222 | %{_bindir}/transmission-remote |
---|
| 223 | %{_datadir}/transmission/web/ |
---|
| 224 | %{_datadir}/pixmaps/* |
---|
| 225 | %{_datadir}/icons/hicolor/*/apps/transmission.* |
---|
| 226 | %doc %{_mandir}/man1/transmission-remote* |
---|
| 227 | |
---|
| 228 | %files cli |
---|
| 229 | %defattr(-, root, root, -) |
---|
| 230 | %{_bindir}/transmissioncli |
---|
| 231 | %doc %{_mandir}/man1/transmissioncli* |
---|
| 232 | |
---|
| 233 | %files daemon |
---|
| 234 | %defattr(-, root, root, -) |
---|
| 235 | %{_bindir}/transmission-daemon |
---|
| 236 | %{_initddir}/transmission-daemon |
---|
| 237 | %attr(-,transmission, transmission)/var/lib/transmission/ |
---|
| 238 | %doc %{_mandir}/man1/transmission-daemon* |
---|
| 239 | |
---|
| 240 | %files gtk -f %{name}.lang |
---|
| 241 | %defattr(-,root,root) |
---|
| 242 | %{_bindir}/%{name} |
---|
| 243 | %{_datadir}/applications/vine-%{name}.desktop |
---|
| 244 | %{_mandir}/man1/transmission.1* |
---|
| 245 | |
---|
| 246 | %files qt |
---|
| 247 | %defattr(-,root,root) |
---|
| 248 | %{_bindir}/qtr |
---|
| 249 | %{_datadir}/applications/vine-qtr.desktop |
---|
| 250 | |
---|
| 251 | %changelog |
---|
[1538] | 252 | * Mon Aug 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.04-1 |
---|
| 253 | - Update to upstream 2.04 |
---|
| 254 | |
---|
[1471] | 255 | * Fri Jul 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.03-1 |
---|
| 256 | - Update to upstream 2.03 |
---|
| 257 | |
---|
[1299] | 258 | * Fri Jul 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.01-1 |
---|
| 259 | - Update to upstream 2.01 |
---|
| 260 | |
---|
[1214] | 261 | * Fri Jun 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00-1 |
---|
| 262 | - Update to upstream 2.00 |
---|
| 263 | |
---|
[947] | 264 | * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.93-1 |
---|
| 265 | - Update to upstream 1.93 |
---|
| 266 | |
---|
[607] | 267 | * Thu Mar 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.92-1 |
---|
| 268 | - Update to upstream 1.92 |
---|
| 269 | - applied new naming policy to spec |
---|
| 270 | |
---|
[521] | 271 | * Mon Feb 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.91-1 |
---|
| 272 | - Update to upstream 1.91 |
---|
| 273 | - changed summary, summary(ja) a little |
---|
| 274 | - added %configure option --enable-libcanberra --enable-daemon |
---|
| 275 | - added Source1 from Fedora |
---|
| 276 | - splitted common, cli, daemon, gtk, qt packages |
---|
| 277 | |
---|
| 278 | * Sat Jan 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.83-1 |
---|
| 279 | - Update to upstream 1.83 |
---|
| 280 | - added BuildRequires: libcanberra-devel, libevent-devel |
---|
| 281 | |
---|
| 282 | * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.82-1 |
---|
| 283 | - Update to upstream 1.82 |
---|
| 284 | |
---|
| 285 | * Fri Jan 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.80-1 |
---|
| 286 | - Update to upstream 1.80 |
---|
| 287 | - changed BuildRequires: intltool >= 0.40 |
---|
| 288 | |
---|
| 289 | * Sun Jan 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.77-1 |
---|
| 290 | - Update to upstream 1.77 |
---|
| 291 | - dropt Patch1 |
---|
| 292 | - aded BuildRequires: GConf2-devel |
---|
| 293 | |
---|
| 294 | * Mon Oct 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.76-1 |
---|
| 295 | - Update to upstream 1.76 |
---|
| 296 | |
---|
| 297 | * Tue Sep 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.75-2 |
---|
| 298 | - a few fixed transmission_ja_po.patch |
---|
| 299 | - added --disable-static=no to configure option |
---|
| 300 | - run gtk-update-icon-cache in %post, %postun |
---|
| 301 | - cleaned up spec |
---|
| 302 | |
---|
| 303 | * Tue Sep 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.75-1 |
---|
| 304 | - Update to upstream 1.75 |
---|
| 305 | |
---|
| 306 | * Sun Jul 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.73-1 |
---|
| 307 | - Update to upstream 1.73 |
---|
| 308 | |
---|
| 309 | * Sun Jun 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.72-1 |
---|
| 310 | - Update to upstream 1.72 |
---|
| 311 | - cleaned up spec |
---|
| 312 | |
---|
| 313 | * Tue Jun 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.71-1 |
---|
| 314 | - Update to upstream 1.71 |
---|
| 315 | |
---|
| 316 | * Sat Jun 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.70-1 |
---|
| 317 | - Update to upstream 1.70 |
---|
| 318 | |
---|
| 319 | * Tue May 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.61-1 |
---|
| 320 | - Update to upstream 1.61 |
---|
| 321 | - added BuildRequires: glib2-devel |
---|
| 322 | |
---|
| 323 | * Wed May 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.60-1 |
---|
| 324 | - Update to upstream 1.60 |
---|
| 325 | - spec in UTF-8 |
---|
| 326 | |
---|
| 327 | * Mon Apr 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.52-1 |
---|
| 328 | - Update to upstream 1.52 |
---|
| 329 | - fixed Desktop-file name |
---|
| 330 | - fixed BuildRoot |
---|
| 331 | |
---|
| 332 | * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.51-1 |
---|
| 333 | - Update to upstream 1.51 |
---|
| 334 | - changed BuildRequires: curl-devel >= 7.18.0 |
---|
| 335 | - dropped Patch1 |
---|
| 336 | |
---|
| 337 | * Sun Feb 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.50-1 |
---|
| 338 | - Update to upstream 1.50 |
---|
| 339 | |
---|
| 340 | * Thu Jan 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.42-2 |
---|
| 341 | - added Summary(ja) |
---|
| 342 | - fixed Lisense |
---|
| 343 | - added patch1 (transmission-1.42-libevent.patch, from Fedora) |
---|
| 344 | - fixed %build |
---|
| 345 | - changed %install |
---|
| 346 | - fixed %changelog |
---|
| 347 | |
---|
| 348 | * Sat Dec 27 2008 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.42-1 |
---|
| 349 | - initial build for VineSeed |
---|
| 350 | - Update to upstream 1.42 |
---|
| 351 | - dropped Patch0 (transmission-0.71-manpath.patch) |
---|
| 352 | - added patch0 (transmission_ja_po.patch, to fix ja.po) |
---|
| 353 | - modified %files, %install |
---|
| 354 | - modified BuildRoot |
---|
| 355 | - added BuildRequires to curl-devel, dbus-glib-devel, libnotify-devel |
---|
| 356 | |
---|
| 357 | * Thu Feb 4 2008 Denis Leroy <denis@poolshark.org> - 1.04-1 |
---|
| 358 | - Update to upstream 1.04 |
---|
| 359 | - Modified Build-Require |
---|
| 360 | |
---|
| 361 | * Thu Aug 16 2007 Denis Leroy <denis@poolshark.org> - 0.80-1 |
---|
| 362 | - Update to upstream 0.80 |
---|
| 363 | |
---|
| 364 | * Wed May 2 2007 Denis Leroy <denis@poolshark.org> - 0.72-1 |
---|
| 365 | - Update to 0.72 |
---|
| 366 | - Added libevent BR |
---|
| 367 | |
---|
| 368 | * Wed Apr 25 2007 Denis Leroy <denis@poolshark.org> - 0.71-1 |
---|
| 369 | - Update to 0.71 |
---|
| 370 | - Removed custom desktop file |
---|
| 371 | - Added patch to fix manpath |
---|
| 372 | |
---|
| 373 | * Thu Sep 28 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-3 |
---|
| 374 | - Added project icon |
---|
| 375 | - Honor cc variable |
---|
| 376 | |
---|
| 377 | * Mon Sep 25 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-2 |
---|
| 378 | - Removed ldconfig Requires |
---|
| 379 | |
---|
| 380 | * Wed Sep 13 2006 Denis Leroy <denis@poolshark.org> - 0.6.1-1 |
---|
| 381 | - First version |
---|
| 382 | |
---|