SPECS: hunspell.spec - keep also old style soname link for openoff...
glen
glen at pld-linux.org
Thu Apr 10 18:21:19 CEST 2008
Author: glen Date: Thu Apr 10 16:21:19 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- keep also old style soname link for openoffice; rel 2
---- Files affected:
SPECS:
hunspell.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: SPECS/hunspell.spec
diff -u SPECS/hunspell.spec:1.15 SPECS/hunspell.spec:1.16
--- SPECS/hunspell.spec:1.15 Sun Mar 9 19:00:57 2008
+++ SPECS/hunspell.spec Thu Apr 10 18:21:13 2008
@@ -1,9 +1,10 @@
# $Revision$, $Date$
+%define rel 2
Summary: Hunspell - a spell checker and morphological analyzer library
Summary(pl.UTF-8): hunspell - biblioteka do sprawdzania pisowni i analizy morfologicznej
Name: hunspell
Version: 1.2.2
-Release: 0.b.1
+Release: 0.b.%{rel}
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
Source0: http://dl.sourceforge.net/hunspell/%{name}-%{version}b.tar.gz
@@ -17,6 +18,11 @@
BuildRequires: libtool >= 2:1.5
BuildRequires: ncurses-devel >= 5.0
BuildRequires: readline-devel
+%ifarch %{x8664} ia64 ppc64 s390x sparc64
+Provides: libhunspell.so.1()(64bit)
+%else
+Provides: libhunspell.so.1
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -83,7 +89,7 @@
%{__aclocal} -I m4
%{__autoconf}
%{__automake}
-CPPFLAGS="-I/usr/include/ncurses"
+CPPFLAGS="-I/usr/include/ncurses"
%configure \
--with-ui \
--with-readline
@@ -96,6 +102,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+ln -s $(basename $RPM_BUILD_ROOT%{_libdir}/libhunspell-1.2.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libhunspell.so.1
%find_lang %{name}
rm -f $RPM_BUILD_ROOT%{_bindir}/example
@@ -114,6 +121,7 @@
%attr(755,root,root) %{_bindir}/hzip
%attr(755,root,root) %{_libdir}/libhunspell-*.*.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libhunspell-*.*.so.0
+%attr(755,root,root) %{_libdir}/libhunspell.so.1
%{_mandir}/man1/hunspell.1*
%{_mandir}/man4/hunspell.4*
%lang(hu) %{_mandir}/hu/man1/hunspell.1*
@@ -146,6 +154,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16 2008-04-10 16:21:13 glen
+- keep also old style soname link for openoffice; rel 2
+
Revision 1.15 2008-03-09 18:00:57 qboosh
- added lt patch
- gettextize to refresh gettext m4 macros to not interfering with libtool
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/hunspell.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list