Commit a5c262d0 authored by Lorn Potter's avatar Lorn Potter

[connectionagent] add qmake5_install to sepc. bump version

parent 002d4fc2
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.26
#
Name: connectionagent-qt5
# >> macros
# << macros
Summary: User Agent daemon
Version: 0.6.4
Release: 0
Group: Communications/Connectivity Adaptation
License: LGPLv2
URL: http://github.com/lpotter/connectionagent
Source0: %{name}-%{version}.tar.bz2
Source100: connectionagent-qt5.yaml
Requires: connman-qt5-declarative
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(connman-qt5)
BuildRequires: pkgconfig(lipstick-qt5)
%description
Connection Agent provides multi user access to connman's User Agent.
It also provides autoconnecting features.
%package declarative
Summary: Declarative plugin for connection agent.
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}
%description declarative
This package contains the declarative plugin for connection agent.
%package test
Summary: Declarative test for connection agent.
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}
%description test
This package contains the declarative plugin for connection agent.
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
export QT_SELECT=5
%qmake5
make %{?jobs:-j%jobs}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
export QT_SELECT=5
%qmake5_install
# >> install post
# << install post
%files
%defattr(-,root,root,-)
%{_bindir}/connectionagent
%{_datadir}/dbus-1/services/com.jolla.Connectiond.service
%{_libdir}/systemd/user/connectionagent.service
# >> files
# << files
%files declarative
%defattr(-,root,root,-)
%{_libdir}/qt5/imports/com/jolla/connection/*
# >> files declarative
# << files declarative
Name: connectionagent-qt5
Summary: User Agent daemon
Version: 0.6.5
Release: 0
Group: "Communications/Connectivity Adaptation"
License: LGPLv2
URL: http://github.com/lpotter/connectionagent
Description: |
Connection Agent provides multi user access to connman's User Agent.
It also provides autoconnecting features.
Sources:
- "%{name}-%{version}.tar.bz2"
Requires:
- connman-qt5-declarative
PkgConfigBR:
- Qt5Core
- Qt5DBus
- connman-qt5
- lipstick-qt5
Configure: none
Builder: qmake5
Files:
- "%{_bindir}/connectionagent"
- "%{_datadir}/dbus-1/services/com.jolla.Connectiond.service"
- "%{_libdir}/systemd/user/connectionagent.service"
SubPackages:
- Name: declarative
Summary: Declarative plugin for connection agent.
Group: Development/Tools
Description: This package contains the declarative plugin for connection agent.
Requires:
- "%{name} = %{version}"
Files:
- "%{_libdir}/qt5/imports/com/jolla/connection/*"
- Name: test
Summary: Declarative test for connection agent.
Group: Development/Tools
Description: This package contains the declarative plugin for connection agent.
Requires:
- "%{name} = %{version}"
Files:
- "/opt/sdk/bin/testqml"
- "/opt/sdk/share/applications/testqml.desktop"
- "/opt/sdk/share/testqml/*"
......@@ -9,7 +9,7 @@ Name: connectionagent
# << macros
Summary: User Agent daemon
Version: 0.4
Version: 0.6.5
Release: 0
Group: Communications/Connectivity Adaptation
License: LGPLv2
......
Name: connectionagent
Summary: User Agent daemon
Version: 0.4
Version: 0.6.5
Release: 0
Group: "Communications/Connectivity Adaptation"
License: LGPLv2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment