diff --git a/README.md b/README.md index 76ba08f..6a6eb56 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libexttextcat +Libexttextcat is an N-Gram-Based Text Categorization library primarily intended for language guessing. + diff --git a/libexttextcat.spec b/libexttextcat.spec new file mode 100644 index 0000000..54060bd --- /dev/null +++ b/libexttextcat.spec @@ -0,0 +1,82 @@ +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 +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 3.4.3-1mamba +- automatic version update by autodist + +* Tue Jun 04 2013 Automatic Build System 3.4.1-1mamba +- automatic version update by autodist + +* Fri Nov 16 2012 Automatic Build System 3.4.0-1mamba +- automatic version update by autodist + +* Tue Aug 21 2012 Automatic Build System 3.3.1-1mamba +- automatic version update by autodist + +* Mon Apr 02 2012 Silvan Calarco 3.2.0-1mamba +- package created by autospec