- Cleanup with spec-cleaner.

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libixion?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2014-01-25 21:15:56 +00:00 committed by Git OBS Bridge
parent f11bec785a
commit 575f953791

View File

@ -1,7 +1,7 @@
# #
# spec file for package libixion # 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 # 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 libixion-0_6-0 %define libname libixion-0_6-0
Name: libixion Name: libixion
Version: 0.5.0 Version: 0.5.0
Release: 0 Release: 0
@ -26,13 +25,13 @@ License: MIT
Group: Productivity/Publishing/Word Group: Productivity/Publishing/Word
Url: http://gitorious.org/ixion Url: http://gitorious.org/ixion
Source: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.bz2 Source: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.bz2
BuildRequires: boost-devel
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: mdds-devel >= 0.7.1 BuildRequires: mdds-devel >= 0.7.1
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: boost-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -50,7 +49,7 @@ multiple named targets, or "cells".
%package devel %package devel
Summary: Threaded multi-target formula parser & interpreter Summary: Threaded multi-target formula parser & interpreter
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %libname = %version Requires: %{libname} = %{version}
%description devel %description devel
Ixion is a general purpose formula parser & interpreter that can calculate Ixion is a general purpose formula parser & interpreter that can calculate
@ -59,7 +58,7 @@ multiple named targets, or "cells".
%package tools %package tools
Summary: Spreadsheet file processing library Summary: Spreadsheet file processing library
Group: Productivity/Publishing/Word Group: Productivity/Publishing/Word
Requires: %libname = %version Requires: %{libname} = %{version}
%description tools %description tools
Tools to use ixion parser and interpreter from cli. Tools to use ixion parser and interpreter from cli.
@ -70,17 +69,18 @@ Tools to use ixion parser and interpreter from cli.
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
--docdir=%_docdir/%name --docdir=%{_docdir}/%{name}
make %{?_smp_mflags} make %{?_smp_mflags} V=1
%check %check
make check make check %{?_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
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname} %files -n %{libname}