rpms/hunspell-sv/devel .cvsignore, 1.11, 1.12 hunspell-sv.spec, 1.23, 1.24 sources, 1.19, 1.20

Caolan McNamara caolanm at fedoraproject.org
Tue Nov 17 11:53:26 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell-sv/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11329

Modified Files:
	.cvsignore hunspell-sv.spec sources 
Log Message:
use .zip


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-sv/devel/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- .cvsignore	3 Nov 2009 16:41:07 -0000	1.11
+++ .cvsignore	17 Nov 2009 11:53:25 -0000	1.12
@@ -1 +1 @@
-ooo_swedish_dict_1.40.oxt
+sv-1.40.zip


Index: hunspell-sv.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-sv/devel/hunspell-sv.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- hunspell-sv.spec	3 Nov 2009 16:41:07 -0000	1.23
+++ hunspell-sv.spec	17 Nov 2009 11:53:26 -0000	1.24
@@ -1,8 +1,8 @@
 Name: hunspell-sv
 Summary: Swedish hunspell dictionaries
 Version: 1.40
-Release: 1%{?dist}
-Source: http://extensions.services.openoffice.org/files/1080/5/ooo_swedish_dict_%{version}.oxt
+Release: 2%{?dist}
+Source: http://dsso.se/filer/sv-%{version}.zip
 Group: Applications/Text
 URL: http://dsso.se/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -18,22 +18,12 @@ Swedish hunspell dictionaries.
 %setup -q -c -n hunspell-sv
 
 %build
-for i in LICENSE_sv_SE.txt LICENSE_en_US.txt; do
-  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
-    iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
-    touch -r $i $i.new
-    mv -f $i.new $i
-  fi
-  tr -d '\r' < $i > $i.new
-  touch -r $i $i.new
-  mv -f $i.new $i
-done
-
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+
 pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
 sv_SE_aliases="sv_FI"
 for lang in $sv_SE_aliases; do
@@ -47,10 +37,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE_sv_SE.txt LICENSE_en_US.txt
+%doc README_sv_SE.txt
+
 %{_datadir}/myspell/*
 
 %changelog
+* Tue Nov 17 2009 Caolan McNamara <caolanm at redhat.com> - 1.40-2
+- prefer .zip
+
 * Tue Nov 03 2009 Caolan McNamara <caolanm at redhat.com> - 1.40-1
 - latest version
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-sv/devel/sources,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- sources	3 Nov 2009 16:41:07 -0000	1.19
+++ sources	17 Nov 2009 11:53:26 -0000	1.20
@@ -1 +1 @@
-913063a69b75dba8c3002dcd98e33432  ooo_swedish_dict_1.40.oxt
+f9e08b910960a7fd560b4a60905cd375  sv-1.40.zip




More information about the scm-commits mailing list