SHA256
1
0
forked from pool/libvisio

Accepting request 351293 from LibreOffice:Factory

Add manpages and remove some rpmlint warnings

OBS-URL: https://build.opensuse.org/request/show/351293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvisio?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2016-01-04 08:21:11 +00:00 committed by Git OBS Bridge
commit c48bcebde1
4 changed files with 28 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c1b1b34382aaeb6dad8077d0bfb153cad7de6229ce59c99e6523a88ffd01038
size 502940

3
libvisio-0.1.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:430a067903660bb1b97daf4b045e408a1bb75ca45e615cf05fb1a4da65fc5a8c
size 504196

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
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
- Version bump to 0.1.5
* Rewrite text output to avoid empty spans and to make the
function a bit more readable for common mortal (wo)man.
* Initial emulation of line rounding property (tdf#90603).
* Make --help output of all command line tools more
help2man-friendly.
-------------------------------------------------------------------
Thu Dec 24 09:30:28 UTC 2015 - fstrba@suse.com

View File

@ -18,7 +18,7 @@
%define libname libvisio-0_1-1
Name: libvisio
Version: 0.1.4
Version: 0.1.5
Release: 0
Summary: Library for parsing the MS Visio file format structure
License: MPL-2.0
@ -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