Accepting request 397870 from home:jengelh:branches:devel:libraries:c_c++
Submitting again; seems we lost track of what the pain point was. - Drop Requires: pkgconfig because this is already autodetected by rpm. Use mode inheritance for defattr. Edit rpm group and description a tiny bit. OBS-URL: https://build.opensuse.org/request/show/397870 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hunspell?expand=0&rev=51
This commit is contained in:
parent
c6d5c25a9e
commit
3c1a446805
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 17 23:53:49 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Drop Requires: pkgconfig because this is already autodetected
|
||||||
|
by rpm. Use mode inheritance for defattr. Edit rpm group and
|
||||||
|
description a tiny bit.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 11 07:37:23 UTC 2016 - mpluskal@suse.com
|
Wed May 11 07:37:23 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -23,14 +23,14 @@ Version: 1.4.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A spell checker and morphological analyzer library
|
Summary: A spell checker and morphological analyzer library
|
||||||
License: (GPL-2.0+ or LGPL-2.1+ or MPL-1.1+) and LGPL-2.1+
|
License: (GPL-2.0+ or LGPL-2.1+ or MPL-1.1+) and LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: Productivity/Office/Other
|
||||||
Url: https://hunspell.github.io
|
Url: https://hunspell.github.io
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libstdc++-devel
|
BuildRequires: libstdc++-devel
|
||||||
BuildRequires: ncurses-devel >= 5.0
|
BuildRequires: ncurses-devel >= 5.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkg-config
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
Recommends: %{name}-tools
|
Recommends: %{name}-tools
|
||||||
Recommends: unzip
|
Recommends: unzip
|
||||||
@ -44,7 +44,7 @@ terminal interface using Curses library, Ispell pipe interface,
|
|||||||
LibreOffice or OpenOffice.org UNO module.
|
LibreOffice or OpenOffice.org UNO module.
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Shared library for %{name}
|
Summary: A spell checker and morphological analyzer library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
# same libname, support migration
|
# same libname, support migration
|
||||||
Conflicts: hunspell = 1.4.0
|
Conflicts: hunspell = 1.4.0
|
||||||
@ -56,7 +56,7 @@ compounding or character encoding. Hunspell interfaces: Ispell-like
|
|||||||
terminal interface using Curses library, Ispell pipe interface,
|
terminal interface using Curses library, Ispell pipe interface,
|
||||||
LibreOffice or OpenOffice.org UNO module.
|
LibreOffice or OpenOffice.org UNO module.
|
||||||
|
|
||||||
This package contains shared library
|
This package contains the shared library.
|
||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
Summary: Hunspell tools
|
Summary: Hunspell tools
|
||||||
@ -64,14 +64,13 @@ Group: Development/Libraries/Other
|
|||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
This package contains munch and unmunch programs.
|
This package contains the munch and unmunch programs.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Files for developing with hunspell
|
Summary: Files for developing with hunspell
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libname} = %{version}-%{release}
|
Requires: %{libname} = %{version}-%{release}
|
||||||
Requires: libstdc++-devel
|
Requires: libstdc++-devel
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Includes and definitions for developing with hunspell.
|
Includes and definitions for developing with hunspell.
|
||||||
@ -103,7 +102,7 @@ make check %{?_smp_mflags}
|
|||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644,root,root,755)
|
%defattr(-,root,root)
|
||||||
%doc README README.myspell AUTHORS AUTHORS.myspell COPYING THANKS license.hunspell license.myspell
|
%doc README README.myspell AUTHORS AUTHORS.myspell COPYING THANKS license.hunspell license.myspell
|
||||||
%attr(755,root,root) %{_bindir}/hunspell
|
%attr(755,root,root) %{_bindir}/hunspell
|
||||||
%dir %{_mandir}/hu
|
%dir %{_mandir}/hu
|
||||||
@ -112,11 +111,11 @@ make check %{?_smp_mflags}
|
|||||||
%lang(hu) %{_mandir}/hu/man1/hunspell.1*
|
%lang(hu) %{_mandir}/hu/man1/hunspell.1*
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(755,root,root,755)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libhunspell-1.4.so.*
|
%{_libdir}/libhunspell-1.4.so.*
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(755,root,root,755)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/analyze
|
%{_bindir}/analyze
|
||||||
%{_bindir}/chmorph
|
%{_bindir}/chmorph
|
||||||
%{_bindir}/munch
|
%{_bindir}/munch
|
||||||
@ -128,12 +127,11 @@ make check %{?_smp_mflags}
|
|||||||
%{_bindir}/makealias
|
%{_bindir}/makealias
|
||||||
%{_bindir}/wordforms
|
%{_bindir}/wordforms
|
||||||
%{_bindir}/wordlist2hunspell
|
%{_bindir}/wordlist2hunspell
|
||||||
%defattr(644,root,root,755)
|
|
||||||
%{_mandir}/man1/hunzip.1%{ext_man}
|
%{_mandir}/man1/hunzip.1%{ext_man}
|
||||||
%{_mandir}/man1/hzip.1%{ext_man}
|
%{_mandir}/man1/hzip.1%{ext_man}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(644,root,root,755)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libhunspell-1.4.so
|
%{_libdir}/libhunspell-1.4.so
|
||||||
%{_libdir}/libhunspell.so
|
%{_libdir}/libhunspell.so
|
||||||
%{_mandir}/man3/hunspell.3%{ext_man}
|
%{_mandir}/man3/hunspell.3%{ext_man}
|
||||||
|
Loading…
Reference in New Issue
Block a user