123 Star 0 Fork 5

src-openEuler/docbook-style-dsssl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docbook-style-dsssl.spec 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
xu_ping 提交于 2024-09-06 15:57 . License compliance rectification.
Name: docbook-style-dsssl
Summary: Norman Walsh's modular stylesheets for DocBook
Version: 1.79
Release: 29
License: LicenseRef-scancode-docbook and LicenseRef-scancode-iso-8879
URL: http://docbook.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/docbook/docbook-dsssl-%{version}.tar.bz2
Source1: %{name}.Makefile
BuildRequires: perl-generators
Requires: docbook-dtds openjade sgml-common
Requires(post): sgml-common
Requires(preun): sgml-common
BuildArch: noarch
%description
These DSSSL stylesheets allow to convert any DocBook document to another
printed (for example, RTF or PostScript) or online (for example, HTML) format.
They are highly customizable.
%package_help
%prep
%autosetup -p1 -n docbook-dsssl-%{version}
ln -sf %{SOURCE1} Makefile
%build
%install
make install BINDIR=%{buildroot}%{_bindir} DESTDIR=%{buildroot}%{_datadir}/sgml/docbook/dsssl-stylesheets-%{version} MANDIR=%{buildroot}%{_mandir}
ln -sf ../dsssl-stylesheets-%{version} %{buildroot}%{_datadir}/sgml/docbook/dsssl-stylesheets
%post
for i in %{_sysconfdir}/sgml/*-docbook-*.cat
do
%{_bindir}/install-catalog --add $i %{_datadir}/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null
done
%preun
if [ "$1" = "0" ]; then
for i in %{_sysconfdir}/sgml/*-docbook-*.cat
do
%{_bindir}/install-catalog --remove $i %{_datadir}/sgml/docbook/dsssl-stylesheets-%{version}/catalog > /dev/null 2>/dev/null
done
fi
exit 0
%files
%{_bindir}/collateindex.pl
%{_datadir}/sgml/docbook/dsssl-stylesheets*
%files help
%doc BUGS README ChangeLog WhatsNew
%{_mandir}/man1/collateindex.pl.1*
%changelog
* Fri Sep 06 2024 xu_ping<707078654@qq.com> - 1.79-29
- License compliance rectification.
* Thu Sep 10 2020 baizhonggui<baizhonggui@huawei.com> - 1.79-28
- Replace tar.gz to tar.bz2
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> - 1.79-27
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/docbook-style-dsssl.git
git@gitee.com:src-openeuler/docbook-style-dsssl.git
src-openeuler
docbook-style-dsssl
docbook-style-dsssl
master

搜索帮助