rpms/hunspell/devel hunspell.spec,1.6,1.7

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Feb 9 11:47:51 UTC 2007


Author: caolanm

Update of /cvs/dist/rpms/hunspell/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv28934

Modified Files:
	hunspell.spec 
Log Message:
fixup


Index: hunspell.spec
===================================================================
RCS file: /cvs/dist/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- hunspell.spec	19 Jan 2007 19:06:29 -0000	1.6
+++ hunspell.spec	9 Feb 2007 11:47:49 -0000	1.7
@@ -1,12 +1,13 @@
-Name: hunspell
-Summary: Hunspell is a spell checker and morphological analyzer library
-Version: 1.1.4
-Release: 5%{?dist}
-Source: %{name}-%{version}.tar.gz
-Group: System Environment/Libraries
-URL: http://hunspell.sourceforge.net/
-BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
-License: LGPL
+Name:      hunspell
+Summary:   Hunspell is a spell checker and morphological analyzer library
+Version:   1.1.4
+Release:   6%{?dist}
+Source:    http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Group:     System Environment/Libraries
+URL:       http://hunspell.sourceforge.net/
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+License:   LGPL
+
 BuildRequires: libtool
 Patch0: hunspell-1.1.4-sharedlibs.patch
 Patch1: hunspell-1.1.4-defaultdictfromlang.patch
@@ -19,7 +20,7 @@
 Curses library, Ispell pipe interface, OpenOffice.org UNO module.
 
 %package devel
-Requires: hunspell = %{PACKAGE_VERSION}, pkgconfig
+Requires: hunspell = %{version}-%{release}, pkgconfig
 Summary: Files for developing with hunspell
 Group: Development/Libraries
 
@@ -37,16 +38,16 @@
 aclocal -I m4
 autoconf
 automake
-%configure
+%configure --disable-static
 for i in man/*.? man/hu/*.?; do
     iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
     mv -f $i.new $i
 done
-make
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make DESTDIR=$RPM_BUILD_ROOT install
 %find_lang %{name}
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
@@ -61,7 +62,7 @@
 %postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
 %{_libdir}/*.so.*
 %{_datadir}/myspell
@@ -74,7 +75,7 @@
 %{_mandir}/*/man4/hunspell.4.gz
 
 %files devel
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_includedir}/%{name}
 %{_libdir}/*.so
 %{_bindir}/munch
@@ -82,6 +83,9 @@
 %{_libdir}/pkgconfig/hunspell.pc
 
 %changelog
+* Fri Feb 09 2007 Caolan McNamara <caolanm at redhat.com> - 1.1.4-6
+- some spec cleanups
+
 * Fri Jan 19 2007 Caolan McNamara <caolanm at redhat.com> - 1.1.4-5
 - .pc
 




More information about the fedora-cvs-commits mailing list