Accepting request 215146 from LibreOffice:Factory
- Cleanup with spec-cleaner and noarch the documentation. OBS-URL: https://build.opensuse.org/request/show/215146 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvisio?expand=0&rev=17
This commit is contained in:
commit
97aa471fcf
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 25 20:55:30 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner and noarch the documentation.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 18 14:14:24 UTC 2014 - crrodriguez@opensuse.org
|
Sat Jan 18 14:14:24 UTC 2014 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libvisio
|
# spec file for package libvisio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%define libname libvisio-0_0-0
|
%define libname libvisio-0_0-0
|
||||||
|
|
||||||
Name: libvisio
|
Name: libvisio
|
||||||
Version: 0.0.30
|
Version: 0.0.30
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -70,6 +69,9 @@ This package contains the libvisio development files.
|
|||||||
%package devel-doc
|
%package devel-doc
|
||||||
Summary: Documentation for the libvisio API
|
Summary: Documentation for the libvisio API
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
|
%if 0%{?suse_version} > 1200
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description devel-doc
|
%description devel-doc
|
||||||
This package contains documentation for the libvisio API.
|
This package contains documentation for the libvisio API.
|
||||||
@ -87,7 +89,7 @@ This package contains tools to work with documents in MS Visio file-format.
|
|||||||
%patch1 -p1 -b .wpx_seek_end
|
%patch1 -p1 -b .wpx_seek_end
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
|
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||||
%configure \
|
%configure \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@ -95,9 +97,9 @@ export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
|
|||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
|
||||||
rm %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
|
cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user