File nextcloud-apps-notes.spec of Package nextcloud-apps-notes

#
# spec file for package nextcloud-apps-notes
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


%define app_name notes
Name:           nextcloud-apps-%{app_name}
Version:        4.12.3
Release:        0
#
Summary:        Nextcloud Apps - notes
License:        AGPL-3.0-only
Group:          Productivity/Networking/Web/Utilities
URL:            https://apps.nextcloud.com/apps/notes
Source0:        https://github.com/nextcloud/notes/releases/download/v%{version}/notes-v%{version}.tar.gz
BuildRequires:  nextcloud > 19
BuildRequires:  nextcloud-packaging >= 16
%requires_ge nextcloud
BuildArch:      noarch

Obsoletes: nextcloud-apps-files_markdown < %{version}
Provides: nextcloud-apps-files_markdown = %{version}

%description
The Notes app is a distraction free notes taking app for Nextcloud. It provides categories for better organization and supports formatting using Markdown syntax. Notes are saved as files in your Nextcloud, so you can view and edit them with every Nextcloud client. Furthermore, a separate REST API allows for an easy integration into third-party apps (currently, there are notes apps for Android, iOS and the console which allow convenient access to your Nextcloud notes). Further features include marking notes as favorites.

%prep
%setup -n %{app_name}

%build

%{nextcloud_apps_package %{app_name}}

%changelog

openSUSE Build Service is sponsored by