forked from pool/libvisio
This commit is contained in:
parent
98fe841c8e
commit
0c674c8a22
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 30 09:15:48 UTC 2015 - fstrba@suse.com
|
||||
|
||||
- Generate manpages for the tools in libvisio-tool package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 29 20:06:55 UTC 2015 - fstrba@suse.com
|
||||
|
||||
|
@ -31,6 +31,7 @@ BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gperf
|
||||
BuildRequires: help2man
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: librevenge-devel >= 0.0.0
|
||||
BuildRequires: libxml2-devel
|
||||
@ -88,13 +89,19 @@ export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||
--disable-werror \
|
||||
--disable-static \
|
||||
--docdir=%{_docdir}/%{name}-devel/html
|
||||
make %{?_smp_mflags} V=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
for i in %{buildroot}%{_bindir}/*; do
|
||||
LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
||||
help2man -N -o %{buildroot}%{_mandir}/man1/$(basename $i).1 $i
|
||||
done
|
||||
|
||||
cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
|
||||
|
||||
%fdupes -s %{buildroot}
|
||||
@ -127,5 +134,6 @@ make check %{?_smp_mflags}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING.* ChangeLog
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user