rpms/aspell-fr/devel aspell-fr.spec,1.15,1.16

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Mar 29 09:41:43 UTC 2007


Author: varekova

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

Modified Files:
	aspell-fr.spec 
Log Message:

- use configure script to create Makefile
- update default buildroot
- some minor spec changes



Index: aspell-fr.spec
===================================================================
RCS file: /cvs/dist/rpms/aspell-fr/devel/aspell-fr.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- aspell-fr.spec	12 Jul 2006 05:18:40 -0000	1.15
+++ aspell-fr.spec	29 Mar 2007 09:41:40 -0000	1.16
@@ -1,17 +1,17 @@
 %define lang fr
 %define langrelease 3
-Summary: French dictionaries for Aspell.
+Summary: French dictionaries for Aspell
 Name: aspell-%{lang}
 Epoch: 50
 Version: 0.50
-Release: 9.2.2
+Release: 10%{?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
 Buildrequires: aspell >= 12:0.60
 Requires: aspell >= 12:0.60
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %define debug_package %{nil}
 
@@ -19,31 +19,30 @@
 Provides the word list/dictionaries for the following: French, Swiss French
 
 %prep
-rm -rf $RPM_BUILD_ROOT
 %setup -q -n aspell-%{lang}-%{version}-%{langrelease}
 
 %build
-echo "ASPELL = aspell" > Makefile
-echo "DEST_DIR = $RPM_BUILD_ROOT" >> Makefile
-echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile
-echo "dictdir = ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60" >> Makefile
-echo "datadir = ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60" >> Makefile
-cat Makefile.pre >> Makefile
+./configure
 make
 
 %install
-make install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 
 %{_libdir}/aspell-0.60/*
-#%{_datadir}/aspell/*
 
 %changelog
+* Thu Mar 29 2007 Ivana Varekova <varekova at redhat.com> - 50:0.50-10
+- use configure script to create Makefile
+- update default buildroot
+- some minor spec changes
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 50:0.50-9.2.2
 - rebuild
 




More information about the fedora-cvs-commits mailing list