Created
September 29, 2018 14:39
-
-
Save r0kk3rz/8566d1ae16c0a3b984b9dc7140f655d1 to your computer and use it in GitHub Desktop.
lipstick for sailfish sdk
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
%{!?qtc_qmake:%define qtc_qmake %qmake} | |
%{!?qtc_qmake5:%define qtc_qmake5 %qmake5} | |
%{!?qtc_make:%define qtc_make make} | |
%{?qtc_builddir:%define _builddir %qtc_builddir} | |
Name: lipstick-glacier-home-qt5 | |
Summary: A nice homescreen for Glacier experience | |
Version: 0.27 | |
Release: 2 | |
Group: System/GUI/Other | |
License: BSD | |
URL: https://github.com/locusf/glacier-home | |
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.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 | |
Requires: mpris-qt5-qml-plugin | |
Requires: glacier-settings | |
Requires: glacier-gallery-qmlplugin | |
BuildRequires: pkgconfig(Qt5Core) | |
BuildRequires: pkgconfig(Qt5Quick) | |
BuildRequires: pkgconfig(lipstick-qt5) >= 0.12.0 | |
BuildRequires: pkgconfig(Qt5Compositor) | |
BuildRequires: pkgconfig(nemodevicelock) | |
Provides: lipstick-colorful-home-qt5 | |
Conflicts: lipstick-example-home | |
%description | |
A homescreen for Nemo Mobile | |
%prep | |
%setup -q -n %{name}-%{version} | |
%build | |
%qtc_qmake5 | |
%qtc_make %{?_smp_mflags} | |
%install | |
rm -rf %{buildroot} | |
%qmake5_install | |
mkdir -p %{buildroot}%{_libdir}/systemd/user/ | |
cp -a %{SOURCE2} %{buildroot}%{_libdir}/systemd/user/ | |
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 | |
%files | |
%defattr(-,root,root,-) | |
%{_bindir}/lipstick | |
%{_libdir}/systemd/user/lipstick.service | |
%config /etc/xdg/autostart/*.desktop | |
%{_libdir}/systemd/user/user-session.target.wants/lipstick.service | |
%{_datadir}/lipstick-glacier-home-qt5/nemovars.conf | |
%{_datadir}/lipstick-glacier-home-qt5/qml | |
%{_datadir}/glacier-settings/ | |
%post | |
systemctl-user --no-block restart lipstick.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment