Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jaimeMF
qtaskwarrior
qtaskwarrior.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qtaskwarrior.spec of Package qtaskwarrior
# # spec file for package qtaskwarrior # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: qtaskwarrior Version: 0 Release: 0%{?dist} Summary: Qt interface for taskwarrior License: SUSE-Public-Domain Group: Productivity/Office/Organizers Url: https://qtaskwarrior.sourceforge.io/ Source: %{name}-%{version}.tar.xz BuildRequires: cmake >= 3.5 BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5Plasma) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Qml) BuildRequires: extra-cmake-modules BuildRequires: desktop-file-utils BuildRequires: fdupes %if 0%{?suse_version} BuildRequires: update-desktop-files %else BuildRequires: kf5-rpm-macros %endif Requires: taskwarrior > 2.0 Recommends: %{name}-lang = %{version} Recommends: %{name}-plasma = %{version} %define app_id io.sourceforge.%{name} %define plasmoid_id %{app_id}.plasmoid %{!?_kf5_sharedir: %define _kf5_sharedir %{_datadir}} %{!?_kf5_iconsdir: %define _kf5_iconsdir %{_kf5_sharedir}/icons} %{!?_kf5_appstreamdir: %define _kf5_appstreamdir %{_kf5_sharedir}/metainfo} %{!?_kf5_plasmadir: %define _kf5_plasmadir %{_kf5_sharedir}/plasma} %{!?_kf5_servicesdir: %define _kf5_servicesdir %{_kf5_sharedir}/kservices5} %if 0%{?suse_version} %lang_package %else %package lang Summary: Translation data for %{name} Requires: %{name} = %{version}-%{release} Supplements: %{name} = %{version}-%{release} %description lang Translation data for %{name} %endif %description Graphical interface for the taskwarrior program using the Qt framework. %package plasma Summary: Plasma componentes for qtaskwarrior Requires: plasma-framework-components %description plasma Plasmoid for qtaskwarrior %prep %setup -q %build %cmake -DQTASKWARRIOR_VERSION=%{version} %if %{defined cmake_build} %cmake_build %else make %{?_smp_mflags} %endif %install %cmake_install %find_lang %name --with-qt --all-name --without-mo %{?suse_version: --without-kde } %if 0%{?suse_version} %suse_update_desktop_file %{app_id} %else desktop-file-install %{buildroot}/%{_datadir}/applications/%{app_id}.desktop %endif %fdupes %{buildroot}/%{_datadir} %files %{_bindir}/%{name} %{_libdir}/lib%{name}.so %license LICENSES %{_datadir}/%{name} %exclude %{_datadir}/%{name}/translations/ %{_datadir}/applications/%{app_id}.desktop %{_kf5_iconsdir}/ %{_kf5_appstreamdir}/%{app_id}.appdata.xml %files lang -f %{name}.lang %defattr(-,root,root) %dir %{_datadir}/%{name}/translations %files plasma %{_kf5_appstreamdir}/%{plasmoid_id}.appdata.xml %dir %{_kf5_plasmadir}/plasmoids %dir %{_kf5_plasmadir}/plasmoids/%{plasmoid_id} %{_kf5_plasmadir}/plasmoids/%{plasmoid_id} %dir %{_kf5_qmldir}/io %dir %{_kf5_qmldir}/io/sourceforge %dir %{_kf5_qmldir}/io/sourceforge/qtaskwarrior %{_kf5_qmldir}/io/sourceforge/qtaskwarrior %{_kf5_servicesdir}/plasma-applet-%{plasmoid_id}.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor