]> git.pld-linux.org Git - packages/telepathy-sunshine.git/commitdiff
- updated URLs master
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 2 Mar 2021 19:46:27 +0000 (20:46 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 2 Mar 2021 19:46:27 +0000 (20:46 +0100)
- fixed Group
- adjust shebang
- honour _libexecdir, noarch if _libexecdir is not arch-dependent

telepathy-sunshine.spec

index 4f88f74c634232cdc0067c7a393d6a56d345ad4f..eb5c1ee1d239d66ee303e400bf1c92e30adeb108 100644 (file)
@@ -4,15 +4,16 @@ Name:         telepathy-sunshine
 Version:       0.2.0
 Release:       1
 License:       GPL v2+
-Group:         Libraries
-Source0:       http://telepathy.freedesktop.org/releases/telepathy-sunshine/%{name}-%{version}.tar.gz
+Group:         Applications/Communication
+Source0:       https://telepathy.freedesktop.org/releases/telepathy-sunshine/%{name}-%{version}.tar.gz
 # Source0-md5: 2615bb78170c4310029a2ea3cef71816
-URL:           http://telepathy.freedesktop.org/wiki/
+URL:           https://telepathy.freedesktop.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.8
 BuildRequires: python >= 1:2.6
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: sed >= 4.0
 %pyrequires_eq python
 Requires:      python-TwistedCore
 Requires:      python-TwistedWeb >= 9.0.0
@@ -20,6 +21,7 @@ Requires:     python-dbus
 Requires:      python-oauth
 Requires:      python-pygobject
 Requires:      python-telepathy >= 0.15.17
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,6 +33,8 @@ Ten pakiet udostępnia funkcjonalność Gadu-Gadu dla Telepathy.
 %prep
 %setup -q
 
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' telepathy-sunshine
+
 %build
 %{__aclocal}
 %{__autoconf}
@@ -52,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog
-%attr(755,root,root) %{_libdir}/telepathy-sunshine
+%attr(755,root,root) %{_libexecdir}/telepathy-sunshine
 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sunshine.service
 %{_datadir}/telepathy/managers/sunshine.manager
 %{py_sitescriptdir}/sunshine
This page took 0.077967 seconds and 4 git commands to generate.