update to 3.5 [release 3.5-1mamba;Mon Sep 03 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 06:05:04 +01:00
parent 455134858d
commit e6aa30d69b
2 changed files with 112 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libvoikko # libvoikko
This is libvoikko, library for spellcheckers and hyphenators using Malaga natural language grammar development tool. The library is written in C.

110
libvoikko.spec Normal file
View File

@ -0,0 +1,110 @@
Name: libvoikko
Version: 3.5
Release: 1mamba
Summary: a library for spellcheckers and hyphenators
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://voikko.sourceforge.net/
Source: http://download.sourceforge.net/sourceforge/voikko/libvoikko-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libmalaga-devel
BuildRequires: suomi-malaga-vokkio
## AUTOBUILDREQ-END
BuildRequires: suomi-malaga-vokkio >= 1.12
Requires: suomi-malaga-vokkio >= 1.12
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This is libvoikko, library for spellcheckers and hyphenators using Malaga natural language grammar development tool. The library is written in C.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This is libvoikko, library for spellcheckers and hyphenators using Malaga natural language grammar development tool. The library is written in C.
This package contains libraries and header files need for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
This is libvoikko, library for spellcheckers and hyphenators using Malaga natural language grammar development tool. The library is written in C.
This package contains static libraries need for development.
%package tools
Group: Applications/Text
Summary: Test tools for %{name}
Requires: %{name} = %{version}-%{release}
%description tools
This is libvoikko, library for spellcheckers and hyphenators using Malaga natural language grammar development tool. The library is written in C.
This package contains tools for testing libvoikko.
%prep
%setup -q
%build
# The files path must be the same where malaga-suomi-voikko is installed
%configure --with-dictionary-path=%{_libdir}/voikko
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/voikkovfstc
%dir %{_includedir}/libvoikko
%{_includedir}/libvoikko/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog README
%files static
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%files tools
%defattr(-,root,root)
%{_bindir}/voikkospell
%{_bindir}/voikkohyphenate
%{_bindir}/voikkogc
%{_mandir}/man1/voikko*.1.gz
%changelog
* Mon Sep 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5-1mamba
- update to 3.5
* Fri Apr 01 2011 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
- automatic update by autodist
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
- automatic update by autodist
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic update by autodist
* Mon Feb 02 2009 gil <puntogil@libero.it> 2.0-1mamba
- package created by autospec