Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[connectionagent] add qmake5_install to sepc. bump version
- Loading branch information
Lorn Potter
committed
May 22, 2013
1 parent
002d4fc
commit a5c262d
Showing
4 changed files
with
143 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# | ||
# 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
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/*" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters