rpms/aspell-br/devel aspell-br-0.50-conf.patch, NONE, 1.1 aspell-br.spec, 1.9, 1.10

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Mar 27 14:08:07 UTC 2007


Author: varekova

Update of /cvs/dist/rpms/aspell-br/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10453

Modified Files:
	aspell-br.spec 
Added Files:
	aspell-br-0.50-conf.patch 
Log Message:
- use configure script to generate makefile


aspell-br-0.50-conf.patch:
 configure |    1 +
 1 files changed, 1 insertion(+)

--- NEW FILE aspell-br-0.50-conf.patch ---
--- aspell-br-0.50-2/configure.conf	2002-08-26 06:55:53.000000000 +0200
+++ aspell-br-0.50-2/configure	2007-03-27 16:06:50.000000000 +0200
@@ -41,6 +41,7 @@
       fi	
       # Taken from autoconf 2.50
       envvar=`expr "x$option" : 'x\([^=]*\)='`
+      optarg=`expr "x$option" : 'x[^=]*=\(.*\)'`
       # Reject names that are not valid shell variable names.
       expr "x$envvar" : ".*[^_$cr_alnum]" >/dev/null &&
         { echo "$as_me: error: invalid variable name: $envvar" >&2


Index: aspell-br.spec
===================================================================
RCS file: /cvs/dist/rpms/aspell-br/devel/aspell-br.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- aspell-br.spec	23 Feb 2007 11:17:52 -0000	1.9
+++ aspell-br.spec	27 Mar 2007 14:08:04 -0000	1.10
@@ -4,11 +4,12 @@
 Name: aspell-%{lang}
 Epoch: 50
 Version: 0.50
-Release: 5%{?dist}
+Release: 7%{?dist}
 License: GPL
 Group: Applications/Text
 URL: http://aspell.net/
 Source: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2
+Patch0: aspell-br-0.50-conf.patch
 Buildrequires: aspell >= 12:0.60
 Requires: aspell >= 12:0.60
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -20,17 +21,15 @@
 
 %prep
 %setup -q -n aspell-%{lang}-%{version}-%{langrelease}
+%patch0 -b .conf -p1
 
 %build
-echo "ASPELL = aspell" > Makefile
-echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile
-cat Makefile.pre >> Makefile
-make
+./configure DESTDIR="$RPM_BUILD_ROOT"
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DEST_DIR=$RPM_BUILD_ROOT \
-     dictdir=${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60 datadir=${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60
+make install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -41,6 +40,9 @@
 %{_libdir}/aspell-0.60/*
 
 %changelog
+* Tue Mar 27 2007 Ivana Varekova <varekova at redhat.com> - 50:0.50-6
+- use configure script to generate makefile
+
 * Thu Feb 22 2007 Ivana Varekova <varekova redhat com> - 50:0.50-5
 - spec file cleanup
 




More information about the fedora-cvs-commits mailing list