packages: libexttextcat/libexttextcat.spec (NEW)=?UTF-8?Q?=20?=- initial; half-raw

arekm arekm at pld-linux.org
Sat Feb 11 19:09:39 CET 2012


Author: arekm                        Date: Sat Feb 11 18:09:39 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial; half-raw

---- Files affected:
packages/libexttextcat:
   libexttextcat.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libexttextcat/libexttextcat.spec
diff -u /dev/null packages/libexttextcat/libexttextcat.spec:1.1
--- /dev/null	Sat Feb 11 19:09:39 2012
+++ packages/libexttextcat/libexttextcat.spec	Sat Feb 11 19:09:34 2012
@@ -0,0 +1,91 @@
+# $Revision$, $Date$
+%bcond_without	tests
+Summary:	Text categorization library
+Name:		libexttextcat
+Version:	3.2.0
+Release:	1
+License:	BSD
+Group:		Libraries
+URL:		http://www.freedesktop.org/wiki/Software/libexttextcat
+Source0:	http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz
+# Source0-md5:	941ec532832ffea01e121373a2733a96
+Provides:	libtextcat = %{version}
+Obsoletes:	libtextcat < 3.2.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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} = %{version}-%{release}
+Requires:	pkgconfig
+Provides:	libtextcat-devel = %{version}
+Obsoletes:	libtextcat-devel < 3.2.0
+
+%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} = %{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}
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README*
+%attr(755,root,root) %{_libdir}/%{name}.so.*
+%{_datadir}/%{name}
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}.so
+%{_pkgconfigdir}/%{name}.pc
+
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/createfp
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/02/11 18:09:34  arekm
+- initial; half-raw
+
================================================================


More information about the pld-cvs-commit mailing list