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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
%define libname libvisio-0_0-0
|
||||
|
||||
Name: libvisio
|
||||
Version: 0.0.30
|
||||
Release: 0
|
||||
@ -70,6 +69,9 @@ This package contains the libvisio development files.
|
||||
%package devel-doc
|
||||
Summary: Documentation for the libvisio API
|
||||
Group: Documentation/HTML
|
||||
%if 0%{?suse_version} > 1200
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description devel-doc
|
||||
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
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
|
||||
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||
%configure \
|
||||
--disable-werror \
|
||||
--disable-static \
|
||||
@ -95,9 +97,9 @@ export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user