tidy spec
This commit is contained in:
parent
f7a519fd66
commit
7195463dbc
@ -1,10 +1,12 @@
|
|||||||
Name: openoffice-lv
|
Name: openoffice-lv
|
||||||
Summary: Latvian linguistic dictionaries
|
Summary: Latvian linguistic dictionaries
|
||||||
Version: 0.8
|
Version: 0.8
|
||||||
Release: 0.1.b1%{?dist}
|
Release: 0.2.b1%{?dist}
|
||||||
Source: http://downloads.sourceforge.net/%{name}/lv_LV-0.8b1.zip
|
Source: http://downloads.sourceforge.net/%{name}/lv_LV-0.8b1.zip
|
||||||
|
# Source: http://dict.dv.lv/dl/lv_LV-0.8b1.zip ?
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://sourceforge.net/projects/openoffice-lv/
|
URL: http://sourceforge.net/projects/openoffice-lv/
|
||||||
|
# URL: http://dict.dv.lv/ ?
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -33,10 +35,17 @@ Latvian hunspell dictionaries.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
for i in README_lv_LV.txt README_hyph_lv_LV.txt changelog.txt; do
|
for i in README_lv_LV.txt README_hyph_lv_LV.txt changelog.txt; do
|
||||||
tr -d '\r' < $i > $i.new
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
||||||
iconv -f ISO-8859-4 -t UTF-8 $i.new > $i
|
iconv -f ISO-8859-4 -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
|
done
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||||
@ -58,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.8-0.2.b1
|
||||||
|
- tidy spec
|
||||||
|
|
||||||
* Mon May 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.8-0.1.b1
|
* Mon May 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.8-0.1.b1
|
||||||
- latest version
|
- latest version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user