This commit is contained in:
QwQ 2022-11-09 08:21:35 +00:00
parent e1c6da5e97
commit 141138e603
3 changed files with 28 additions and 23 deletions

Binary file not shown.

BIN
yelp-xsl-42.1.tar.xz Normal file

Binary file not shown.

View File

@ -1,29 +1,35 @@
Name: yelp-xsl
Version: 42.0
Release: 1
Summary: XSL stylesheets for the yelp help browser
License: LGPLv2+ and GPLv2+
URL: https://wiki.gnome.org/Apps/Yelp
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
BuildArch: noarch
%global tarball_version %%(echo %{version} | tr '~' '.')
BuildRequires: gcc python3-libxml2 itstool make
BuildRequires: libxml2 libxslt python3-mallard-ducktype
Name: yelp-xsl
Version: 42.1
Release: 1
Summary: XSL stylesheets for the yelp help browser
License: LGPLv2+ and GPLv2+
URL: https://wiki.gnome.org/Apps/Yelp
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{tarball_version}.tar.xz
BuildArch: noarch
BuildRequires: gcc
BuildRequires: itstool
BuildRequires: make
BuildRequires: python3-libxml2
BuildRequires: /usr/bin/ducktype
BuildRequires: /usr/bin/xmllint
BuildRequires: /usr/bin/xsltproc
%description
This package contains XSL stylesheets that are used by the yelp help browser.
%package devel
Summary: Header files, libraries and developer documentatio for %{name}
Requires: %{name} = %{version}-%{release}
%package devel
Summary: Developer documentation for yelp-xsl
Requires: %{name} = %{version}-%{release}
%description devel
The package contains developer documentation for the XSL stylesheets in %{name}.
%package_help
%description devel
The yelp-xsl-devel package contains developer documentation for the
XSL stylesheets in yelp-xsl.
%prep
%autosetup -n %{name}-%{version}
%autosetup -p1 -n %{name}-%{tarball_version}
%build
%configure --enable-doc
@ -33,18 +39,17 @@ The package contains developer documentation for the XSL stylesheets in %{name}.
%make_install
%files
%doc AUTHORS README.md
%license COPYING COPYING.GPL COPYING.LGPL
%doc README AUTHORS
%{_datadir}/yelp-xsl
%files devel
%{_datadir}/pkgconfig/yelp-xsl.pc
%files help
%defattr(-,root,root)
%doc NEWS
%changelog
* Wed Nov 9 2022 hkgy <kaguyahatu@outlook.com> - 42.1-1
- Upgrade to v42.1
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 42.0-1
- Update to 42.0