rpms/hunspell-sr/devel .cvsignore, 1.2, 1.3 hunspell-sr.spec, 1.2, 1.3 sources, 1.2, 1.3

Caolan McNamara caolanm at fedoraproject.org
Tue May 5 15:02:18 UTC 2009


Author: caolanm

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

Modified Files:
	.cvsignore hunspell-sr.spec sources 
Log Message:
latest versions


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-sr/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	23 Jul 2008 17:37:44 -0000	1.2
+++ .cvsignore	5 May 2009 15:01:47 -0000	1.3
@@ -1 +1 @@
-MySpell-sr_YU-and-sh_YU.tar.gz
+dict-sr.oxt


Index: hunspell-sr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-sr/devel/hunspell-sr.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- hunspell-sr.spec	25 Feb 2009 05:31:39 -0000	1.2
+++ hunspell-sr.spec	5 May 2009 15:01:47 -0000	1.3
@@ -1,52 +1,87 @@
 Name: hunspell-sr
 Summary: Serbian hunspell dictionaries
-%define upstreamid 20080711
+%define upstreamid 20090213
 Version: 0.%{upstreamid}
-Release: 2%{?dist}
-Source: http://srpski.org/aspell/MySpell-sr_YU-and-sh_YU.tar.gz
+Release: 1%{?dist}
+Source: http://extensions.services.openoffice.org/files/1572/2/dict-sr.oxt
 Group: Applications/Text
-URL: http://srpski.org/aspell/
+URL: http://extensions.services.openoffice.org/project/dict-sr
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License: LGPLv2+
 BuildArch: noarch
-
 Requires: hunspell
+Provides: hunspell-bs = %{version}-%{release}
 
 %description
 Serbian hunspell dictionaries.
 
+%package -n hyphen-sr
+Requires: hyphen
+Summary: Serbian hyphenation rules
+Group: Applications/Text
+Provides: hyphen-bs = %{version}-%{release}
+
+%description -n hyphen-sr
+Serbian hyphenation rules.
+
 %prep
-%setup -q -n myspell-sr
+%setup -q -c
 
 %build
+cp -p README_sh.txt README_hyph.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p sr_YU.dic sr_YU.aff sh_YU.dic sh_YU.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p sr.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sr_YU.dic
+cp -p sr.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sr_YU.aff
+cp -p sh.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sh_YU.dic
+cp -p sh.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sh_YU.aff
+
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
+cp -p hyph_sr.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_sr_YU.dic
+cp -p hyph_sh.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_sh_YU.dic
 
-pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
 sr_YU_aliases="sr_ME sr_RS"
+sh_YU_aliases="sh_ME sh_RS bs_BA"
+
+pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
 for lang in $sr_YU_aliases; do
 	ln -s sr_YU.aff $lang.aff
 	ln -s sr_YU.dic $lang.dic
 done
-sh_YU_aliases="sh_ME sh_RS"
 for lang in $sh_YU_aliases; do
 	ln -s sh_YU.aff $lang.aff
 	ln -s sh_YU.dic $lang.dic
 done
 popd
 
+pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
+for lang in $sr_YU_aliases; do
+	ln -s hyph_sr_YU.dic "hyph_"$lang".dic"
+done
+for lang in $sh_YU_aliases; do
+	ln -s hyph_sh_YU.dic "hyph_"$lang".dic"
+done
+popd
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README COPYING
+%doc README_sh.txt README_sr.txt registration/license*.txt
 %{_datadir}/myspell/*
 
+%files -n hyphen-sr
+%doc README_hyph.txt
+%defattr(-,root,root,-)
+%{_datadir}/hyphen/*
+
 %changelog
+* Tue May 05 2009 Caolan McNamara <caolanm at redhat.com> - 0.20090213-1
+- latest version
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20080711-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-sr/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	23 Jul 2008 17:37:44 -0000	1.2
+++ sources	5 May 2009 15:01:47 -0000	1.3
@@ -1 +1 @@
-11faca5e15bb64b60ffa1910f6ced975  MySpell-sr_YU-and-sh_YU.tar.gz
+1e0fd29cc2c51c390da391fda806ac45  dict-sr.oxt




More information about the scm-commits mailing list