rpms/hunspell/devel .cvsignore, 1.13, 1.14 hunspell.spec, 1.34, 1.35 sources, 1.13, 1.14

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Wed Mar 5 09:47:57 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21333

Modified Files:
	.cvsignore hunspell.spec sources 
Log Message:
add ispellaff2myspell to devel package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/.cvsignore,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- .cvsignore	5 Nov 2007 14:36:04 -0000	1.13
+++ .cvsignore	5 Mar 2008 09:47:16 -0000	1.14
@@ -1 +1,2 @@
 hunspell-1.2.1.tar.gz
+ispellaff2myspell


Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- hunspell.spec	18 Feb 2008 22:18:41 -0000	1.34
+++ hunspell.spec	5 Mar 2008 09:47:16 -0000	1.35
@@ -1,8 +1,9 @@
 Name:      hunspell
 Summary:   Hunspell is a spell checker and morphological analyzer library
 Version:   1.2.1
-Release:   5%{?dist}
-Source:    http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
+Release:   6%{?dist}
+Source0:   http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
+Source1:   http://people.debian.org/~agmartin/misc/ispellaff2myspell
 Group:     System Environment/Libraries
 URL:       http://hunspell.sourceforge.net/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -30,6 +31,15 @@
 %setup -q
 %patch1 -p1 -b .pkgconfig.patch
 %patch2 -p1 -b .1863239.badstructs.patch
+# Filter unwanted Requires for the use explicitely string in ispellaff2myspell
+cat << \EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} $* |\
+  sed -e '/perl(explicitely)/d'
+EOF
+
+%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
+chmod +x %{__perl_requires}
 
 %build
 libtoolize --automake --force
@@ -52,6 +62,7 @@
 rm -f $RPM_BUILD_ROOT/%{_bindir}/example
 mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
 mv $RPM_BUILD_ROOT/%{_includedir}/*munch* $RPM_BUILD_ROOT/%{_includedir}/%{name}
+install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/ispellaff2myspell
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -79,9 +90,13 @@
 %{_bindir}/unmunch
 %{_bindir}/analyze
 %{_bindir}/chmorph
+%{_bindir}/ispellaff2myspell
 %{_libdir}/pkgconfig/hunspell.pc
 
 %changelog
+* Wed Mar 05 2008 Caolan McNamara <caolanm at redhat.com> - 1.2.1-6
+- add ispellaff2myspell to devel
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.2.1-5
 - Autorebuild for GCC 4.3
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sources	5 Nov 2007 14:36:04 -0000	1.13
+++ sources	5 Mar 2008 09:47:16 -0000	1.14
@@ -1 +1,2 @@
 c504f9c2065f697e586593992dd74dae  hunspell-1.2.1.tar.gz
+1c5ea5ecd2481ddc116d65ea294acae3  ispellaff2myspell




More information about the fedora-extras-commits mailing list