]> git.pld-linux.org Git - packages/hunspell.git/commitdiff
- keep also old style soname link; rel 2
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 15 Dec 2007 15:32:26 +0000 (15:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    hunspell.spec -> 1.8

hunspell.spec

index 656eedb9f35f97c94957f152f338fc062be2f425..a2360c66b0e473996caf02406d7b2dbd6b162410 100644 (file)
@@ -2,7 +2,7 @@ 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.1.12
-Release:       1
+Release:       2
 License:       MPL v1.1 or GPL v2+ or LGPL v2.1+
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/hunspell/%{name}-%{version}-2.tar.gz
@@ -12,6 +12,7 @@ BuildRequires:        autoconf >= 2.59
 BuildRequires: automake
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
+Provides:      libhunspell.so.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -83,6 +84,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+ln -s $(basename $RPM_BUILD_ROOT%{_libdir}/libhunspell-1.1.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libhunspell.so.0
 %find_lang %{name}
 
 rm -f $RPM_BUILD_ROOT%{_bindir}/example
@@ -98,6 +100,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc README README.myspell AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
 %attr(755,root,root) %{_bindir}/hunspell
 %attr(755,root,root) %{_libdir}/libhunspell-1.1.so.*.*.*
+%{_libdir}/libhunspell.so.0
 %{_mandir}/man1/hunspell.1*
 %{_mandir}/man4/hunspell.4*
 %lang(hu) %{_mandir}/hu/man1/hunspell.1*
This page took 0.094888 seconds and 4 git commands to generate.