Commit b2030497 authored by Aleksi Suomalainen's avatar Aleksi Suomalainen Committed by GitHub

Merge pull request #59 from neochapay/master

Update version & requires
parents ddf4bea6 0b729da0
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.27
#
Name: lipstick-glacier-home-qt5
# >> macros
# << macros
Summary: A nice homescreen for Glacier experience
Version: 0.26.1
Version: 0.27
Release: 2
Group: System/GUI/Other
License: BSD
......@@ -18,22 +9,26 @@ Source0: %{name}-%{version}.tar.bz2
Source1: lipstick.desktop
Source2: lipstick.service
Source100: lipstick-glacier-home-qt5.yaml
Requires: lipstick-qt5 >= 0.17.0
Requires: nemo-qml-plugin-configuration-qt5
Requires: nemo-qml-plugin-time-qt5
Requires: qt5-qtdeclarative-import-window2
Requires: qt5-qtquickcontrols >= 5.2.0
Requires: qt5-qtquickcontrols >= 5.3.1
Requires: qt5-qtquickcontrols-nemo >= 5.1.1
Requires: nemo-qml-plugin-contextkit-qt5
Requires: connman-qt5
Requires: libqofono-qt5-declarative
Requires: nemo-theme-glacier
Requires: google-opensans-fonts
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(lipstick-qt5) >= 0.12.0
BuildRequires: pkgconfig(Qt5Compositor)
Provides: lipstick-colorful-home-qt5
Conflicts: lipstick-example-home
%description
......@@ -42,34 +37,21 @@ A homescreen for Nemo Mobile
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
%qmake5
%qmake5
make %{?_smp_mflags}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%qmake5_install
mkdir -p %{buildroot}%{_libdir}/systemd/user/
cp -a %{SOURCE2} %{buildroot}%{_libdir}/systemd/user/
# >> install post
install -D -m 644 %{SOURCE1} %{buildroot}/etc/xdg/autostart/lipstick.desktop
mkdir -p %{buildroot}%{_libdir}/systemd/user/user-session.target.wants/
ln -s ../lipstick.service %{buildroot}%{_libdir}/systemd/user/user-session.target.wants/lipstick.service
# << install post
%files
%defattr(-,root,root,-)
......@@ -79,8 +61,6 @@ ln -s ../lipstick.service %{buildroot}%{_libdir}/systemd/user/user-session.targe
%{_libdir}/systemd/user/user-session.target.wants/lipstick.service
%{_datadir}/lipstick-glacier-home-qt5/nemovars.conf
%{_datadir}/lipstick-glacier-home-qt5/qml
# >> files
# << files
%post
systemctl-user --no-block restart lipstick.service
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