| |
@@ -8,10 +8,12 @@
|
| |
URL: http://www.hyperrealm.com/libconfig/
|
| |
Source0: https://hyperrealm.github.io/%name/dist/%name-%version.tar.gz
|
| |
# Generated from libconfig 1.7.2 on Fedora 28 x86_64 (2018-07-18)
|
| |
- Source1: libconfig.pdf
|
| |
+ Source1: libconfig-%version.pdf
|
| |
+ # Helper script to generate Source1 (locally)
|
| |
+ Source2: generate-pdf.sh
|
| |
|
| |
BuildRequires: gcc, gcc-c++
|
| |
- BuildRequires: texinfo-tex, tex(ecbx1095.tfm), tex(ecrm1095.tfm), tex(cm-super-t1.enc)
|
| |
+ BuildRequires: texinfo
|
| |
BuildRequires: bison, flex
|
| |
|
| |
%description
|
| |
@@ -42,15 +44,12 @@
|
| |
--disable-static
|
| |
|
| |
make %{?_smp_mflags}
|
| |
- make pdf
|
| |
|
| |
|
| |
%install
|
| |
%make_install
|
| |
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
| |
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
| |
- # Need to use a pre-built copy to support multilib
|
| |
- rm -rf doc/libconfig.pdf
|
| |
install -p %{SOURCE1} doc/
|
| |
|
| |
|
| |
That only creates additional build requirements, wastes some time
and the final PDF is not used anyways.