Accepting request 419356 from Publishing
- Drop -doc subpackage as building it is getting more and more difficult OBS-URL: https://build.opensuse.org/request/show/419356 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bibtool?expand=0&rev=3
This commit is contained in:
commit
62a72d06c6
@ -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
|
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
|
Source1: http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Patch1: bibtool-use-system-regex.patch
|
Patch1: bibtool-use-system-regex.patch
|
||||||
BuildRequires: automake
|
Provides: %{name}-doc = %{version}
|
||||||
BuildRequires: texlive-amsfonts
|
Obsoletes: %{name}-doc < %{version}
|
||||||
BuildRequires: texlive-bibtex
|
|
||||||
BuildRequires: texlive-devel
|
|
||||||
BuildRequires: texlive-latex
|
|
||||||
BuildRequires: texlive-lm
|
|
||||||
BuildRequires: texlive-makeindex
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%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
|
integrate citations into LaTeX documents. BibTool allows the manipulation of
|
||||||
BibTeX files which goes beyond the possibilities - and intentions - of BibTeX.
|
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
|
%prep
|
||||||
%setup -q -n BibTool
|
%setup -q -n BibTool
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags} all doc
|
make %{?_smp_mflags} all
|
||||||
# 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
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make INSTALLPREFIX=%{buildroot} install install-man
|
make INSTALLPREFIX=%{buildroot} install install-man
|
||||||
@ -77,8 +55,4 @@ make INSTALLPREFIX=%{buildroot} install install-man
|
|||||||
%{_bindir}/bibtool
|
%{_bindir}/bibtool
|
||||||
%{_libdir}/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
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user