Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
ringingrestorer_sailfish
> _service:tar_git:harbour-ringingrestorer.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:harbour-ringingrestorer.spec of Package ringingrestorer_sailfish
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.27 # Name: harbour-ringingrestorer # >> macros # << macros %{!?qtc_qmake:%define qtc_qmake %qmake} %{!?qtc_qmake5:%define qtc_qmake5 %qmake5} %{!?qtc_make:%define qtc_make make} %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: RingingRestorer Version: 1.7 Release: 1 Group: Qt/Qt License: GPLv3 URL: https://github.com/ajalkane/ringingrestorer_sailfish Source0: %{name}-%{version}.tar.bz2 Source100: harbour-ringingrestorer.service Requires: sailfishsilica-qt5 >= 0.10.9 BuildRequires: pkgconfig(sailfishapp) >= 1.0.2 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(dsme) BuildRequires: pkgconfig(mce) >= 1.12.3 BuildRequires: desktop-file-utils BuildRequires: qt5-qttools-linguist %description When changing to silent profile, RingingRestorer will display a dialog where you can quickly set when to restore ringing again. %if "%{?vendor}" == "chum" PackageName: ringingrestorer Type: desktop-application Categories: - Utility DeveloperName: ajalkane PackagerName: Mark Washeim (poetaster) Custom: - Repo: https://github.com/poetaster/ringingrestorer_sailfish %endif %prep %setup -q -n %{name}-%{version} # >> setup # << setup %build # >> build pre # << build pre %qtc_qmake5 %qtc_make %{?_smp_mflags} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre install -Dm 644 %{SOURCE100} \ %{buildroot}%{_userunitdir}/%{name}.service # << install pre %qmake5_install # >> install post # << install post desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/*.desktop %pre # >> pre if [ $1 -gt 1 ]; then systemctl-user stop %{name} ||: systemctl-user disable %{name} ||: fi # << pre %post # >> post systemctl-user daemon-reload ||: systemctl-user enable %{name} ||: systemctl-user restart %{name} ||: # << post %preun # >> preun if [ $1 -lt 1 ]; then systemctl-user stop %{name} ||: systemctl-user disable %{name} ||: systemctl-user daemon-reload ||: fi # << preun %postun # >> postun # << postun %files %defattr(-,root,root,-) %{_bindir} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/86x86/apps/%{name}.png %{_userunitdir}/%{name}.service # >> files # << files