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