|
|
@ -1,8 +1,8 @@
|
|
|
|
%global _hardened_build 1
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: transmission
|
|
|
|
Name: transmission
|
|
|
|
Version: 2.77
|
|
|
|
Version: 2.80
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A lightweight GTK+ BitTorrent client
|
|
|
|
Summary: A lightweight GTK+ BitTorrent client
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/Internet
|
|
|
|
Group: Applications/Internet
|
|
|
@ -10,8 +10,6 @@ Group: Applications/Internet
|
|
|
|
License: MIT and GPLv2
|
|
|
|
License: MIT and GPLv2
|
|
|
|
URL: http://www.transmissionbt.com
|
|
|
|
URL: http://www.transmissionbt.com
|
|
|
|
Source0: http://download.transmissionbt.com/files/transmission-%{version}.tar.xz
|
|
|
|
Source0: http://download.transmissionbt.com/files/transmission-%{version}.tar.xz
|
|
|
|
# systemd unit definition
|
|
|
|
|
|
|
|
Source1: transmission-daemon-systemd
|
|
|
|
|
|
|
|
BuildRequires: openssl-devel >= 0.9.4
|
|
|
|
BuildRequires: openssl-devel >= 0.9.4
|
|
|
|
BuildRequires: glib2-devel >= 2.32.0
|
|
|
|
BuildRequires: glib2-devel >= 2.32.0
|
|
|
|
BuildRequires: gtk3-devel >= 3.2.0
|
|
|
|
BuildRequires: gtk3-devel >= 3.2.0
|
|
|
@ -100,7 +98,7 @@ mv NEWS.new NEWS
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
|
|
|
|
|
|
|
|
%configure --disable-static --enable-utp --enable-daemon \
|
|
|
|
%configure --disable-static --enable-utp --enable-daemon \
|
|
|
|
--enable-nls --enable-cli --enable-daemon --with-gnu-ld
|
|
|
|
--enable-nls --enable-cli --enable-daemon --with-systemd-daemon
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
pushd qt
|
|
|
|
pushd qt
|
|
|
@ -110,7 +108,7 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/transmission-daemon.service
|
|
|
|
install -m0644 daemon/transmission-daemon.service %{buildroot}%{_unitdir}/
|
|
|
|
mkdir -p %{buildroot}/var/lib/transmission
|
|
|
|
mkdir -p %{buildroot}/var/lib/transmission
|
|
|
|
%make_install
|
|
|
|
%make_install
|
|
|
|
make install INSTALL_ROOT=%{buildroot}%{_prefix} -C qt
|
|
|
|
make install INSTALL_ROOT=%{buildroot}%{_prefix} -C qt
|
|
|
@ -193,6 +191,10 @@ fi
|
|
|
|
%doc %{_mandir}/man1/transmission-qt.*
|
|
|
|
%doc %{_mandir}/man1/transmission-qt.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 27 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.80-1
|
|
|
|
|
|
|
|
- upstream release 2.80
|
|
|
|
|
|
|
|
- use upstream systemd service file
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 10 2013 Adam Williamson <awilliam@redhat.com>
|
|
|
|
* Fri May 10 2013 Adam Williamson <awilliam@redhat.com>
|
|
|
|
- update scriptlets to match current guidelines
|
|
|
|
- update scriptlets to match current guidelines
|
|
|
|
|
|
|
|
|
|
|
|