Author: qboosh Date: Sun Apr 3 19:25:31 2011 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/apertium-dict-eo-fr: apertium-dict-eo-fr-DESTDIR.patch (NONE -> 1.1) (NEW), apertium-dict-eo-fr.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/apertium-dict-eo-fr/apertium-dict-eo-fr-DESTDIR.patch diff -u /dev/null packages/apertium-dict-eo-fr/apertium-dict-eo-fr-DESTDIR.patch:1.1 --- /dev/null Sun Apr 3 21:25:31 2011 +++ packages/apertium-dict-eo-fr/apertium-dict-eo-fr-DESTDIR.patch Sun Apr 3 21:25:26 2011 @@ -0,0 +1,15 @@ +--- apertium-eo-fr-0.9.0/Makefile.am.orig 2011-02-09 16:08:38.000000000 +0100 ++++ apertium-eo-fr-0.9.0/Makefile.am 2011-04-03 21:12:56.415406237 +0200 +@@ -90,9 +90,9 @@ + + install-data-local: + apertium-gen-modes modes.xml apertium-$(PREFIX1) +- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_eo_camodesdir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux1_t2x $(BASENAME).$(PREFIX1).antaux2_t2x $(BASENAME).$(PREFIX1).antaux3_t2x $(BASENAME).$(PREFIX1).antaux4_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).post_t2x $(apertium_eo_cadir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(apertium_eo_cadir) ++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_eo_camodesdir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).antaux1_t2x $(BASENAME).$(PREFIX1).antaux2_t2x $(BASENAME).$(PREFIX1).antaux3_t2x $(BASENAME).$(PREFIX1).antaux4_t2x $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX1).post_t2x $(DESTDIR)$(apertium_eo_cadir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(DESTDIR)$(apertium_eo_cadir) + + + # $(INSTALL_DATA) $(PREFIX2)-pn.mode $(apertium_es_modesdir) ================================================================ Index: packages/apertium-dict-eo-fr/apertium-dict-eo-fr.spec diff -u /dev/null packages/apertium-dict-eo-fr/apertium-dict-eo-fr.spec:1.1 --- /dev/null Sun Apr 3 21:25:31 2011 +++ packages/apertium-dict-eo-fr/apertium-dict-eo-fr.spec Sun Apr 3 21:25:26 2011 @@ -0,0 +1,72 @@ +# $Revision$, $Date$ +Summary: Esperanto-French language pair for Apertium +Summary(pl.UTF-8): Para języków esperanto-francuski dla Apertium +%define lpair eo-fr +Name: apertium-dict-%{lpair} +Version: 0.9.0 +Release: 1 +License: GPL v2+ +Group: Applications/Text +Source0: http://downloads.sourceforge.net/apertium/apertium-%{lpair}-%{version}.tar.gz +# Source0-md5: c3c4efa6e8faa990ae213a1707a1bd63 +Patch0: %{name}-DESTDIR.patch +URL: http://www.apertium.org/ +BuildRequires: apertium-devel >= 3.2.0 +BuildRequires: autoconf >= 2.52 +BuildRequires: automake +BuildRequires: libxslt-progs +BuildRequires: lttoolbox >= 3.2.0 +BuildRequires: pkgconfig +Requires: apertium >= 3.2.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is an Apertium language pair, which can be used for translating +between Esperanto and French, morphological analysis or part-of-speech +tagging of both languages. + +%description -l pl.UTF-8 +Ten pakiet zawiera parę języków dla Apertium służącą do tłumaczenia +między esperanto a francuskim, a także analizy morfologicznej lub +oznaczania części mowy w obu językach. + +%prep +%setup -q -n apertium-%{lpair}-%{version} +%patch0 -p1 + +%build +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/apertium/modes + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +# not needed here (see modes subdir) and contain wrong (builddir) paths +%{__rm} $RPM_BUILD_ROOT%{_datadir}/apertium/apertium-fr-eo/*.mode + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README +%{_datadir}/apertium/apertium-fr-eo +%{_datadir}/apertium/modes/fr-eo.mode + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <feedb...@pld-linux.org> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/04/03 19:25:26 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit