OBS-URL: https://build.opensuse.org/request/show/420510 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/geekodoc?expand=0&rev=1
78 lines
2.1 KiB
RPMSpec
78 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package geekodoc
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: geekodoc
|
|
Version: 0.9.5
|
|
Release: 0
|
|
Summary: No idea
|
|
License: GPL-3.0
|
|
Group: Productivity/Publishing/DocBook
|
|
Url: https://github.com/openSUSE/geekodoc/archive/v%{version}.tar.gz
|
|
Source: v%{version}.tar.gz
|
|
BuildRequires: make
|
|
BuildRequires: python3-rnginline
|
|
BuildRequires: docbook_5
|
|
Requires: sgml-skel >= 0.7
|
|
Requires(post): sgml-skel >= 0.7
|
|
Requires(postun): sgml-skel >= 0.7
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
I don't know what to put here
|
|
|
|
%package -n novdoc-schema
|
|
Summary: Schema for NovDoc
|
|
Group: Productivity/Publishing/DocBook
|
|
|
|
%description -n novdoc-schema
|
|
I don't know what to put here either
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make %{?_smp_mflags} VERBOSE=1 -C geekodoc/rng
|
|
|
|
%install
|
|
install -d %{buildroot}%{_datadir}/xml %{buildroot}%{_sysconfdir}/xml/catalog.d
|
|
cp -R geekodoc novdoc %{buildroot}%{_datadir}/xml/
|
|
cp catalog.d/* %{buildroot}%{_sysconfdir}/xml/catalog.d/
|
|
|
|
# Fixup catalog paths
|
|
sed -i'' 's#"../#"%{_datadir}/xml/#' %{buildroot}%{_sysconfdir}/xml/catalog.d/*
|
|
|
|
%post
|
|
update-xml-catalog
|
|
|
|
%postun
|
|
update-xml-catalog
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%config %{_sysconfdir}/xml/catalog.d/geekodoc.xml
|
|
%{_datadir}/xml/geekodoc
|
|
%{_datadir}/xml/geekodoc/*
|
|
|
|
%files -n novdoc-schema
|
|
%defattr(-, root, root)
|
|
%config %{_sysconfdir}/xml/catalog.d/novdoc.xml
|
|
%{_datadir}/xml/novdoc
|
|
%{_datadir}/xml/novdoc/*
|
|
|
|
%changelog
|