rpms/aspell-ga/devel aspell-ga.spec,1.8,1.9

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


Author: varekova

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

Modified Files:
	aspell-ga.spec 
Log Message:
- use configure script to create Makefile
- update default buildroot
- some minor spec changes



Index: aspell-ga.spec
===================================================================
RCS file: /cvs/dist/rpms/aspell-ga/devel/aspell-ga.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- aspell-ga.spec	12 Jul 2006 05:18:54 -0000	1.8
+++ aspell-ga.spec	29 Mar 2007 09:46:44 -0000	1.9
@@ -1,17 +1,17 @@
 %define lang ga
 %define langrelease 4
-Summary: Irish dictionaries for Aspell.
+Summary: Irish dictionaries for Aspell
 Name: aspell-%{lang}
 Epoch: 50
 Version: 0.50
-Release: 4.2.2
+Release: 5%{?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: Irish
 
 %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-5
+- 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-4.2.2
 - rebuild
 




More information about the fedora-cvs-commits mailing list