Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:Apps
apostrophe
apostrophe.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apostrophe.spec of Package apostrophe
# # spec file for package apostrophe # # Copyright (c) 2021 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/ # Name: apostrophe Version: 3.0 Release: 0 Summary: A distraction free Markdown editor for GNU/Linux made with GTK+ License: GPL-3.0-only Group: Productivity/Text/Editors URL: https://gitlab.gnome.org/World/apostrophe Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE apostrophe-disbale-reveal.js-check.patch can not use reveal.js Patch0: apostrophe-disbale-reveal.js-check.patch BuildRequires: appstream-glib BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: meson BuildRequires: pkgconfig BuildRequires: sassc BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) Requires: python3-pypandoc Requires: python3-chardet Provides: uberwriter = %{version}-%{release} Obsoletes: uberwriter < %{version}-%{release} BuildArch: noarch %description Apostrophe is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface. %lang_package %prep %autosetup -n %{name}-v%{version} -p1 sed -i -e '1d;2i#!%{_bindir}/python3' apostrophe.in # W: hidden-file-or-dir rm apostrophe/.pylintrc # E: non-executable-script for lib in %{name}/plugins/bibtex/{bibtexparser,fuzzywuzzy}/*.py; do sed '1{\@^#!%{_bindir}/env python@d}' $lib > $lib.new && touch -r $lib $lib.new && mv $lib.new $lib done # W: script-without-shebang find apostrophe/text_view_scroller.py -type f -perm /111 -exec chmod 644 {} \; %build %meson %meson_build %install %meson_install %find_lang %{name} %fdupes %{buildroot}%{_prefix} %python3_fix_shebang %check %meson_test %files %license LICENSE AUTHORS %doc README.md %{_bindir}/%{name} %{python3_sitelib}/* %{_datadir}/applications/org.gnome.gitlab.somas.Apostrophe.desktop %{_datadir}/glib-2.0/schemas/org.gnome.gitlab.somas.Apostrophe.gschema.xml %{_datadir}/metainfo/org.gnome.gitlab.somas.Apostrophe.metainfo.xml %{_datadir}/icons/hicolor/*/apps/*.svg %{_datadir}/%{name} %files lang -f %{name}.lang %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