packages: foma/foma.spec (NEW) - new

qboosh qboosh at
Fri Apr 22 18:54:56 CEST 2011

Author: qboosh                       Date: Fri Apr 22 16:54:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
   foma.spec (NONE -> 1.1)  (NEW)

---- Diffs:

Index: packages/foma/foma.spec
diff -u /dev/null packages/foma/foma.spec:1.1
--- /dev/null	Fri Apr 22 18:54:56 2011
+++ packages/foma/foma.spec	Fri Apr 22 18:54:50 2011
@@ -0,0 +1,109 @@
+# $Revision$, $Date$
+Summary:	Multi-purpose finite-state toolkit
+Summary(pl.UTF-8):	Toolkit do tworzenia automatów skończonych różnego zastosowania
+Name:		foma
+# "alpha" version suffix is project state, not particular version state
+# - so there is no need to use %subver
+Version:	0.9.14alpha
+Release:	1
+License:	GPL v2
+Group:		Development/Tools
+# Source0-md5:	07169961fc48b728917f6e0af8f19787
+BuildRequires:	readline-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Foma is a multi-purpose finite-state toolkit designed for applications
+ranging from natural language processing and research in automata
+theory. It should be upwardly compatible with Xerox xfst and lexc,
+with the exception of binary file reading and writing.
+%description -l pl.UTF-8
+Foma to toolkit do tworzenia automatów skończonych o różnych
+zastosowaniu, począwszy od aplikacji przetwarzających języki naturalne
+do badań w dziedzinie teorii automatów. Powinien być kompatybilny w
+górę z narzędziami Xeroksa xfst i lexc, z wyjątkiem odczytu i zapisu
+plików binarnych.
+%package devel
+Summary:	Header files for Foma library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki Foma
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+%description devel
+Header files for Foma library.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Foma.
+%package static
+Summary:	Static Foma library
+Summary(pl.UTF-8):	Statyczna biblioteka Foma
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static Foma library.
+%description static -l pl.UTF-8
+Statyczna biblioteka Foma.
+%setup -q -n %{name}
+%{__make} libfoma \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC" \
+	LDFLAGS="%{rpmldflags} -lreadline -lz"
+# workaround to avoid rebuilding library on install
+touch libfoma
+%{__make} foma \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -D_GNU_SOURCE -std=c99 -fvisibility=hidden" \
+	LDFLAGS="%{rpmldflags} -lreadline -lz"
+install -d $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+	prefix=$RPM_BUILD_ROOT%{_prefix} \
+	libdir=$RPM_BUILD_ROOT%{_libdir}
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%attr(755,root,root) %{_bindir}/foma
+%attr(755,root,root) %{_libdir}/*.*.*
+%attr(755,root,root) %ghost %{_libdir}/
+%files devel
+%attr(755,root,root) %{_libdir}/
+%files static
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+* %{date} PLD Team <feedback at>
+All persons listed below can be reached at <cvs_login>
+Revision 1.1  2011/04/22 16:54:50  qboosh
+- new

More information about the pld-cvs-commit mailing list