SHA256
1
0
forked from pool/libvoikko

Accepting request 93397 from devel:libraries:c_c++

- Remove redundant/unwanted tags/section (cf. specfile guidelines)
- Use %_smp_mflags for parallel building

- add libtool as buildrequire to avoid implicit dependency

OBS-URL: https://build.opensuse.org/request/show/93397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvoikko?expand=0&rev=16
This commit is contained in:
Stephan Kulow
2011-11-28 11:54:23 +00:00
committed by Git OBS Bridge
2 changed files with 15 additions and 32 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Nov 23 22:00:52 UTC 2011 - jengelh@medozas.de
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
- Use %_smp_mflags for parallel building
-------------------------------------------------------------------
Wed Nov 23 21:11:20 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Tue Feb 22 15:23:59 CET 2011 - vuntz@opensuse.org

View File

@@ -15,13 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libvoikko
Version: 2.1
Release: 11
Url: http://voikko.sourceforge.net/
Release: 1
URL: http://voikko.sourceforge.net/
License: GPLv2+
Summary: Spellchecker and Hyphenator for Finnish Language
Group: Productivity/Text/Spell
@@ -29,7 +28,7 @@ Source: libvoikko-%{version}.tar.bz2
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM libvoikko-2.1-ac-macro-dir.diff sf#2810258 pmladek@suse.cz -- can't run autoreconf because the m4 direcotry is neither in the source tarball nor in svn
Patch: libvoikko-2.1-ac-macro-dir.diff
BuildRequires: gcc-c++ glib2-devel libmalaga-devel python python-xml
BuildRequires: gcc-c++ glib2-devel libmalaga-devel libtool python python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libvoikko1 = %{version}-%{release}
@@ -37,14 +36,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
Suomi-Malaga.
Authors:
--------
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
%package -n libvoikko1
License: GPLv2+
Group: System/Libraries
Summary: Spellchecker and Hyphenator for Finnish Language
Requires: malaga-suomi
@@ -53,14 +45,7 @@ Requires: malaga-suomi
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
Suomi-Malaga.
Authors:
--------
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
%package devel
License: GPLv2+
Group: Development/Libraries/C and C++
Summary: Spellchecker and Hyphenator for Finnish Language
Requires: libvoikko1 = %{version} glibc-devel
@@ -69,14 +54,7 @@ Requires: libvoikko1 = %{version} glibc-devel
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
Suomi-Malaga.
Authors:
--------
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
%package -n voikkospell
License: GPLv2+
Group: Productivity/Text/Spell
Summary: Spellchecker and Hyphenator for Finnish Language
Requires: libvoikko1 = %{version}
@@ -85,12 +63,6 @@ Requires: libvoikko1 = %{version}
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
Suomi-Malaga.
Authors:
--------
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
%prep
%setup -q
%patch
@@ -100,7 +72,7 @@ autoreconf -f -i
%configure --with-pic\
--disable-static\
--with-dictionary-path=%{_datadir}/malaga
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%makeinstall