]> git.pld-linux.org Git - packages/hunspell.git/commitdiff
- separated -libs (new library name, so no Conflicts needed) auto/th/hunspell-1.4.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 16 May 2016 16:49:01 +0000 (18:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 16 May 2016 16:49:01 +0000 (18:49 +0200)
hunspell.spec

index 891b495c8c9aadf82893e66bfd1a2e2327757bed..8ddaba9f58ad0ccb4b945f213d54e5bdf508a607 100644 (file)
@@ -1,11 +1,11 @@
-Summary:       Hunspell - a spell checker and morphological analyzer library
+Summary:       Hunspell - a spell checker and morphological analyzer
 Summary(hu.UTF-8):     Hunspell egy helyesírás-ellenőrző és morfológiai elemző könyvtár és program
-Summary(pl.UTF-8):     hunspell - biblioteka do sprawdzania pisowni i analizy morfologicznej
+Summary(pl.UTF-8):     hunspell - narzędzie do sprawdzania pisowni i analizy morfologicznej
 Name:          hunspell
 Version:       1.4.1
 Release:       1
 License:       MPL v1.1 or GPL v2+ or LGPL v2.1+
-Group:         Libraries
+Group:         Applications/Text
 #Source0Download: https://github.com/hunspell/hunspell/releases
 Source0:       https://github.com/hunspell/hunspell/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: 33d370f7fe5a030985e445a5672b2067
@@ -18,6 +18,7 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libtool >= 2:1.5
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: readline-devel
+Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,6 +28,8 @@ compounding or character encoding. Hunspell interfaces: Ispell-like
 terminal interface using Curses library, Ispell pipe interface,
 OpenOffice.org UNO module.
 
+This package contains base programs (hunspell, hzip, hunzip).
+
 %description -l hu.UTF-8
 Hunspell is a spell checker and morphological analyzer library and
 program designed for languages with rich morphology and complex word
@@ -42,10 +45,12 @@ hunspella to: interfejs terminalowy w stylu Ispella korzystający z
 biblioteki Curses, interfejs potokowy Ispella, moduł UNO
 OpenOffice.org.
 
+Ten pakiet zawiera podstawowe programy (hunspell, hzip, hunzip).
+
 %package tools
 Summary:       hunspell tools
 Summary(pl.UTF-8):     Narzędzia hunspella
-Group:         Development/Libraries
+Group:         Development/Tools
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     myspell-tools
 
@@ -56,11 +61,35 @@ This package contains hunspell utilities, including munch and unmunch.
 Ten pakiet zawiera narzędzia dla hunspella, w tym programy munch i
 unmunch.
 
+%package libs
+Summary:       Hunspell spell checker and morphological analyzer library
+Summary(pl.UTF-8):     Biblioteka Hunspell do sprawdzania pisowni i analizy morfologicznej
+Group:         Libraries
+
+%description libs
+Hunspell is a spell checker and morphological analyzer library and
+program designed for languages with rich morphology and complex word
+compounding or character encoding. Hunspell interfaces: Ispell-like
+terminal interface using Curses library, Ispell pipe interface,
+OpenOffice.org UNO module.
+
+This package contains the shared library.
+
+%description libs -l pl.UTF-8
+hunspell to biblioteka oraz program do sprawdzania pisowni i analizy
+morfologicznej zaprojektowany dla języków z bogatą morfologią i
+zkomplikowanym składaniem słów lub kodowaniem znaków. Interfejsy
+hunspella to: interfejs terminalowy w stylu Ispella korzystający z
+biblioteki Curses, interfejs potokowy Ispella, moduł UNO
+OpenOffice.org.
+
+Ten pakiet zawiera bibliotekę współdzieloną.
+
 %package devel
 Summary:       Files for developing with hunspell
 Summary(pl.UTF-8):     Pliki do programowania z użyciem hunspella
 Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-libs = %{version}-%{release}
 Requires:      libstdc++-devel
 
 %description devel
@@ -103,8 +132,8 @@ Statyczna biblioteka hunspella.
 %{__automake}
 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
 %configure \
-       --with-ui \
-       --with-readline
+       --with-readline \
+       --with-ui
 
 %{__make}
 
@@ -122,17 +151,14 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS AUTHORS.myspell BUGS COPYING ChangeLog NEWS README README.myspell THANKS TODO license.hunspell license.myspell
 %attr(755,root,root) %{_bindir}/hunspell
 %attr(755,root,root) %{_bindir}/hunzip
 %attr(755,root,root) %{_bindir}/hzip
-%attr(755,root,root) %{_libdir}/libhunspell-1.4.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhunspell-1.4.so.0
 %{_mandir}/man1/hunzip.1*
 %{_mandir}/man1/hzip.1*
 %{_mandir}/man1/hunspell.1*
@@ -152,6 +178,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/wordforms
 %attr(755,root,root) %{_bindir}/wordlist2hunspell
 
+%files libs
+%defattr(644,root,root,755)
+%doc AUTHORS AUTHORS.myspell BUGS COPYING ChangeLog NEWS README README.myspell THANKS TODO license.hunspell license.myspell
+%attr(755,root,root) %{_libdir}/libhunspell-1.4.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libhunspell-1.4.so.0
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libhunspell-1.4.so
This page took 0.2294 seconds and 4 git commands to generate.