Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
GNOME:Apps
uberwriter
uberwriter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uberwriter.spec of Package uberwriter
# # spec file for package uberwriter # # Copyright (c) 2019-2023 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: uberwriter Version: 2.2.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://uberwriter.github.io/uberwriter Source0: %{name}-%{version}.tar.xz #PATCH-FIX-UPSTREAM uberwriter-meson-data-fixes.patch (gh#uberwriter/uberwriter#1) malcolmlewis@opensuse.org -- i18n desktop and appdata meson build fixes. Patch0: uberwriter-meson-data-fixes.patch BuildRequires: hicolor-icon-theme BuildRequires: meson BuildRequires: python3-setuptools BuildRequires: update-desktop-files BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(webkit2gtk-4.0) Requires: python3-Levenshtein Requires: python3-gobject Requires: python3-pycairo Requires: python3-pyenchant Requires: python3-pypandoc Requires: python3-regex BuildArch: noarch %description Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface. %lang_package %prep %autosetup -p1 # # Fix Python shebang issues # sed -i -r 's,(/usr/bin/)env (python3),\1\2,' uberwriter.in find uberwriter/plugins/bibtex -type f -name '*.py' -exec \ sed -i '/#!\/usr\/bin\/env python/d' '{}' \; # # Remove forgotten pylintrc # if [ -f uberwriter/.pylintrc ]; then rm -v uberwriter/.pylintrc else echo 'The uberwriter/.pylintrc file is gone. Adjust the spec file.' fi %build %meson %meson_build %install %meson_install %suse_update_desktop_file -r de.wolfvollprecht.UberWriter GTK GNOME Utility TextEditor %find_lang %{name} %{?no_lang_C} %files %license LICENSE %doc AUTHORS README.md %attr(0755,-,-) %{_bindir}/%{name} %{python3_sitelib}/* %{_datadir}/applications/de.wolfvollprecht.UberWriter.desktop %{_datadir}/glib-2.0/schemas/ %{_datadir}/metainfo/ %{_datadir}/icons/hicolor/*/apps/de.wolfvollprecht.UberWriter*.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