83 lines
2.3 KiB
RPMSpec
83 lines
2.3 KiB
RPMSpec
|
Name: libexttextcat
|
||
|
Version: 3.4.3
|
||
|
Release: 1mamba
|
||
|
Summary: An N-Gram-Based Text Categorization library primarily intended for language guessing
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.freedesktop.org/wiki/Software/libexttextcat
|
||
|
Source: http://dev-www.libreoffice.org/src/libexttextcat/libexttextcat-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: pkg-config
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%description
|
||
|
Libexttextcat is an N-Gram-Based Text Categorization library primarily intended for language guessing.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%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}/libexttextcat-2.0.so.*
|
||
|
%dir %{_datadir}/libexttextcat
|
||
|
%{_datadir}/libexttextcat/fpdb.conf
|
||
|
%{_datadir}/libexttextcat/*.lm
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/createfp
|
||
|
%dir %{_includedir}/libexttextcat
|
||
|
%{_includedir}/libexttextcat/*.h
|
||
|
%{_libdir}/libexttextcat-2.0.a
|
||
|
%{_libdir}/libexttextcat-2.0.la
|
||
|
%{_libdir}/libexttextcat-2.0.so
|
||
|
%{_libdir}/pkgconfig/libexttextcat.pc
|
||
|
%{_datadir}/vala/vapi/libexttextcat.vapi
|
||
|
%doc ChangeLog README README.libtextcat TODO
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jul 09 2013 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Jun 04 2013 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Nov 16 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Aug 21 2012 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Apr 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-1mamba
|
||
|
- package created by autospec
|