SPECS: hunspell.spec - added as-needed patch - fixed library packa...
qboosh
qboosh at pld-linux.org
Thu Jan 3 19:10:46 CET 2008
Author: qboosh Date: Thu Jan 3 18:10:46 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added as-needed patch
- fixed library packaging
- release 1
---- Files affected:
SPECS:
hunspell.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/hunspell.spec
diff -u SPECS/hunspell.spec:1.11 SPECS/hunspell.spec:1.12
--- SPECS/hunspell.spec:1.11 Mon Dec 31 14:51:29 2007
+++ SPECS/hunspell.spec Thu Jan 3 19:10:41 2008
@@ -3,21 +3,17 @@
Summary(pl.UTF-8): hunspell - biblioteka do sprawdzania pisowni i analizy morfologicznej
Name: hunspell
Version: 1.2.1
-Release: 0.1
+Release: 1
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
Source0: http://dl.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
# Source0-md5: c504f9c2065f697e586593992dd74dae
+Patch0: %{name}-as-needed.patch
URL: http://hunspell.sourceforge.net/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.5
-%ifarch %{x8664} ia64 ppc64 s390x sparc64
-Provides: libhunspell.so.0()(64bit)
-%else
-Provides: libhunspell.so.0
-%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -75,6 +71,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
@@ -90,10 +87,10 @@
%install
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
@@ -106,10 +103,10 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc README README.myspell AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
+%doc README README.myspell AUTHORS AUTHORS.myspell COPYING THANKS license.hunspell license.myspell
%attr(755,root,root) %{_bindir}/hunspell
-#%attr(755,root,root) %{_libdir}/libhunspell-1.1.so.*.*.*
-%attr(755,root,root) %{_libdir}/libhunspell.so.1.0.1
+%attr(755,root,root) %{_libdir}/libhunspell.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libhunspell.so.1
%{_mandir}/man1/hunspell.1*
%{_mandir}/man4/hunspell.4*
%lang(hu) %{_mandir}/hu/man1/hunspell.1*
@@ -124,7 +121,7 @@
%files devel
%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/libhunspell-1.1.so
+%attr(755,root,root) %{_libdir}/libhunspell.so
%{_libdir}/libhunspell.la
%{_libdir}/libparsers.a
%{_includedir}/%{name}
@@ -142,6 +139,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2008-01-03 18:10:41 qboosh
+- added as-needed patch
+- fixed library packaging
+- release 1
+
Revision 1.11 2007-12-31 13:51:29 agaran
- enabled ncurses ui with readline
- upgraded to 1.2.1 (possible soname change) rel := 0.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/hunspell.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list