- Cleanup with spec-cleaner.
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libixion?expand=0&rev=7
This commit is contained in:
parent
f11bec785a
commit
575f953791
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libixion
|
||||
#
|
||||
# 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 libixion-0_6-0
|
||||
|
||||
Name: libixion
|
||||
Version: 0.5.0
|
||||
Release: 0
|
||||
@ -26,13 +25,13 @@ License: MIT
|
||||
Group: Productivity/Publishing/Word
|
||||
Url: http://gitorious.org/ixion
|
||||
Source: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: mdds-devel >= 0.7.1
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: boost-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -50,7 +49,7 @@ multiple named targets, or "cells".
|
||||
%package devel
|
||||
Summary: Threaded multi-target formula parser & interpreter
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %libname = %version
|
||||
Requires: %{libname} = %{version}
|
||||
|
||||
%description devel
|
||||
Ixion is a general purpose formula parser & interpreter that can calculate
|
||||
@ -59,7 +58,7 @@ multiple named targets, or "cells".
|
||||
%package tools
|
||||
Summary: Spreadsheet file processing library
|
||||
Group: Productivity/Publishing/Word
|
||||
Requires: %libname = %version
|
||||
Requires: %{libname} = %{version}
|
||||
|
||||
%description tools
|
||||
Tools to use ixion parser and interpreter from cli.
|
||||
@ -70,17 +69,18 @@ Tools to use ixion parser and interpreter from cli.
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--docdir=%_docdir/%name
|
||||
make %{?_smp_mflags}
|
||||
--docdir=%{_docdir}/%{name}
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%check
|
||||
make check
|
||||
make check %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libname}
|
||||
|
Loading…
Reference in New Issue
Block a user