rpms/hunspell-bn/F-13 hunspell-bn.spec,1.5,1.6 sources,1.3,1.4

pnemade pnemade at fedoraproject.org
Tue Mar 9 10:44:10 UTC 2010


Author: pnemade

Update of /cvs/pkgs/rpms/hunspell-bn/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22179

Modified Files:
	hunspell-bn.spec sources 
Log Message:
* Tue Mar 09 2010 Parag <pnemade AT redhat.com> - 1:0.04-1
- Resolves:rh#571712 - Should use correct version what upstream provides by adding epoch




Index: hunspell-bn.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-bn/F-13/hunspell-bn.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- hunspell-bn.spec	25 Jul 2009 02:21:54 -0000	1.5
+++ hunspell-bn.spec	9 Mar 2010 10:44:10 -0000	1.6
@@ -1,13 +1,13 @@
-%define upstreamid 20080201
-%define upstreamver 0.02
+%define upstreamver 0.04
 
 Name: hunspell-bn
 Summary: Bengali hunspell dictionaries
-Version: %{upstreamid}
-Release: 3%{?dist}
-Source: http://www.ankur.org.bd/downloads/spell_check/hunspell/%{name}-BD-%{upstreamver}.tar.bz2
-Group: Applications/Text
-URL: http://ankur.org.bd/wiki/Documentation#OpenOffice.org
+Version: %{upstreamver}
+Release: 1%{?dist}
+Epoch: 1
+Group:          Applications/Text
+Source: http://sourceforge.net/projects/bengalinux/files/bengali-spellcheck/%{name}-%{version}.tar.bz2
+URL: http://ankur.org.bd/wiki
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License: GPLv2+
 BuildArch: noarch
@@ -18,10 +18,17 @@ Requires: hunspell
 Bengali hunspell dictionaries.
 
 %prep
-%setup -q -n %{name}-BD-%{upstreamver}
-chmod -x *
-iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8
-mv Copyright.utf8 Copyright
+%setup -q -n %{name}-%{upstreamver}
+chmod -x bn.aff  bn.dic  COPYING  Copyright README
+chmod -x doc/README
+
+# Convert to utf-8
+for file in Copyright doc/README; do
+    iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
+    touch -r $file $file.new && \
+    mv $file.new $file
+done
+
 
 %build
 
@@ -43,10 +50,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README COPYING Copyright
+%doc doc/README COPYING Copyright
 %{_datadir}/myspell/*
 
 %changelog
+* Tue Mar 09 2010 Parag <pnemade AT redhat.com> - 1:0.04-1
+- Resolves:rh#571712 - Should use correct version what upstream provides by adding epoch
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20080201-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-bn/F-13/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	8 Sep 2008 09:54:40 -0000	1.3
+++ sources	9 Mar 2010 10:44:10 -0000	1.4
@@ -1 +1 @@
-87e98f516e85501245b8cf2efc6dee24  hunspell-bn-BD-0.02.tar.bz2
+53c2ed1898424644e5e994313c5f0834  hunspell-bn-0.04.tar.bz2



More information about the scm-commits mailing list