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