- Drop -doc subpackage as building it is getting more and more
difficult OBS-URL: https://build.opensuse.org/package/show/Publishing/bibtool?expand=0&rev=13
This commit is contained in:
parent
c2730c9c50
commit
f8fc4f7e2d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 15 07:47:01 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Drop -doc subpackage as building it is getting more and more
|
||||
difficult
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 7 13:56:50 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
|
32
bibtool.spec
32
bibtool.spec
@ -28,13 +28,8 @@ Source0: http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-%{ver
|
||||
Source1: http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
Patch1: bibtool-use-system-regex.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: texlive-amsfonts
|
||||
BuildRequires: texlive-bibtex
|
||||
BuildRequires: texlive-devel
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive-lm
|
||||
BuildRequires: texlive-makeindex
|
||||
Provides: %{name}-doc = %{version}
|
||||
Obsoletes: %{name}-doc < %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -42,30 +37,13 @@ BibTool is a tool for manipulating BibTeX databases. BibTeX provides a means to
|
||||
integrate citations into LaTeX documents. BibTool allows the manipulation of
|
||||
BibTeX files which goes beyond the possibilities - and intentions - of BibTeX.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for bibtool
|
||||
Group: Documentation/Other
|
||||
Requires: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
This package contains the documentation for bibtool.
|
||||
|
||||
%prep
|
||||
%setup -q -n BibTool
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags} all doc
|
||||
# avoid failure due to warning: LaTeX Font Warning: Some font shapes were
|
||||
# not available, defaults substituted.
|
||||
pdflatex -interaction=nonstopmode Changes.tex ||:
|
||||
mkdir examples
|
||||
sed 's|#!%{_prefix}/local/bin/tclsh|#!%{_bindir}/tclsh|' Tcl/bibtool.tcl \
|
||||
>examples/bibtool.tcl
|
||||
sed 's|#!%{_prefix}/local/bin/perl|#!%{_bindir}/perl|' Perl/bibtool.pl \
|
||||
>examples/bibtool.pl
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
%install
|
||||
make INSTALLPREFIX=%{buildroot} install install-man
|
||||
@ -77,8 +55,4 @@ make INSTALLPREFIX=%{buildroot} install install-man
|
||||
%{_bindir}/bibtool
|
||||
%{_libdir}/BibTool
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING doc/bibtool.pdf doc/ref_card.pdf doc/c_lib.pdf Changes.pdf examples
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user