[libexttextcat] initial import

David Tardon dtardon at fedoraproject.org
Thu Jan 26 05:10:27 UTC 2012


commit f1b23ea5529c580a3e6b47a12d7aa213538872ee
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Jan 26 06:10:16 2012 +0100

    initial import

 .gitignore         |    1 +
 libexttextcat.spec |   91 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2bf58f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libexttextcat-3.2.0.tar.xz
diff --git a/libexttextcat.spec b/libexttextcat.spec
new file mode 100644
index 0000000..c7a7b3c
--- /dev/null
+++ b/libexttextcat.spec
@@ -0,0 +1,91 @@
+Name: libexttextcat
+Version: 3.2.0
+Release: 1%{?dist}
+Summary: Text categorization library
+
+Group: System Environment/Libraries
+License: BSD
+URL: http://www.freedesktop.org/wiki/Software/libexttextcat
+Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+Obsoletes: libtextcat < 3.2.0
+Provides: libtextcat = %{version}
+
+%description
+%{name} is an N-Gram-Based Text Categorization library primarily
+intended for language guessing.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: pkgconfig
+Obsoletes: libtextcat-devel < 3.2.0
+Provides: libtextcat-devel = %{version}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package tools
+Summary: Tool for creating custom document fingerprints
+Group: Applications/Publishing
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description tools
+The %{name}-tools package contains the createfp program that allows
+you to easily create your own document fingerprints.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static --disable-werror
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}/%{_libdir}/*.la
+
+
+%check
+make check
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README*
+%{_libdir}/%{name}.so.*
+%{_datadir}/%{name}
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+
+%files tools
+%defattr(-,root,root,-)
+%{_bindir}/createfp
+
+
+%changelog
+* Tue Jan 24 2012 David Tardon <dtardon at redhat.com> 3.2.0-1
+- initial import
diff --git a/sources b/sources
index e69de29..88ec873 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+941ec532832ffea01e121373a2733a96  libexttextcat-3.2.0.tar.xz


More information about the scm-commits mailing list