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
|
Tue Dec 29 20:06:55 UTC 2015 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ BuildRequires: doxygen
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gperf
|
BuildRequires: gperf
|
||||||
|
BuildRequires: help2man
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: librevenge-devel >= 0.0.0
|
BuildRequires: librevenge-devel >= 0.0.0
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
@ -88,13 +89,19 @@ export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
|||||||
--disable-werror \
|
--disable-werror \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--docdir=%{_docdir}/%{name}-devel/html
|
--docdir=%{_docdir}/%{name}-devel/html
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
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/
|
cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
|
||||||
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
@ -127,5 +134,6 @@ make check %{?_smp_mflags}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING.* ChangeLog
|
%doc AUTHORS COPYING.* ChangeLog
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user