File manpageeditor.spec of Package manpageeditor

# spec file for package manpageeditor
# Copyright (c) 2016 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

%define oname ManPageEditor

Name:           manpageeditor
Version:        0.1.1
Release:        0
Summary:        A simple manual pages editor
License:        GPL-3.0
Group:          Development/Tools/Other
# PATCH-FIX-OPENSUSE vs. various errors & warnings about desktop files.
Patch1:         manpageeditor-desktop-warnings.diff

BuildRequires:  aspell-devel
BuildRequires:  ctags
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  groff
BuildRequires:  pkgconfig >= 0.9.0
BuildRequires:  xdg-utils
BuildRequires:  pkgconfig(gtk+-2.0) >= 2.24.0
BuildRequires:  pkgconfig(gtksourceview-2.0)
Requires(post): hicolor-icon-theme
Requires(post): update-desktop-files
Requires(postun): hicolor-icon-theme
Requires(postun): update-desktop-files

Create, edit, import, preview man-pages.

%setup -q -n %{oname}-%{version}

%configure \


# Let's use %%doc macro.
rm %{buildroot}%{_datadir}/%{oname}/docs/gpl-3.0.txt

%fdupes -s %{buildroot}



%doc BUGS-ETC ChangeLog README ManPageEditor/resources/docs/gpl-3.0.txt

openSUSE Build Service is sponsored by