leigh123linux pushed to qbittorrent (f22). "include systemd file for nox"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat Apr 25 14:57:33 UTC 2015


>From cb14ff7e51cf5e94d5bae21d1ea190c926cebd65 Mon Sep 17 00:00:00 2001
From: leigh123linux <leigh123linux at googlemail.com>
Date: Sat, 25 Apr 2015 15:56:37 +0100
Subject: include systemd file for nox


diff --git a/qbittorrent.spec b/qbittorrent.spec
index 842efa1..24a41ee 100644
--- a/qbittorrent.spec
+++ b/qbittorrent.spec
@@ -4,7 +4,7 @@
 Name:    qbittorrent
 Summary: A Bittorrent Client
 Version: 3.2.0
-Release: 0.13.git%{_internal_version}%{?dist}
+Release: 0.14.git%{_internal_version}%{?dist}
 Epoch:   1
 License: GPLv2+
 URL:     http://sourceforge.net/projects/qbittorrent
@@ -28,6 +28,7 @@ BuildRequires: libnotify-devel
 BuildRequires: GeoIP-devel
 BuildRequires: qtsingleapplication-devel
 BuildRequires: qjson-devel
+BuildRequires: systemd
 
 %{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
 
@@ -58,7 +59,7 @@ sed -i -e 's at Exec=qbittorrent %U at Exec=env TMPDIR=/var/tmp qbittorrent %U at g' src/
 # configure and make headless first
 mkdir -p build-nox
 cd build-nox
-../configure --prefix=%{_prefix} --disable-gui --with-qtsingleapplication=system --with-qjson=system
+../configure --prefix=%{_prefix} --enable-systemd --disable-gui --with-qtsingleapplication=system --with-qjson=system
 cp conf.pri ..
 make %{?_smp_mflags}
 mv -f ../conf.pri ../conf.pri.nox
@@ -66,7 +67,7 @@ mv -f ../conf.pri ../conf.pri.nox
 cd ..
 mkdir -p build-gui
 cd build-gui
-../configure --prefix=%{_prefix}  --with-qtsingleapplication=system --with-qjson=system
+../configure --prefix=%{_prefix} --with-qtsingleapplication=system --with-qjson=system
 cp conf.pri ..
 make %{?_smp_mflags}
 mv -f ../conf.pri ../conf.pri.gui
@@ -118,9 +119,13 @@ fi
 %doc qbittorrent-nox.README NEWS COPYING AUTHORS TODO Changelog
 %{_bindir}/qbittorrent-nox
 %{_bindir}/qbittorrent-nox-bin
+%{_unitdir}/qbittorrent-nox.service
 %{_mandir}/man1/qbittorrent-nox.1*
 
 %changelog
+* Sat Apr 25 2015 Leigh Scott <leigh123linux at googlemail.com> - 1:3.2.0-0.14.git866f965
+- include systemd file for nox
+
 * Sat Apr 25 2015 Leigh Scott <leigh123linux at googlemail.com> - 1:3.2.0-0.13.git866f965
 - update to the latest git (pre beta)
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/qbittorrent.git/commit/?h=f22&id=cb14ff7e51cf5e94d5bae21d1ea190c926cebd65


More information about the scm-commits mailing list