---- hfst-3.0.2/configure.ac.orig 2011-04-12 12:00:31.000000000 +0200
-+++ hfst-3.0.2/configure.ac 2011-04-23 13:56:39.704511981 +0200
-@@ -39,7 +39,7 @@
- LIBHFST_MAJOR=3
- LIBHFST_MINOR=0
- LIBHFST_EXTENSION=2
--LIBHFST_VERSION=$LIBHFST_MAJOR.$LIBHFST_MINOR.LIBHFST_EXTENSION
-+LIBHFST_VERSION=$LIBHFST_MAJOR.$LIBHFST_MINOR.$LIBHFST_EXTENSION
- AC_SUBST(LIBHFST_MAJOR)
- AC_SUBST(LIBHFST_MINOR)
- AC_SUBST(LIBHFST_EXTENSION)
--- hfst-3.0.2/libhfst/hfst.pc.in.orig 2011-03-30 15:11:32.000000000 +0200
+++ hfst-3.0.2/libhfst/hfst.pc.in 2011-04-23 13:57:05.791179522 +0200
@@ -7,4 +7,4 @@
Summary: Helsinki Finite-State Transducer (library and application suite)
Summary(pl.UTF-8): Helsinki Finite-State Transducer (biblioteka i zestaw aplikacji)
Name: hfst
-Version: 3.0.2
+Version: 3.0.3
Release: 1
License: GPL v3
Group: Applications/Text
Source0: http://downloads.sourceforge.net/hfst/%{name}-%{version}.tar.gz
-# Source0-md5: ae502571684f706b372d669c36652892
+# Source0-md5: 0787391ad833ad08ba80a6a277239fa8
Patch0: %{name}-pc.patch
URL: http://www.ling.helsinki.fi/kieliteknologia/tutkimus/hfst/
BuildRequires: SFST-devel
%configure \
FOMACLI=/usr/bin/foma \
--disable-silent-rules \
- --enable-static
+ --enable-static \
+ %{!?with_foma:--without-foma}
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-# missing in make install
-[ ! -f $RPM_BUILD_ROOT%{_pkgconfigdir}/hfst.pc ] || exit 1
-install -D libhfst/hfst.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/hfst.pc
-
# obsoleted by pkgconfig
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libhfst.la
%attr(755,root,root) %{_bindir}/hfst-*
%attr(755,root,root) %{_bindir}/htwolcpre*
%attr(755,root,root) %{_libdir}/libhfst.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhfst.so.1
+%attr(755,root,root) %ghost %{_libdir}/libhfst.so.4
%{_mandir}/man1/hfst-*.1*
%files devel