latest version
This commit is contained in:
parent
9ce7bfd6ed
commit
84c9492ae8
@ -1 +1 @@
|
|||||||
OOo-hyph-bg-4.1.zip
|
OOo-hyph-bg-4.2.zip
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Name: hyphen-bg
|
Name: hyphen-bg
|
||||||
Summary: Bulgarian hyphenation rules
|
Summary: Bulgarian hyphenation rules
|
||||||
Version: 4.1
|
Version: 4.2
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Source: http://downloads.sourceforge.net/bgoffice/OOo-hyph-bg-%{version}.zip
|
Source: http://downloads.sourceforge.net/bgoffice/OOo-hyph-bg-%{version}.zip
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://bgoffice.sourceforge.net/
|
URL: http://bgoffice.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
License: GPL+
|
License: GPLv2+ or LGPLv3+ or MPLv1.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hyphen
|
Requires: hyphen
|
||||||
@ -18,7 +18,7 @@ Bulgarian hyphenation rules.
|
|||||||
%setup -q -n OOo-hyph-bg-%{version}
|
%setup -q -n OOo-hyph-bg-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for i in README COPYING; do
|
for i in ChangeLog Copyright GPL-2.0.txt LGPL-3.0.txt MPL-1.1.txt README.bulgarian; do
|
||||||
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
||||||
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
|
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
|
||||||
touch -r $i $i.new
|
touch -r $i $i.new
|
||||||
@ -28,6 +28,9 @@ for i in README COPYING; do
|
|||||||
touch -r $i $i.new
|
touch -r $i $i.new
|
||||||
mv -f $i.new $i
|
mv -f $i.new $i
|
||||||
done
|
done
|
||||||
|
echo "UTF-8" > hyph_bg_BG.dic.new
|
||||||
|
tail -n +2 hyph_bg_BG.dic | iconv -f WINDOWS-1251 -t UTF-8 | tr -d '\r' >> hyph_bg_BG.dic.new
|
||||||
|
mv hyph_bg_BG.dic.new hyph_bg_BG.dic
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -39,10 +42,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING COPYING.BULGARIAN README
|
%doc ChangeLog Copyright GPL-2.0.txt LGPL-3.0.txt MPL-1.1.txt README.bulgarian
|
||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 17 2010 Caolán McNamara <caolanm@redhat.com> - 4.2-1
|
||||||
|
- latest version
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-4
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user